You are not logged in.

#1 2008-02-14 01:27:06

DarkJesus
Member
Registered: 2007-03-07
Posts: 45

Regularly losing wireless connection.

Every so often, I will lose my wireless connection and am unable to connect again, using iwconfig and dhcpcd. It has nothing to do with the router, since all other devices function properly, with no disconnection at all. I am only ever able to connect the first time (using a script specified in rc.local) and after that, dhcpcd just fails.

I think it started happening after I installed kernel 2.6.24. I am using the rt61 drivers, I tried installing the newest drivers, but they didn't fix the problem.

dhcpcd outputs:

err, wlan0: timed out
warn, wlan0: using IPV4LL address 169.254.61.72

And messages from dmesg that may be telling:

wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:16:01:8e:e6:ab
wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
wlan0: RX authentication from 00:16:01:8e:e6:ab (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:16:01:8e:e6:ab
wlan0: mismatch in privacy configuration and mixed-cell disabled - abort association

with

ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

and

ADDRCONF(NETDEV_UP): wlan0: link is not ready

also occuring.

The script used to connect at start up is just:

#!/bin/bash
killall dhcpcd
ifconfig wlan0 up
iwconfig wlan0 essid 0016018EE6AA
iwconfig wlan0 key fede0fede0
dhcpcd -t 10 wlan0

so I don't think it can be anything to do with it.

Offline

#2 2008-02-15 21:38:58

DarkJesus
Member
Registered: 2007-03-07
Posts: 45

Re: Regularly losing wireless connection.

I was getting a bit complacent since I hadn't run into the problem since I posted, but it happened again.

Anyone got any ideas?

Offline

#3 2008-02-16 15:07:39

DarkJesus
Member
Registered: 2007-03-07
Posts: 45

Re: Regularly losing wireless connection.

Happened again.

Offline

#4 2008-02-16 18:04:08

DarkJesus
Member
Registered: 2007-03-07
Posts: 45

Re: Regularly losing wireless connection.

This is becoming an annoying occurence now.

More error messages:

wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:16:01:8e:e6:ab
wlan0: RX authentication from 00:16:01:8e:e6:ab (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:16:01:8e:e6:ab
wlan0: RX AssocResp from 00:16:01:8e:e6:ab (capab=0x411 status=0 aid=2)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: switched to short barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: no IPv6 routers present
wlan0: switched to long barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to short barker preamble (BSSID=00:16:01:8e:e6:ab)
hda-intel: Invalid position buffer, using LPIB read method instead.
wlan0: switched to long barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to short barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to long barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to short barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to long barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to short barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to long barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to short barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to long barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to short barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to long barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to short barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to long barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to short barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to long barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to short barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to long barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to short barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to long barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: switched to short barker preamble (BSSID=00:16:01:8e:e6:ab)
wlan0: No ProbeResp from current AP 00:16:01:8e:e6:ab - assume out of range

Offline

#5 2008-02-16 19:16:50

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: Regularly losing wireless connection.

Have you tried downgrading your kernel?

Offline

#6 2008-02-17 00:27:23

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: Regularly losing wireless connection.

If your wireless router is set to "hide" the beacon your wifi will not work properly.  I found that out the hard way having had similar symptoms to what you've posted.

Offline

#7 2008-02-17 03:06:37

DkSoul
Member
Registered: 2005-11-24
Posts: 34

Re: Regularly losing wireless connection.

DarkJesus wrote:

The script used to connect at start up is just:

#!/bin/bash
killall dhcpcd
ifconfig wlan0 up
iwconfig wlan0 essid 0016018EE6AA
iwconfig wlan0 key fede0fede0
dhcpcd -t 10 wlan0

so I don't think it can be anything to do with it.

Correct me if I'm wrong, but you must bring your interface down before setting your wireless settings (essid, wep key, etc.):

#!/bin/bash
killall dhcpcd
ifconfig wlan0 down
iwconfig wlan0 essid 0016018EE6AA
iwconfig wlan0 key fede0fede0
dhcpcd -t 10 wlan0

dhcpcd should bring your interface up, so you don't have to do it manually.

Also, kernel 2.6.24 has the rt2x00 driver built in, so you must blacklist it if you want to compile and use the newest driver.

DkSoul

Offline

#8 2008-02-17 15:25:39

DarkJesus
Member
Registered: 2007-03-07
Posts: 45

Re: Regularly losing wireless connection.

OK, I've done this. I'll give it a few days before I mark it as a success.

Thanks DkSoul.

Last edited by DarkJesus (2008-02-17 16:46:27)

Offline

#9 2008-02-18 09:00:25

DaNiMoTh
Member
Registered: 2006-06-10
Posts: 260

Re: Regularly losing wireless connection.

I have your problem with rt73 driver.

Offline

#10 2008-02-25 19:21:24

DarkJesus
Member
Registered: 2007-03-07
Posts: 45

Re: Regularly losing wireless connection.

Well, it doesn't disconnect by itself any more. However, if I disconnect for whatever other reason (like my modem being a bitch), then I still cannot reconnect.

At least it isn't so annoying any more.

Offline

#11 2008-03-18 10:15:38

vooolker
Member
Registered: 2006-08-23
Posts: 2

Re: Regularly losing wireless connection.

Hi DarkJesus,

same problem here. Did you solve this? How?

Volker

Last edited by vooolker (2008-03-18 10:36:25)

Offline

#12 2008-03-18 13:23:27

DarkJesus
Member
Registered: 2007-03-07
Posts: 45

Re: Regularly losing wireless connection.

I fixed it just last night.

The old rt61 drivers used to make an alias in /etc/modprobe.conf for ra0. Then when the newer versions would use wlan*, this line was also added. Since there were two lines in the modprobe.conf file aliasing to rt61, this is what caused the problems. So just delete or comment the old ra0 line and everything should work perfectly.

Good luck.

Offline

#13 2008-03-18 19:39:23

DarkJesus
Member
Registered: 2007-03-07
Posts: 45

Re: Regularly losing wireless connection.

I think I also have to disable the ipv6 module, following the instructions on the wiki.

Offline

#14 2008-03-18 22:20:20

vooolker
Member
Registered: 2006-08-23
Posts: 2

Re: Regularly losing wireless connection.

No, it's not the solution here. sad

Offline

#15 2008-05-30 20:24:36

lmsguerr
Member
From: Loulé-Algarve-Portugal
Registered: 2008-05-20
Posts: 49

Re: Regularly losing wireless connection.

Same problem with me... I'm using kernel module rt61pci and he recognizes my device as "wlan0" and is the only device configure in rc.conf.

Thus someone got the asnwer for the problem ?

Cheers


Linux /  4.18.5-ARCH / x86_64 / Intel I5-4460s /  Intel® HD Graphics 4600  / MSI B85-G43 Gaming

Offline

#16 2008-05-30 20:47:15

Shadowmeph
Member
From: West Coast Canada
Registered: 2008-05-19
Posts: 208

Re: Regularly losing wireless connection.

hmm I am wondering if this could be effecting me I am not on any router but I did update to the newer kernal and I have been having internet problems. so do you think that it would be a good idea to blacklist rt2x00 or is it most likely a coincidence?

Last edited by Shadowmeph (2008-05-30 20:49:04)

Offline

#17 2008-10-03 07:58:32

sweiss
Member
Registered: 2004-02-16
Posts: 635

Re: Regularly losing wireless connection.

I get a similar issue, and I'm using ndiswrapper.
And it happens only after being connected for 5 minutes, I can't perform a pacman -Syu.

Any ideas?

Offline

#18 2008-10-03 15:51:36

chaosgeisterchen
Member
From: Kefermarkt, Upper Austria
Registered: 2006-11-20
Posts: 550

Re: Regularly losing wireless connection.

sweiss wrote:

I get a similar issue, and I'm using ndiswrapper.
And it happens only after being connected for 5 minutes, I can't perform a pacman -Syu.

Any ideas?

I guess you use ndiswrapper-1.53 together with kernel26-2.6.26-5. This pair of packages won't work together, due to a regression. You might consider downgrading ndiswrapper, following this thread. It worked for me so far, still it is a problematic issue, which will hopefully be solved with the release of kernel26-2.6.27.


celestary
Intel Core2Duo E6300 @ 1.86 GHz
kernel26
KDEmod current repository

Offline

#19 2008-10-08 11:13:41

sweiss
Member
Registered: 2004-02-16
Posts: 635

Re: Regularly losing wireless connection.

Thanks a lot chaosgeisterchen, it worked smile

Offline

Board footer

Powered by FluxBB