Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network won't reconnect automatically
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
IncredibleMrT
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2008
Posts: 109
Location: Rotherham, UK

PostPosted: Fri Sep 17, 2010 10:48 pm    Post subject: Network won't reconnect automatically Reply with quote

Hi,
A few weeks ago I was forced into a reinstall - not at gunpoint or anything, just by my own stupidity.
Anyway, since the reinstall my wireless connection (net.wlan0 using wpa_supplicant on an atheros device) loses it's connnection at 2am every morning when my router box reboots. This reboot has been in place for a good long while and shouldn't be an issue. Before the reinstall my wireless connection would automatically connect when the network was available again.
Now I am having to manually start net.wlan0 when I get to my laptop in the morning.

Does anyone have any ideas what I might have done differently? I made backups of all network related configs and reinstated them at installation time.

If you need any info then please ask :)

Thanks all,
Matt.
Back to top
View user's profile Send private message
vivaceious
n00b
n00b


Joined: 08 Sep 2010
Posts: 31
Location: San Francisco, USA

PostPosted: Sat Sep 18, 2010 9:26 am    Post subject: Reply with quote

well... i'm not sure why it would have reconnected automatically before and would not replicate this behavior now...
though as an alternative, have you considered using WICD to manage net connections?
i'm interested in the answer to your question though :)
Back to top
View user's profile Send private message
IncredibleMrT
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2008
Posts: 109
Location: Rotherham, UK

PostPosted: Sat Sep 18, 2010 8:48 pm    Post subject: Reply with quote

Does wicd work outside of your WM/DE ? I need wireless at boot time for daemons and like that aren't dependant on any GUI.

I really don't know what i've done differently - the setup I had before was quite standard and I made a point of making sure I used the identical configs from my backups.
Back to top
View user's profile Send private message
vivaceious
n00b
n00b


Joined: 08 Sep 2010
Posts: 31
Location: San Francisco, USA

PostPosted: Sun Sep 19, 2010 5:25 am    Post subject: Reply with quote

could you let us know which USE flags wpa_supplicant was built with? this should do the trick :)
Code:
# emerge --pretend --verbose wpa_supplicant
Back to top
View user's profile Send private message
IncredibleMrT
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2008
Posts: 109
Location: Rotherham, UK

PostPosted: Sun Sep 19, 2010 9:13 am    Post subject: Reply with quote

Here you go...

Code:
mrt ~ # emerge wpa_supplicant -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-wireless/wpa_supplicant-0.7.3  USE="dbus madwifi qt4 readline ssl -debug -eap-sim -fasteap -gnutls (-ps3) -wps" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Back to top
View user's profile Send private message
vivaceious
n00b
n00b


Joined: 08 Sep 2010
Posts: 31
Location: San Francisco, USA

PostPosted: Sun Sep 19, 2010 10:46 pm    Post subject: Reply with quote

So I did some reading around on other forums and people have complained about similar problems being solved by enabling the 'gnutls' use flag. I can't confirm this, however. I hope it works, but sorry if it doesn't.
Code:
# echo "net-wireless/wpa_supplicant gnutls" >> /etc/portage/package.use
# emerge wpa_supplicant

or, for a 1-time deal:
Code:
# USE="gnutls" emerge wpa_supplicant

Hopefully some other ppl can provide better help :)
Back to top
View user's profile Send private message
IncredibleMrT
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2008
Posts: 109
Location: Rotherham, UK

PostPosted: Mon Sep 20, 2010 8:58 am    Post subject: Reply with quote

Hi all.
If haven't got around to trying the gnutls thing just yet but I have been trawling the net and checking entries in /var/log/messages & dmesg.

Here is the corresponding /var/log/message entries from the past few days
Code:

Sep 17 02:02:27 mrt kernel: wlan0: deauthenticated from 00:0f:66:da:3a:4b (Reason: 7)
Sep 17 02:02:27 mrt kernel: cfg80211: Calling CRDA to update world regulatory domain
Sep 17 02:02:27 mrt wpa_cli: interface wlan0 DISCONNECTED

Sep 18 02:02:32 mrt kernel: wlan0: deauthenticated from 00:0f:66:da:3a:4b (Reason: 7)
Sep 18 02:02:32 mrt kernel: cfg80211: Calling CRDA to update world regulatory domain
Sep 18 02:02:32 mrt wpa_cli: interface wlan0 DISCONNECTED

Sep 19 02:02:44 mrt kernel: No probe response from AP 00:0f:66:da:3a:4b after 500ms, disconnecting.
Sep 19 02:02:44 mrt kernel: cfg80211: Calling CRDA to update world regulatory domain
Sep 19 02:02:44 mrt wpa_cli: interface wlan0 DISCONNECTED

Sep 20 02:02:40 mrt kernel: wlan0: deauthenticated from 00:0f:66:da:3a:4b (Reason: 7)
Sep 20 02:02:40 mrt kernel: cfg80211: Calling CRDA to update world regulatory domain
Sep 20 02:02:41 mrt wpa_cli: interface wlan0 DISCONNECTED


This has happened every night since I install. Again, the router does reboot at 2am but has done for a good long while without issue.

Is it a kernel issue? Is anyone else experiencing anything similar? All I know is it wasn't doing it on the old install which ran on kernel 2.6.35-gentoo-r1

I'm using kernel 2.6.35-gentoo-r7 but the ath5k driver built in.
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