You are not logged in.

#1 2011-10-30 11:01:22

pasqoo
Member
Registered: 2011-08-30
Posts: 13

Atheros AR9287 randomly hangs wireless connection

Hi, this is my wireless card:

03:00.0 Network controller: Atheros Communications Inc. AR9287 Wireless Network Adapter (PCI-Express) (rev 01)

Sometimes when I surf the web... or sometimes just when i start a torrent, or sometimes on xchat or chat on jabber... OK. It seems to be completely random.

The problem is that the wireless connection hangs. Wicd doesn't even recognize the problem. Sometimes it restart the connection and it works. Sometimes it's not enough and I've to reconnect many times or disable wlan0 and put it up again.

When the connection hangs, pages don't load, xchat lag bar goes up to the maximum, and I don't receive messages on IM. Torrents go to 0.0kB/s. So it completely freezes.

When this happens, I try a ping to my router and it doesn't give a reply or it just waits... sometimes after 20-30 seconds the reply arrives and I receive a lot of packages with 10000+ ms of ping. Sometimes I get packetloss.

The weird thing is that, when this problem happens, I get high pings even TO MY ROUTER! Not even to the outside. Like 100ms to my router...which is too much. I should get something around 1-2 ms (and I get it when the problem doesn't occur).

Normally, my connection gets 50ms ping to my country servers (100ms to very far places... like google servers for example).  And as I said... 1-2ms to my router when everything works fine.

I also talked about this problem on ubuntuforums (of course when I was on Ubuntu, then I switched to Arch and the problem disappeared, but now I got it even on Arch).
This is the link, you can find useful information on it like pings and other solutions tried (and failed)
http://ubuntuforums.org/showthread.php?t=1835190

I hope I can solve this problem... because I got it on any distribution (Ubuntu, Debian, Arch... all 64 bit). On windows it doesn't seem to happen.

Thank you for you attention!

Offline

#2 2011-10-30 21:48:53

quasifilmie
Member
Registered: 2011-10-27
Posts: 296

Re: Atheros AR9287 randomly hangs wireless connection

This might work.

sudo -s

echo "options ath9k nohwcrypt=1" > /etc/modprobe.d/ath9k.conf

Reboot.

If this does not solve the problem please post /etc/sysctl.conf.

Offline

#3 2011-10-30 23:08:03

pasqoo
Member
Registered: 2011-08-30
Posts: 13

Re: Atheros AR9287 randomly hangs wireless connection

quasifilmie wrote:

This might work.

sudo -s

echo "options ath9k nohwcrypt=1" > /etc/modprobe.d/ath9k.conf

Reboot.

If this does not solve the problem please post /etc/sysctl.conf.

I tried that nohwcrypt trick... but it didn't help in any distribution (as is written in the first post of ubuntuforums topic that I've linked) sad

Here's my /etc/sysctl.conf:

#
# Kernel sysctl configuration
#

# Disable packet forwarding
net.ipv4.ip_forward=0

# Disable the magic-sysrq key (console security issues)
kernel.sysrq = 0

# Enable TCP SYN Cookie Protection
net.ipv4.tcp_syncookies = 1

Thanks!

EDIT: You may also find this useful... to have an idea of "unstable ping" to my router (not even to the outside):

PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_req=1 ttl=64 time=2.83 ms
64 bytes from 192.168.1.1: icmp_req=2 ttl=64 time=4.93 ms
64 bytes from 192.168.1.1: icmp_req=3 ttl=64 time=18.4 ms
64 bytes from 192.168.1.1: icmp_req=4 ttl=64 time=42.1 ms
64 bytes from 192.168.1.1: icmp_req=5 ttl=64 time=1.82 ms
64 bytes from 192.168.1.1: icmp_req=6 ttl=64 time=3.05 ms
64 bytes from 192.168.1.1: icmp_req=7 ttl=64 time=25.9 ms
64 bytes from 192.168.1.1: icmp_req=8 ttl=64 time=1.78 ms
64 bytes from 192.168.1.1: icmp_req=9 ttl=64 time=1.83 ms
64 bytes from 192.168.1.1: icmp_req=10 ttl=64 time=1.79 ms
64 bytes from 192.168.1.1: icmp_req=11 ttl=64 time=1.77 ms
64 bytes from 192.168.1.1: icmp_req=12 ttl=64 time=14.9 ms
64 bytes from 192.168.1.1: icmp_req=13 ttl=64 time=13.3 ms
64 bytes from 192.168.1.1: icmp_req=14 ttl=64 time=66.0 ms
64 bytes from 192.168.1.1: icmp_req=15 ttl=64 time=2.33 ms
64 bytes from 192.168.1.1: icmp_req=16 ttl=64 time=5.79 ms
64 bytes from 192.168.1.1: icmp_req=17 ttl=64 time=47.3 ms
64 bytes from 192.168.1.1: icmp_req=18 ttl=64 time=38.1 ms
64 bytes from 192.168.1.1: icmp_req=19 ttl=64 time=1.86 ms
64 bytes from 192.168.1.1: icmp_req=20 ttl=64 time=2.78 ms
64 bytes from 192.168.1.1: icmp_req=21 ttl=64 time=22.7 ms
64 bytes from 192.168.1.1: icmp_req=22 ttl=64 time=41.3 ms
64 bytes from 192.168.1.1: icmp_req=23 ttl=64 time=2.11 ms
64 bytes from 192.168.1.1: icmp_req=24 ttl=64 time=19.3 ms
64 bytes from 192.168.1.1: icmp_req=25 ttl=64 time=2.30 ms
64 bytes from 192.168.1.1: icmp_req=26 ttl=64 time=29.2 ms
64 bytes from 192.168.1.1: icmp_req=27 ttl=64 time=48.0 ms
64 bytes from 192.168.1.1: icmp_req=28 ttl=64 time=7.47 ms
64 bytes from 192.168.1.1: icmp_req=29 ttl=64 time=30.2 ms
64 bytes from 192.168.1.1: icmp_req=30 ttl=64 time=52.3 ms
64 bytes from 192.168.1.1: icmp_req=31 ttl=64 time=2.39 ms
64 bytes from 192.168.1.1: icmp_req=32 ttl=64 time=20.6 ms
64 bytes from 192.168.1.1: icmp_req=33 ttl=64 time=17.3 ms
64 bytes from 192.168.1.1: icmp_req=34 ttl=64 time=5.95 ms
64 bytes from 192.168.1.1: icmp_req=35 ttl=64 time=24.1 ms
^C
--- 192.168.1.1 ping statistics ---
35 packets transmitted, 35 received, 0% packet loss, time 34049ms
rtt min/avg/max/mdev = 1.778/17.849/66.062/17.767 ms

I also did a ping to a remote server before this... and I had to wait some seconds before receive the first request back (right after I had booted my Arch).

Last edited by pasqoo (2011-10-30 23:15:04)

Offline

#4 2011-10-31 06:35:30

quasifilmie
Member
Registered: 2011-10-27
Posts: 296

Re: Atheros AR9287 randomly hangs wireless connection

pasqoo wrote:

I tried that nohwcrypt trick... but it didn't help in any distribution (as is written in the first post of ubuntuforums topic that I've linked) sad

Sorry, I should've actually looked at your link. Anyway, many users find disabling ipv6 solves the problem at least a bit. Try this. In essence, ipv6 is still available on an app's request with this command but it might do the trick,. If it doesn't work, what is the make of your router? ISP?

 echo "alias net-pf-10 off" >>/etc/modprobe.d/modprobe.conf 

reboot

Last edited by quasifilmie (2011-10-31 06:36:31)

Offline

#5 2011-10-31 14:21:43

pasqoo
Member
Registered: 2011-08-30
Posts: 13

Re: Atheros AR9287 randomly hangs wireless connection

quasifilmie wrote:
pasqoo wrote:

I tried that nohwcrypt trick... but it didn't help in any distribution (as is written in the first post of ubuntuforums topic that I've linked) sad

Sorry, I should've actually looked at your link. Anyway, many users find disabling ipv6 solves the problem at least a bit. Try this. In essence, ipv6 is still available on an app's request with this command but it might do the trick,. If it doesn't work, what is the make of your router? ISP?

 echo "alias net-pf-10 off" >>/etc/modprobe.d/modprobe.conf 

reboot

I added that line to my modprobe.conf.

My router is a TP-LINK TD-W8950ND. My ISP is Tiscali 20 Mbit (an italian ISP).

I'll let you know if I still have the problem after that ipv6 trick (I think I already tried it in Ubuntu, with Network Manager, and it didn't work).

Thanks see you!

Offline

#6 2011-11-01 12:08:15

pasqoo
Member
Registered: 2011-08-30
Posts: 13

Re: Atheros AR9287 randomly hangs wireless connection

Update: The system doesn't seem to do that "freeze" problem anymore (I repeat, SEEM... I still need more testing probably big_smile ).
Instead, it just disconnects and reconnects (I use wicd).

Actually it's better... because I can see easily when the problem happens (instead of noticing it by a ping in terminal or by trying to load web pages or checking xchat's lag bar).

But still... the problem is present...

Can I post some kind of logs to see why the connection get lost? If yes, what files??

Or ask me whatever you need to know to understand the problem smile

EDIT: I wanted to add this information.
This time my connection disconnected right after i deleted a torrent from qBittorrent. I selected "don't delete the file from hard disk"... pressed OK (so the torrent got deleted, but not the files on the hard disk) and the connection instantly got lost (and wicd reconnected right after...).
Maybe it could help you...

Last edited by pasqoo (2011-11-01 12:11:23)

Offline

#7 2011-11-01 19:22:33

quasifilmie
Member
Registered: 2011-10-27
Posts: 296

Re: Atheros AR9287 randomly hangs wireless connection

Okay, at least we are getting somewhere. What is the model of your computer?

Could you post the output of these commands

iwlist scan

dmesg | grep ath9k

dmesg | grep wlan0

also if rfkill is not installed do so and run rfkill list all and post that output

Try using networkmanager as it is better smile

Have you heard of or tried ndiswrapper?

Offline

#8 2011-11-01 21:46:27

pasqoo
Member
Registered: 2011-08-30
Posts: 13

Re: Atheros AR9287 randomly hangs wireless connection

quasifilmie wrote:

Okay, at least we are getting somewhere. What is the model of your computer?

Could you post the output of these commands

iwlist scan

dmesg | grep ath9k

dmesg | grep wlan0

also if rfkill is not installed do so and run rfkill list all and post that output

Try using networkmanager as it is better smile

Have you heard of or tried ndiswrapper?

[pasqoo@5742zg ~]$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: xx:yy:xx:yy:xx:yy
                    Channel:9
                    Frequency:2.452 GHz (Channel 9)
                    Quality=55/70  Signal level=-55 dBm  
                    Encryption key:on
                    ESSID:"Rete1010"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000001b3632dda3
                    Extra: Last beacon: 9472166ms ago
                    IE: Unknown: 00085265746531303130
                    IE: Unknown: 010882848B968C129824
                    IE: Unknown: 030109
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2A0100
                    IE: Unknown: 3204B048606C
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD0A00037F04010000004000
[pasqoo@5742zg ~]$ dmesg | grep ath9k
[    8.274211] ath9k 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    8.274225] ath9k 0000:03:00.0: setting latency timer to 64
[    8.425681] ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'
[    8.425972] Registered led device: ath9k-phy0
[pasqoo@5742zg ~]$ dmesg | grep wlan0
[   29.133974] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[   29.137261] wlan0: authenticated
[   29.137300] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[   29.139933] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[   29.139940] wlan0: associated
[ 2221.388366] wlan0: deauthenticated from xx:yy:xx:yy:xx:yy (Reason: 2)
[ 2222.910798] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[ 2222.912743] wlan0: authenticated
[ 2222.936167] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[ 2222.938789] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[ 2222.938796] wlan0: associated
[ 9508.125255] wlan0: deauthenticated from xx:yy:xx:yy:xx:yy (Reason: 2)
[ 9509.700795] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[ 9509.702712] wlan0: authenticated
[ 9509.702750] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[ 9509.705503] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[ 9509.705510] wlan0: associated
[ 9512.264286] wlan0: deauthenticating from xx:yy:xx:yy:xx:yy by local choice (reason=3)
[ 9520.856452] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[ 9520.861037] wlan0: authenticated
[ 9520.883321] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[ 9520.885948] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[ 9520.885955] wlan0: associated
[ 9748.018660] wlan0: deauthenticated from xx:yy:xx:yy:xx:yy (Reason: 2)
[ 9749.530180] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[ 9749.533847] wlan0: authenticated
[ 9749.533887] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[ 9749.536493] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[ 9749.536499] wlan0: associated
[ 9750.119755] wlan0: deauthenticating from xx:yy:xx:yy:xx:yy by local choice (reason=3)
[ 9758.707044] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[ 9758.708965] wlan0: authenticated
[ 9758.731283] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[ 9758.733949] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[ 9758.733955] wlan0: associated
[ 9867.969466] wlan0: deauthenticated from xx:yy:xx:yy:xx:yy (Reason: 2)
[ 9869.456515] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[ 9869.458668] wlan0: authenticated
[ 9869.458707] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[ 9869.461318] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[ 9869.461325] wlan0: associated
[ 9873.055034] wlan0: deauthenticating from xx:yy:xx:yy:xx:yy by local choice (reason=3)
[ 9881.661486] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[ 9881.663395] wlan0: authenticated
[ 9881.663435] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[ 9881.667087] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[ 9881.667093] wlan0: associated
[10107.865231] wlan0: deauthenticated from xx:yy:xx:yy:xx:yy (Reason: 2)
[10109.356332] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[10109.358291] wlan0: authenticated
[10109.380583] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[10109.383217] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[10109.383223] wlan0: associated
[10110.927835] wlan0: deauthenticating from xx:yy:xx:yy:xx:yy by local choice (reason=3)
[10119.502340] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[10119.504243] wlan0: authenticated
[10119.504285] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[10119.506960] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[10119.506967] wlan0: associated
[11607.201114] wlan0: deauthenticated from xx:yy:xx:yy:xx:yy (Reason: 2)
[11608.721788] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[11608.724256] wlan0: authenticated
[11608.724280] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[11608.726890] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[11608.726897] wlan0: associated
[11612.085738] wlan0: deauthenticating from xx:yy:xx:yy:xx:yy by local choice (reason=3)
[11620.720167] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[11620.722064] wlan0: authenticated
[11620.722105] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[11620.724778] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[11620.724782] wlan0: associated
[12176.945520] wlan0: deauthenticated from xx:yy:xx:yy:xx:yy (Reason: 2)
[12178.457755] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[12178.459888] wlan0: authenticated
[12178.459926] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[12178.462537] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[12178.462544] wlan0: associated
[12179.769452] wlan0: deauthenticating from xx:yy:xx:yy:xx:yy by local choice (reason=3)
[12188.384479] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[12188.387231] wlan0: authenticated
[12188.387261] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[12188.391539] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[12188.391543] wlan0: associated
[14425.919825] wlan0: deauthenticated from xx:yy:xx:yy:xx:yy (Reason: 2)
[14427.413675] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[14427.415572] wlan0: authenticated
[14427.437902] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[14427.440532] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[14427.440539] wlan0: associated
[14430.531143] wlan0: deauthenticating from xx:yy:xx:yy:xx:yy by local choice (reason=3)
[14439.175632] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[14439.177541] wlan0: authenticated
[14439.177582] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[14439.180211] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[14439.180218] wlan0: associated
[14635.826400] wlan0: deauthenticated from xx:yy:xx:yy:xx:yy (Reason: 2)
[14637.331059] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[14637.332958] wlan0: authenticated
[14637.332997] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[14637.335617] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[14637.335624] wlan0: associated
[14638.422479] wlan0: deauthenticating from xx:yy:xx:yy:xx:yy by local choice (reason=3)
[14647.041585] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[14647.043496] wlan0: authenticated
[14647.043537] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[14647.046147] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[14647.046153] wlan0: associated
[15115.605379] wlan0: deauthenticated from xx:yy:xx:yy:xx:yy (Reason: 2)
[15124.775976] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[15124.779083] wlan0: authenticated
[15124.801401] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[15124.804006] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[15124.804012] wlan0: associated
[18024.302876] wlan0: deauthenticated from xx:yy:xx:yy:xx:yy (Reason: 2)
[18025.826249] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[18025.828792] wlan0: authenticated
[18025.828833] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[18025.834023] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[18025.834029] wlan0: associated
[18027.598416] wlan0: deauthenticating from xx:yy:xx:yy:xx:yy by local choice (reason=3)
[18036.332201] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[18036.334113] wlan0: authenticated
[18036.334154] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[18036.336757] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[18036.336763] wlan0: associated
[18474.103160] wlan0: deauthenticated from xx:yy:xx:yy:xx:yy (Reason: 2)
[18483.946590] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[18483.948506] wlan0: authenticated
[18483.948546] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[18483.951137] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[18483.951143] wlan0: associated
[21292.823018] wlan0: deauthenticated from xx:yy:xx:yy:xx:yy (Reason: 2)
[21294.347388] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[21294.349307] wlan0: authenticated
[21294.349346] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[21294.351971] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[21294.351978] wlan0: associated
[21296.766271] wlan0: deauthenticating from xx:yy:xx:yy:xx:yy by local choice (reason=3)
[21305.399677] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[21305.401592] wlan0: authenticated
[21305.423844] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[21305.426459] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x431 status=0 aid=2)
[21305.426465] wlan0: associated
[21622.680698] wlan0: deauthenticated from xx:yy:xx:yy:xx:yy (Reason: 2)
[21624.222657] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[21624.224680] wlan0: authenticated
[21624.224718] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[21624.227356] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x31 status=0 aid=2)
[21624.227363] wlan0: associated
[21624.582965] wlan0: deauthenticating from xx:yy:xx:yy:xx:yy by local choice (reason=3)
[21633.219420] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[21633.223170] wlan0: authenticated
[21633.245344] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[21633.248054] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x31 status=0 aid=2)
[21633.248062] wlan0: associated
[22072.491473] wlan0: deauthenticated from xx:yy:xx:yy:xx:yy (Reason: 2)
[22073.998567] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[22074.000550] wlan0: authenticated
[22074.022849] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[22074.025461] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x31 status=0 aid=2)
[22074.025465] wlan0: associated
[22076.315917] wlan0: deauthenticating from xx:yy:xx:yy:xx:yy by local choice (reason=3)
[22084.964244] wlan0: authenticate with xx:yy:xx:yy:xx:yy (try 1)
[22084.966256] wlan0: authenticated
[22084.988647] wlan0: associate with xx:yy:xx:yy:xx:yy (try 1)
[22084.993263] wlan0: RX AssocResp from xx:yy:xx:yy:xx:yy (capab=0x31 status=0 aid=2)
[22084.993269] wlan0: associated
[pasqoo@5742zg ~]$ rfkill list all
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

I've been using NetworkManager when I was on ubuntu/gnome... no difference usually.

I think I've used ndiswrapper when I installed Arch, until I installed Xfce and I prefered using a GUI (wicd).

Thinking about it... I didn't have this kind of problems until I was using no GUI or facilities to connect to wireless...

Oh.. I modified all the mac address with xx:yy:xx:yy:xx:yy

Offline

#9 2011-11-02 20:40:19

quasifilmie
Member
Registered: 2011-10-27
Posts: 296

Re: Atheros AR9287 randomly hangs wireless connection

What is the model of your computer?

Offline

#10 2011-11-02 21:37:03

pasqoo
Member
Registered: 2011-08-30
Posts: 13

Re: Atheros AR9287 randomly hangs wireless connection

quasifilmie wrote:

What is the model of your computer?

Oops I forgot that.

It's an Acer Aspire 5742ZG-P614G32Mnkk
cpu: intel pentium p6100
gpu: ati mobility radeon hd 5470
ram: 4 gb ddr3
hdd: 320gb

Offline

#11 2011-11-04 23:30:17

quasifilmie
Member
Registered: 2011-10-27
Posts: 296

Re: Atheros AR9287 randomly hangs wireless connection

Unfortunately, acer laptops are not well-supported by the linux kernel.  If you set your router to accept wireless g only and disable wpa2 and instead use mac filtering, they might at least ameliorate your problem.

Offline

#12 2011-11-05 09:07:32

pasqoo
Member
Registered: 2011-08-30
Posts: 13

Re: Atheros AR9287 randomly hangs wireless connection

quasifilmie wrote:

Unfortunately, acer laptops are not well-supported by the linux kernel.  If you set your router to accept wireless g only and disable wpa2 and instead use mac filtering, they might at least ameliorate your problem.

Yesterday I noticed I didn't have wicd icon (on system tray) anymore... even if connection was established.
Anyway I removed wicd daemon and now I'm using these 2 commands:

wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf
dhcpcd wlan0

I put that code into /etc/rc.local

Anyway, isn't that no-wpa2 option unsecure? sad

My router is already set to wireless g only... with wpa2-personal and mac filtering on...

Offline

#13 2011-11-06 17:10:07

quasifilmie
Member
Registered: 2011-10-27
Posts: 296

Re: Atheros AR9287 randomly hangs wireless connection

Yes, it is unsecure but not if you set a mac filter. With the mac filter just whitelist your computer and those of the other people in your household. If you do that it will be secure albeit not as secure.

To get the mac address

For linux:

iwconfig

windows:

ipconfig /all

Offline

#14 2011-11-06 19:17:24

pasqoo
Member
Registered: 2011-08-30
Posts: 13

Re: Atheros AR9287 randomly hangs wireless connection

quasifilmie wrote:

Yes, it is unsecure but not if you set a mac filter. With the mac filter just whitelist your computer and those of the other people in your household. If you do that it will be secure albeit not as secure.

To get the mac address

For linux:

iwconfig

windows:

ipconfig /all

I prefer to not use that solution.

Thanks again for the support smile

Offline

#15 2012-02-26 16:46:32

Alve
Member
Registered: 2012-02-26
Posts: 1

Re: Atheros AR9287 randomly hangs wireless connection

Hi all! I have the same problem as described by topicstarter. My laptop is Acer 5552G with the same WiFi hardware. After many days of searching I see that this adapter works only with linux kernel version < 2.6.35. So, now I can use only LTS version of Ubuntu smile

Is any news about how to solve this problem? I am so sad that I want to download the kernel sources and look for myself, that was changed at Atheros drivers since 2.6.23 sad May be it's good reason to learn C...

Offline

#16 2012-02-26 16:57:12

quasifilmie
Member
Registered: 2011-10-27
Posts: 296

Re: Atheros AR9287 randomly hangs wireless connection

Arch has kernel26 in the repos. That might work for you.

Offline

#17 2012-02-26 19:47:27

pasqoo
Member
Registered: 2011-08-30
Posts: 13

Re: Atheros AR9287 randomly hangs wireless connection

I don't have Arch installed anymore. If that card keeps causing problems to you... just replace it with another wireless card...
At the moment I'm on Kubuntu, and it seems to work correctly (kernel 3.0.0); but sometimes it has problems like 200ms ping to my router neutral It just seems random.

Offline

Board footer

Powered by FluxBB