Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] wlan0 config questions
Date: Mon, 12 Apr 2010 07:11:18
Message-Id: 20100412071122.GA12500@waltdnes.org
1 Here's /etc/conf.d/net on my Gentoo netbook system...
2
3 config_eth0="192.168.123.249 broadcast 192.168.123.255 netmask 255.255.255.248 mtu 1452"
4 routes_eth0=(
5 "default via 192.168.123.254 metric 2"
6 "192.168.123.248/29 via 192.168.123.254 metric 0"
7 )
8
9 The multiple routes allow eth0 to remain connected to my router and
10 talk to the other machine on the lan while running a dialup connection.
11 I want to try out my netbook wifi, and I find that it works too well!!!
12 Here's the output after starting up wlan0. The ESSID and MAC address
13 of my neighbours in the condo have been masked to protect the innocent...
14
15 aa1 init.d # /etc/init.d/net.wlan0 restart
16 * Stopping wlan0
17 * Bringing down wlan0
18 * Stopping dhcpcd on wlan0 ... [ ok ]
19 * Shutting down wlan0 ... [ ok ]
20 * Starting wlan0
21 * Configuring wireless network for wlan0
22 * WEP key is not set for "KGB zone** keep OFF**" - not connecting
23 * wlan0 connected to ESSID "***************" at **:**:**:**:**:**
24 * in managed mode on channel 6 (WEP disabled)
25 * Configuration not set for wlan0 - assuming DHCP
26 * Bringing up wlan0
27 * dhcp
28 * Running dhcpcd ...
29 wlan0: dhcpcd 4.0.15 starting
30 wlan0: broadcasting for a lease
31 wlan0: offered 192.168.0.103 from 192.168.0.1
32 wlan0: ignoring offer of 192.168.0.103 from 192.168.0.1
33 wlan0: acknowledged 192.168.0.103 from 192.168.0.1
34 wlan0: checking 192.168.0.103 is available on attached networks
35 wlan0: leased 192.168.0.103 for 604800 seconds [ ok ]
36 * wlan0 received address 192.168.0.103/24
37
38 After picking my jaw off the floor, I downed wlan0. Just to be safe,
39 I ran "rmmod ath5k". I want to be able to scan available connections
40 and then select which one I want, e.g. I want to try it at the local
41 public library. I do not like the concept of the netbook automatically
42 connecting to the first available access point. What do I have to do to
43 *NOT* connect automatically?
44
45 --
46 Walter Dnes <waltdnes@××××××××.org>

Replies

Subject Author
Re: [gentoo-user] wlan0 config questions Mick <michaelkintzios@×××××.com>