View previous topic :: View next topic |
Author |
Message |
jpalfree n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1450767270463b92b2ef2a8.png)
Joined: 15 Oct 2005 Posts: 24
|
Posted: Tue Apr 18, 2006 11:48 pm Post subject: wpa_supplicant randomly stopped working! (SOLVED) |
|
|
I turned on my computer a few days ago and ath0 wasn't doing it's job.
Quote: | * Starting ath0
* Starting wpa_supplicant on ath0 ... [ ok ]
* timed out ... [ !! ] |
I shut off the encryption on my router and tried connecting without wpa_supplicant and it worked.
so i tried re-emerging madwifi-ng, wpa_supplicant, net-misc/dhcpcd, net-misc/udhcp, net-misc/dhcp and while emerging it gave me error messages:
Quote: |
...
/usr/portage/profiles/default-linux/profile.bashrc: line 74: has: command not found.
/usr/portage/profiles/default-linux/profile.bashrc: line 70: has: command not found.
...
|
what is "has" and why don't I have it anymore?? The emerge carried out successfully...but still. It all seems strange.
I did "emerge -uD world" recently... these are the packages it emerged the day before: Quote: | Sun Apr 16 12:03:54 2006 >>> app-shells/bash-3.1_p16
Sun Apr 16 12:04:46 2006 >>> sys-libs/readline-5.1_p4
Sun Apr 16 12:06:44 2006 >>> net-misc/openssh-4.3_p2-r1 |
I'm all out of ideas... please help.
dmesg | grep ath0 : Quote: | ath0: no IPv6 routers present
ADDRCONF(NETDEV_UP): ath0: link is not ready
ADDRCONF(NETDEV_UP): ath0: link is not ready
ADDRCONF(NETDEV_CHANGE): ath0: link becomes ready
ath0: no IPv6 routers present |
lspci: Quote: | 00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev a2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:08.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
01:0c.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
01:0d.0 RAID bus controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02)
03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 15)
05:00.0 VGA compatible controller: ATI Technologies Inc RV380 0x3e50 [Radeon X600]
05:00.1 Display controller: ATI Technologies Inc RV380 [Radeon X600] Secondary |
Last edited by jpalfree on Sat Apr 22, 2006 12:13 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jpalfree n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1450767270463b92b2ef2a8.png)
Joined: 15 Oct 2005 Posts: 24
|
Posted: Wed Apr 19, 2006 3:27 pm Post subject: Anyone? |
|
|
Does anyone have any idea at all?
I'd really like to get the internet working again...
I tried with NET_DEBUG set and the net.lo script seems not to be getting a signal from wpa_supplicant:
Quote: | + (( i > 0 ))
+ (( i = RC_DEFAULT_INDENT ))
+ esetdent 4
+ local i=4
+ (( i < 0 ))
++ printf %4s ''
+ RC_INDENTATION=' '
+ veinfo 'Waiting for association'
+ [[ no != yes ]]
+ eend 0
+ local retval=0
+ shift
+ _eend 0 eerror ''
+ local retval=0 efunc=eerror msg
+ shift 2
+ [[ 0 == 0 ]]
+ [[ no == yes ]]
+ msg='[ ok ]'
+ [[ yes == yes ]]
+ echo -e ' [ ok ]'
[ ok ]
+ return 0
+ LAST_E_CMD=eend
+ return 0
+ wpa_supplicant_associate ath0
++ interface_variable ath0
++ LC_ALL=C
++ echo ath0
+ local iface=ath0 ifvar=ath0 timeout i
+ eval 'timeout="${wpa_timeout_ath0:-60}"'
++ timeout=60
+ (( i=0 ))
+ (( i<60 ))
+ wpa_supplicant_associated ath0
+ local -a status
++ wpa_cli -iath0 status
++ LC_ALL=C
++ /bin/wpa_cli -iath0 status
++ awk -F= '/^key_mgmt|^wpa_state|^EAP state/ { print "\""$2"\"" }'
+ eval 'status=("DISCONNECTED")'
++ status=("DISCONNECTED")
+ case ${status[0]} in
+ [[ '' == \C\O\M\P\L\E\T\E\D ]]
+ return 1
+ sleep 1
+ (( i++ ))
+ (( i<60 ))
+ wpa_supplicant_associated ath0
+ local -a status
++ wpa_cli -iath0 status
++ LC_ALL=C
++ /bin/wpa_cli -iath0 status
++ awk -F= '/^key_mgmt|^wpa_state|^EAP state/ { print "\""$2"\"" }'
+ eval 'status=("UNKNOWN"' '"ASSOCIATED")'
++ status=("UNKNOWN" "ASSOCIATED")
+ case ${status[0]} in
+ [[ ASSOCIATED == \C\O\M\P\L\E\T\E\D ]]
+ return 1
+ sleep 1
+ (( i++ ))
+ (( i<60 ))
+ wpa_supplicant_associated ath0
+ local -a status
++ wpa_cli -iath0 status
++ LC_ALL=C
++ /bin/wpa_cli -iath0 status
++ awk -F= '/^key_mgmt|^wpa_state|^EAP state/ { print "\""$2"\"" }'
+ eval 'status=("WPA-PSK"' '"ASSOCIATED")'
++ status=("WPA-PSK" "ASSOCIATED")
+ case ${status[0]} in
+ [[ ASSOCIATED == \C\O\M\P\L\E\T\E\D ]]
+ return 1
# Then it keeps repeating this part until it times out...
|
I think it's the ASSOCIATED part. What does ASSOCIATED mean and why isn't it COMPLETED? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DeepBass909 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Jan 2005 Posts: 81 Location: Netherlands
|
Posted: Wed Apr 19, 2006 4:43 pm Post subject: Re: Anyone? |
|
|
jpalfree wrote: | Does anyone have any idea at all?
I'd really like to get the internet working again...
...
I think it's the ASSOCIATED part. What does ASSOCIATED mean and why isn't it COMPLETED? |
It kinda sounds like the same problem I had with my pcmcia wifi card and an Apple Airport. It turned out that they just weren't compatible. I changed the wifi adapter and ever since it was working (thou I can't really recommend the Apple Airport... It just isn't good enough...) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jpalfree n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1450767270463b92b2ef2a8.png)
Joined: 15 Oct 2005 Posts: 24
|
Posted: Wed Apr 19, 2006 9:22 pm Post subject: |
|
|
SOLVED
luckely I stumbled upon this bug: [URL="https://bugs.gentoo.org/show_bug.cgi?id=130104"]#130104[/URL]
apparently wpa_supplicant isn't working nicely with bash 3.1
The patch didn't work for me so I re-emerged bash 3.0.
this is a list of packages I have installed in case anyone else has this problem.
Quote: |
sys-apps/baselayout-1.11.14-r7
app-shells/bash-3.0-r12
sys-libs/readline-5.1_p2
net-wireless/wpa_supplicant-0.5.2
net-wireless/madwifi-ng-0.1473.20060312
net-wireless/madwifi-ng-tools-0.1473.20060312
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zigver Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/10906098964384e511bf62a.png)
Joined: 09 May 2003 Posts: 87
|
Posted: Wed Apr 19, 2006 10:35 pm Post subject: |
|
|
See this thread for a workaround. And may I suggest you put a solved in the subject? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|