Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
baselayout-12 + wpa_supplicant and HostAP problems [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
guest
n00b
n00b


Joined: 23 Jul 2005
Posts: 8

PostPosted: Thu May 18, 2006 1:38 pm    Post subject: baselayout-12 + wpa_supplicant and HostAP problems [SOLVED] Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu May 18, 2006 1:46 pm    Post subject: Reply with quote

Well, I can tell you that it's not a baselayout problem you've got it connected - once that's done baselayout is finished. I would guess it's a driver problem.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Thu May 25, 2006 7:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
digitall2000
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 267

PostPosted: Thu May 25, 2006 7:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu May 25, 2006 7:27 pm    Post subject: Reply with quote

beatryder wrote:
Is there a man page for the new baselayout yet?


No

Quote:

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.


Checkout RC_COLDPLUG in /etc/conf.d/rc then
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Thu May 25, 2006 7:36 pm    Post subject: Reply with quote

[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
View user's profile Send private message
guest
n00b
n00b


Joined: 23 Jul 2005
Posts: 8

PostPosted: Thu Jun 08, 2006 7:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
guest
n00b
n00b


Joined: 23 Jul 2005
Posts: 8

PostPosted: Sat Jun 10, 2006 8:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum