Summary: | ESSID not getting set on boot for madwifi cards | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | geoffrey <monkey> |
Component: | [OLD] baselayout | Assignee: | Roy Marples (RETIRED) <uberlord> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | steev |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
debug patch
debug patch for baselayout-1.11 |
Description
geoffrey
2005-10-28 20:57:27 UTC
It isn't just the madwifi drivers - it seems that the essid just doesn't get set anymore, I have been trying to hunt down what changed, and simply can't find it anymore. Reporter, please attach the output of iwlist ath0 scan ath0 Scan completed : Cell 01 - Address: xx:xx:xx:xx:xx:xx ESSID:"ap-essid" Mode:Master Frequency:2.437 GHz (Channel 6) Quality=62/94 Signal level=-33 dBm Noise level=-95 dBm Encryption key:off Bit Rate:1 Mb/s Bit Rate:2 Mb/s Bit Rate:5 Mb/s Bit Rate:6 Mb/s Bit Rate:9 Mb/s Bit Rate:11 Mb/s Bit Rate:12 Mb/s Bit Rate:18 Mb/s Bit Rate:24 Mb/s Bit Rate:36 Mb/s Bit Rate:48 Mb/s Bit Rate:54 Mb/s Extra:bcn_int=100 Created attachment 71961 [details, diff]
debug patch
Reporter, please apply this debug patch and attach the output to this bug.
You may want to backup /lib/rcscripts/net.modules.d/iwconfig before applying
the patch though ;)
debug patch does not apply cleanly. Error on line 462. The version of installed wireless-tools is 27-r1, baselayout is 1.11.13-r1 Created attachment 72357 [details, diff]
debug patch for baselayout-1.11
OK, this patch should apply cleanly (last patch was for baselayout-1.12.0_pre9)
Sort of fixed the issue. I applied the baselayout-1.11 patch for iwconfig and got attached to a known AP. The beacon frames for the AP have not been turned off; so, it is not hidden as the rcscript guesses. I added "preferred_aps="ap-essid ap2-essid" and "forcedpreferred" in the /etc/conf.d/wireless config file. Here is a log snippet: * Configuring wireless network for ath0 ath0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx inet6 addr: fe80::205:4eff:fe4a:5344/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:656 errors:48 dropped:0 overruns:0 frame:48 TX packets:663 errors:1 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:199 RX bytes:499202 (487.5 Kb) TX bytes:77854 (76.0 Kb) Interrupt:11 Memory:f8bc0000-f8bd0000 ath0 Failed to read scan data : Resource temporarily unavailable ath0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx inet6 addr: fe80::205:4eff:fe4a:5344/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:656 errors:48 dropped:0 overruns:0 frame:48 TX packets:663 errors:1 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:199 RX bytes:499202 (487.5 Kb) TX bytes:77854 (76.0 Kb) Interrupt:11 Memory:f8bc0000-f8bd0000 ath0 Scan completed : Cell 01 - Address: xx:xx:xx:xx:xx:xx ESSID:"ap-essid" Mode:Master Frequency:2.422 GHz (Channel 3) Quality=31/94 Signal level=-64 dBm Noise level=-95 dBm Encryption key:off Bit Rate:1 Mb/s Bit Rate:2 Mb/s Bit Rate:5 Mb/s Bit Rate:11 Mb/s Extra:bcn_int=100 * ath0 does not support scanning * no access points found * Trying to force preferred in case they are hidden * ath0 connected to "ap-essid" at xx:xx:xx:xx:xx:xx * in managed mode (WEP disabled) * Bringing up ath0 * dhcp * Running dhcpcd ... Further testing shows that this only works with the /etc/conf.d/wireless setting of "associate_order='forcepreferred'". All other settings fail. Could you re-test with wireless-tools-28_pre10 please? BTW, there is a bug with associate_order which has been fixed in baselayout-1.12 Using wireless-tools-28_pre10 seems to work correctly. The system now associates with any available AP. |