Here's /etc/conf.d/net on my Gentoo netbook system...

config_eth0="192.168.123.249 broadcast 192.168.123.255 netmask 255.255.255.248 
mtu 1452"
routes_eth0=(
"default via 192.168.123.254 metric 2"
"192.168.123.248/29 via 192.168.123.254 metric 0"
)

  The multiple routes allow eth0 to remain connected to my router and
talk to the other machine on the lan while running a dialup connection.
I want to try out my netbook wifi, and I find that it works too well!!!
Here's the output after starting up wlan0.  The ESSID and MAC address
of my neighbours in the condo have been masked to protect the innocent...

aa1 init.d # /etc/init.d/net.wlan0 restart
 * Stopping wlan0
 *   Bringing down wlan0
 *     Stopping dhcpcd on wlan0 ...                           [ ok ]
 *     Shutting down wlan0 ...                                [ ok ]
 * Starting wlan0
 *   Configuring wireless network for wlan0
 *   WEP key is not set for "KGB zone**  keep OFF**" - not connecting
 *     wlan0 connected to ESSID "***************" at **:**:**:**:**:**
 *     in managed mode on channel 6 (WEP disabled)
 *   Configuration not set for wlan0 - assuming DHCP
 *   Bringing up wlan0
 *     dhcp
 *       Running dhcpcd ...
wlan0: dhcpcd 4.0.15 starting
wlan0: broadcasting for a lease
wlan0: offered 192.168.0.103 from 192.168.0.1
wlan0: ignoring offer of 192.168.0.103 from 192.168.0.1
wlan0: acknowledged 192.168.0.103 from 192.168.0.1
wlan0: checking 192.168.0.103 is available on attached networks
wlan0: leased 192.168.0.103 for 604800 seconds               [ ok ]
 *       wlan0 received address 192.168.0.103/24

  After picking my jaw off the floor, I downed wlan0.  Just to be safe,
I ran "rmmod ath5k".  I want to be able to scan available connections
and then select which one I want, e.g. I want to try it at the local
public library.  I do not like the concept of the netbook automatically
connecting to the first available access point.  What do I have to do to
*NOT* connect automatically?

-- 
Walter Dnes <[email protected]>

Reply via email to