Summary: | sys-apps/baselayout-1.12.4-r2 wireless regression: wpa_supplicant-0.5.4 fails to associate on madwifi | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Horst Schirmeier <gentoo> |
Component: | [OLD] baselayout | Assignee: | Roy Marples (RETIRED) <uberlord> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | mobile+disabled |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 143988 |
Description
Horst Schirmeier
2006-08-14 07:02:55 UTC
If you don't set wpa_timeout_ath0 and associate_timeout_ath0 then script startup will background making debugging easier. When it's in the background do /etc/init.d/net/ath0 status If it says "inactive" then an assocation has not been made. You can then examine youe logs for wpa_supplicant messages. You can also check wpa_supplicant status with the command "wpa_cli status". Please attach a wpa_supplicant log to this bug. nexus ~ # /etc/init.d/net.ath0 status * status: inactive nexus ~ # wpa_cli status Selected interface 'ath0' bssid=00:04:0e:63:69:59 ssid=xxx id=0 pairwise_cipher=TKIP group_cipher=TKIP key_mgmt=WPA-PSK wpa_state=COMPLETED syslog: Aug 15 13:00:07 nexus wpa_cli: interface ath0 CONNECTED Aug 15 13:00:15 nexus wpa_cli: executing '/etc/init.d/net.ath0 --quiet start' failed When I try to run '/etc/init.d/net.ath0 --quiet start' manually, it complains with nexus sbin # /etc/init.d/net.ath0 --quiet start WARNING: net.ath0 has already been started. Possibly /etc/wpa_supplicant/wpa_cli.action does not reflect the init script changes yet? If you need more detailed wpa_supplicant logs, please give me a hint how to easily obtain them -- the -d switch only works properly if wpa_supplicant is not running as a daemon. No, wpa_action.sh is correct - I know, I wrote it. Now, with net.ath0 in the active status do this export IN_BACKGROUND=true /etc/init.d/net.ath0 start Post back with the results (In reply to comment #3) > Now, with net.ath0 in the active status do this Of course I meant in the inactive status ;) Ah, okay. The "callback" goes via environment vars. nexus ~ # IN_BACKGROUND=true /etc/init.d/net.ath0 start * Starting ath0 [some lines omitted] * Bringing up ath0 * dhcp * Running dhcpcd ... DHCP Client Daemon v.1.3.22-pl4 Copyright (C) 1996 - 1997 Yoichi Hariguchi <yoichi@fore.com> Copyright (C) January, 1998 Sergei Viznyuk <sv@phystech.com> Location: http://www.phystech.com/download/ Usage: dhcpcd [-dknorzBCDHNRSTY] [-l leasetime] [-h hostname] [-t timeout] [-i vendorClassID] [-I ClientID] [-c filename] [-s [ipaddr]] [-w windowsize] [-L ConfigDir] [-G [gateway]] [interface] [ !! ] An strace shows that net.lo tries to run 'dhcpcd -h nexus -N -m 2000 ath0'; the -m parameter does not exist in dhcpcd-1.3.22_p4-r5, which was still installed on my system for some unknown reason... 'emerge -uDav world' never tried to update it to current stable 2.0.5-r1, although it's in the world file. If I can reproduce this behaviour, I'll file a Portage bug. The dhcpcd update to 2.0.5-r1 resolved the problem. I forgot: Thanks, Roy. :-) (In reply to comment #6) > I forgot: Thanks, Roy. :-) It's comments like that which keep me working on Gentoo :) |