I have an atheros (mad-wifi) internal mini-pci 802.11 a/b/g card in my Dell
i8200 notebook running Gentoo. I also have an Engenius hostap 802.11b
card/antenna in my Gentoo server. What is frustrating, is that it's a
crap-shoot when my ath0 will (or won't) start properly. I have no control
over what channel (either numeric like 6, or alpha such as b vs. g) to
connect to my AP ("MATRIX").
Please tell me there is some way to tweak my /etc/conf.d/wireless (or anything
for that matter), so that I can tell it, "hey, when connecting to 'MATRIX',
always use 802.11b and/or a certain channel range (presumably in the 'b'
range)".
Furthermore, it would REALLY be great if I could do something whereby, if I
have net.eth0 (i.e. CAT5 cable) then don't start net.ath0, else try net.ath0.
Right now I have net.ath0 disabled by default because I hate when it starts
up when I'm plugged in at work, as my traffic seems to go over the "slower"
ath0 rather than the faster eth0 port. ?! I have ifplugd installed, but I
don't think it can manage this kind of (seemingly obvious and intelligent)
decision.
locutus ~ # /etc/init.d/net.ath0 start
* Starting ath0
* Configuring wireless network for ath0
* ath0 connected to ESSID "MATRIX" at 00:00:00:00:00:00
* in managed mode on channel 52 (WEP disabled)
* Configuration not set for ath0 - assuming DHCP
* Bringing up ath0
* dhcp
* Running dhcpcd ...
Error, timed out waiting for a valid DHCP server response
[ !! ]
locutus ~ # /etc/init.d/net.ath0 start
* Starting ath0
* Configuring wireless network for ath0
* ath0 connected to ESSID "MATRIX" at 00:00:00:00:00:00
* in managed mode on channel 7 (WEP disabled)
* Configuration not set for ath0 - assuming DHCP
* Bringing up ath0
* dhcp
* Running dhcpcd ...
Error, timed out waiting for a valid DHCP server response
[ !! ]
locutus ~ # /etc/init.d/net.ath0 start
* Starting ath0
* Configuring wireless network for ath0
* ath0 connected to ESSID "MATRIX" at 00:02:6F:09:B2:B4
* in managed mode on channel 6 (WEP disabled)
* Configuration not set for ath0 - assuming DHCP
* Bringing up ath0
* dhcp
* Running dhcpcd ...
[ ok ]
* ath0 received address 10.10.10.69/24
locutus ~ #
--
[email protected] mailing list