View previous topic :: View next topic |
Author |
Message |
guest n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Jul 2005 Posts: 8
|
Posted: Thu May 18, 2006 1:38 pm Post subject: baselayout-12 + wpa_supplicant and HostAP problems [SOLVED] |
|
|
I'm using a Prism 2.5 card with updated firmware and hostap-0.4.7 loaded as the network driver. When the computer with this hardware first boots, everything works great. The problem is that, after hours of staying connected, it will run into problems that will eventually make it totally inaccessable remotely, and I start to see a flood of disconnected/connected messages in the system's logs like this:
Quote: | May 17 13:21:50 video wifi0: LinkStatus=2 (Disconnected)
May 17 13:21:50 video wifi0: LinkStatus: BSSID=00:09:5b:3e:ee:26
May 17 13:21:50 video wifi0: Preferred AP BSSID 00:09:5b:3e:ee:26
May 17 13:21:50 video wifi0: using preferred AP selection
May 17 13:21:50 video wifi0: JoinRequest: BSSID=00:09:5b:3e:ee:26 channel=7
May 17 13:21:50 video wifi0: LinkStatus=2 (Disconnected)
May 17 13:21:50 video wifi0: LinkStatus: BSSID=44:44:44:44:44:44
May 17 13:21:50 video wifi0: LinkStatus=2 (Disconnected)
May 17 13:21:50 video wifi0: LinkStatus: BSSID=44:44:44:44:44:44
May 17 13:21:50 video wifi0: LinkStatus=2 (Disconnected)
May 17 13:21:50 video wifi0: LinkStatus: BSSID=44:44:44:44:44:44
May 17 13:21:50 video wlan0: Trying to join BSSID 00:09:5b:3e:ee:26
May 17 13:21:50 video wifi0: LinkStatus=1 (Connected)
May 17 13:21:50 video wifi0: LinkStatus: BSSID=00:09:5b:3e:ee:26 |
At this point, SSH sessions are incredibly slow. Also, iwconfig reports "invalid misc" as being in the thousands and "TX excessive retries" as being a bit greater than zero. When the computer is rebooted, everything goes back to normal and the computer stays connected for a bit until this problem comes up again.
I've tried trying different settings for the association test but they don't seem to have much of an effect on this. Currently, I'm using the MAC address to test association.
I also noticed that if this continues for long enough (the disconnecting and reconnecting), it seems as if some services get completely knocked off since SSH connections are also eventually refused.
I'm not sure if this is a driver or configuration problem. Any ideas?
Last edited by guest on Sat Jun 10, 2006 8:12 pm; edited 1 time in total |
|
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) |
beatryder Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1864706406445b6f8183868.jpg)
Joined: 08 Apr 2005 Posts: 1138
|
Posted: Thu May 25, 2006 7:13 pm Post subject: |
|
|
Is there a man page for the new baselayout yet?
I have an issue with the network setup. I dont want it to bring up all my interfaces. In fact I would prefer it if my wireless only came on when I told it too. _________________ Dont make it idiot proof, make it work.
Neucode.org
<suppressed key> |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
digitall2000 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 21 Dec 2004 Posts: 267
|
Posted: Thu May 25, 2006 7:18 pm Post subject: |
|
|
well as far as i know just remove the wireless from the run level with rc-update
rc-update del <wireless> runlevel<boot-default>
the just bring it up by hand when needed
lance |
|
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) |
beatryder Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1864706406445b6f8183868.jpg)
Joined: 08 Apr 2005 Posts: 1138
|
Posted: Thu May 25, 2006 7:36 pm Post subject: |
|
|
[quote=digitall2000]
well as far as i know just remove the wireless from the run level with rc-update
rc-update del <wireless> runlevel<boot-default>
the just bring it up by hand when needed
[/quote]
Thats what I had been doing, but I updated to baselayout-0.12 and it changed.
Ok well, I got it fixed now, but it seems like a lot more work than just "rc-update del net.eth1" _________________ Dont make it idiot proof, make it work.
Neucode.org
<suppressed key> |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
guest n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Jul 2005 Posts: 8
|
Posted: Thu Jun 08, 2006 7:46 pm Post subject: |
|
|
I'm not using the prism card anymore. I switched it with an ACX 111 based card with ndiswrapper, and it's working a lot nicer. One thing I did notice though is that wpa_supplicant leaves wpa_ctrl* files in the /tmp directory and doesn't remove them when it's finished. I was having problems with it and was getting "Socket already in use" messages while the system was booting followed by wpa_supplicant not starting correctly. Adding rm /tmp/wpa_ctrl* to local.stop fixed this problem, and now the system has wireless networking that doesn't keep dropping the connection. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
guest n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Jul 2005 Posts: 8
|
Posted: Sat Jun 10, 2006 8:16 pm Post subject: |
|
|
Ok forget that. Everything seems to be working ok now, but I do not recommend using ndiswrapper with an ACX111 based card. Most of the drivers that I tried with ndiswrapper appeared to work but I spent way too much time trying to figure out why the machine was spontaneously rebooting (8K stacks were enabled.) The acx driver seems to be more stable and is working with iwconfig. wpa_supplicant had some problems trying to communicate with the acx driver (couldn't set the ESSID correctly for some reason) so I'm no longer using it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|