You are not logged in.

#1 2012-06-01 18:26:11

YAOMTC
Member
Registered: 2010-02-23
Posts: 204

Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

My Eee PC 900 has lately been losing its wireless connection, usually at some point during the night. It doesn't bring up any dialog windows (like asking me for the WPA-PSK) or show anything awry on the tray icon. Ping just says "network unreachable" and I can't get online. When I click the icon (NetworkManager applet), it says I'm connected to the wireless network, so I click it again to manually reconnect, and then I can get online just fine. What's going on here?

Wireless: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
Linux 3.4.3-1

Solved: Switched to wpa supplicant and gui

Last edited by YAOMTC (2012-06-30 21:48:44)

Offline

#2 2012-06-03 17:45:04

YAOMTC
Member
Registered: 2010-02-23
Posts: 204

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

I had upgraded my router's firmware and made some other changes recently, but DHCP is still enabled, so I don't think that would be the problem.

Offline

#3 2012-06-03 18:00:57

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

What kernel and what wireless chip?

Offline

#4 2012-06-03 18:28:06

YAOMTC
Member
Registered: 2010-02-23
Posts: 204

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

Linux 3.3.7-1

Wireless: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)

Offline

#5 2012-06-03 18:47:05

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

Seems you use the ath5k driver then, and there are a few threads about that already. I have the same but maybe kernel 3.4.1 fixes it. You can get it from testing repo.

Last edited by swanson (2012-06-03 18:47:25)

Offline

#6 2012-06-03 22:06:45

YAOMTC
Member
Registered: 2010-02-23
Posts: 204

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

I think this was the thread where that was discovered. Thanks for the tip! However I'll wait until it moves into [core], the problem for me is infrequent enough to not warrant such effort.

Offline

#7 2012-06-20 19:39:32

YAOMTC
Member
Registered: 2010-02-23
Posts: 204

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

Okay so I'm now at Linux 3.4.3, but this problem still occurs...

Offline

#8 2012-06-20 20:31:53

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

I moved from wicd to netcfg combined with net-auto-wireless and it seems to work much better.

Offline

#9 2012-06-20 20:35:25

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

I have been experiencing the same problem, but with a Broadcom 43224 chip (using wicd instead of nm).


ᶘ ᵒᴥᵒᶅ

Offline

#10 2012-06-20 21:52:38

Miblo
Member
From: Manchester, UK
Registered: 2010-07-05
Posts: 160
Website

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

Bit of a long shot, but have you tried powering down your machine and waiting a few minutes before booting it back up? That did the trick for me when I reverted back to linux-3.2.14-1 after this whole thing started. Also, perhaps ensure that you are using the ath5k module as opposed to ath9k. Then I'd suggest grep'ing `dmesg` (or "/var/log/everything.log") for ath5k to see if it is actually having any problems. On my (now functioning) system, all ath5k has to say for itself is:

 [matt@archone ~]$ dmesg | grep ath5k
[   12.548970] ath5k 0000:03:00.0: registered as 'phy0'
[   13.441866] Registered led device: ath5k-phy0::rx
[   13.441958] Registered led device: ath5k-phy0::tx
[   13.442039] ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)

…whereas previously I was getting all those gain calibration timeout errors.


@archun: Intel® Core™ i5-4210M • [GPU] Intel® HD Graphics 4600 • [Kernel] linux-ck-haswell
Handmade.NetworkGitLab
The Life and Times of Miblo del Carpio

Offline

#11 2012-06-21 02:26:51

YAOMTC
Member
Registered: 2010-02-23
Posts: 204

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

swanson, I'm using NetworkManager, not wicd, so your solution doesn't apply to me, unfortunately hmm I was thinking of trying a switch to wicd, but it looks like litemotiv has this problem on wicd too so I doubt that'd solve my problem.

Miblo, I get the same output, though the network is still unavailable (and nm-applet has 2/4 bars). I've tried shutting down my machine for a while, that doesn't cut it. And yes, I am using ath5k.

I could just force NetworkManager to reconnect to the network, but that's just a workaround. I'd like to know the root of this!

Last edited by YAOMTC (2012-06-21 02:33:18)

Offline

#12 2012-06-21 03:06:12

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

I know you use NM, which I find even worse than wicd. So I thought I'd make a suggestion, that's all.

Offline

#13 2012-06-21 03:14:39

YAOMTC
Member
Registered: 2010-02-23
Posts: 204

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

Well I suppose it could be worth a shot, maybe wicd and nm both have this problem but not netcfg?

Offline

#14 2012-06-21 04:58:30

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

YAOMTC wrote:

Well I suppose it could be worth a shot, maybe wicd and nm both have this problem but not netcfg?

I personally suspect that something else is going haywire, in the wireless network stack or routing. That's just a hunch and not based on empirical evidence, but once a connection is established i don't see how the managing utility (whether it's nm, wicd or else) should be able to cause this. After all, they are only 'managers', they merely check whether the connection is still reported up and act accordingly.


ᶘ ᵒᴥᵒᶅ

Offline

#15 2012-06-21 06:14:31

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

True, and it's hard to tell where the real problem lies; driver/kernel and/or manager. But, mine got better with netcfg/net-auto-wireless. As a sidenote; if you need a tray monitor I can recommend qtwifimon.

Offline

#16 2012-06-21 06:27:10

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

swanson wrote:

True, and it's hard to tell where the real problem lies; driver/kernel and/or manager. But, mine got better with netcfg/net-auto-wireless. As a sidenote; if you need a tray monitor I can recommend qtwifimon.

I actually switched from netcfg to wicd a while ago because netcfg roaming was buggy for me...


ᶘ ᵒᴥᵒᶅ

Offline

#17 2012-06-22 00:17:02

Miblo
Member
From: Manchester, UK
Registered: 2010-07-05
Posts: 160
Website

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

litemotiv wrote:

I personally suspect that something else is going haywire, in the wireless network stack or routing.

Yep, agreed. Maybe trawl through the logs of everything you think could possibly have anything to do with it – kernel, network manager, dbus, firewall, router – and see if anything looks fishy. Perhaps see if you could set a "trap" for it to create a file when the connection is lost. Then you could take the timestamp of that file and search for that time in your logs.


@archun: Intel® Core™ i5-4210M • [GPU] Intel® HD Graphics 4600 • [Kernel] linux-ck-haswell
Handmade.NetworkGitLab
The Life and Times of Miblo del Carpio

Offline

#18 2012-06-30 21:47:54

YAOMTC
Member
Registered: 2010-02-23
Posts: 204

Re: Laptop sometimes loses wireless conn, doesn't auto-reconnect[SOLVED]

Well, I've switched to wpa_supplicant and wpa_gui, and I haven't had this problem since then! So that's nice.

Offline

Board footer

Powered by FluxBB