Wifi gets disconnected and reconnects only on rmmod/modprobe

I have got a DSL connection from my ISP, at home I plug in the cable to the PRONET wifi router ( Specifications of 54Mbps Wireless Router :: Wireless products :: from Pronet :: Kunhar Peripherals Pvt Ltd ) and connect to it using my HP Pavallion DV6 laptop having openSUSE11.2, KDE4.3.5.
The wirelsess card is “Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express)”
It works very good on connecting, but after some time it gets disconnected on its own. I am able to reconnect only when doing “rmmod ath9k” and “modprobe ath9k”. The entries in /var/log/messages when its gets disconnected is:


Apr 17 15:17:38 linux-wrb8 SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
Apr 17 15:17:38 linux-wrb8 SuSEfirewall2: using default zone 'ext' for interface pan0
Apr 17 15:17:38 linux-wrb8 SuSEfirewall2: using default zone 'ext' for interface wmaster0
Apr 17 15:17:38 linux-wrb8 SuSEfirewall2: batch committing...
Apr 17 15:17:38 linux-wrb8 SuSEfirewall2: Firewall rules successfully set
Apr 17 15:17:38 linux-wrb8 sm-notify[7484]: Already notifying clients; Exiting!
Apr 17 15:19:41 linux-wrb8 smartd[2018]: Device: /dev/sda [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 68 to 56
Apr 17 15:19:41 linux-wrb8 smartd[2018]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 171 to 125
Apr 17 15:20:47 linux-wrb8 kernel:  1897.606252] wlan0: deauthenticated (Reason: 7)
Apr 17 15:20:48 linux-wrb8 kernel:  1898.606180] wlan0: direct probe to AP 00:23:cd:14:93:8c try 1
Apr 17 15:20:48 linux-wrb8 kernel:  1898.609799] wlan0 direct probe responded
Apr 17 15:20:48 linux-wrb8 kernel:  1898.609814] wlan0: authenticate with AP 00:23:cd:14:93:8c
Apr 17 15:20:48 linux-wrb8 kernel:  1898.611837] wlan0: authenticated
Apr 17 15:20:48 linux-wrb8 kernel:  1898.611848] wlan0: associate with AP 00:23:cd:14:93:8c
Apr 17 15:20:48 linux-wrb8 kernel:  1898.614555] wlan0: RX ReassocResp from 00:23:cd:14:93:8c (capab=0x431 status=0 aid=1)
Apr 17 15:20:48 linux-wrb8 kernel:  1898.614569] wlan0: associated
Apr 17 15:20:55 linux-wrb8 kernel:  1904.981681] wlan0: deauthenticated (Reason: 7)
Apr 17 15:20:56 linux-wrb8 kernel:  1905.981184] wlan0: direct probe to AP 00:23:cd:14:93:8c try 1
Apr 17 15:20:56 linux-wrb8 kernel:  1905.984836] wlan0 direct probe responded
Apr 17 15:20:56 linux-wrb8 kernel:  1905.984851] wlan0: authenticate with AP 00:23:cd:14:93:8c
Apr 17 15:20:56 linux-wrb8 kernel:  1905.986782] wlan0: authenticated
Apr 17 15:20:56 linux-wrb8 kernel:  1905.986794] wlan0: associate with AP 00:23:cd:14:93:8c
Apr 17 15:20:56 linux-wrb8 kernel:  1905.989429] wlan0: RX ReassocResp from 00:23:cd:14:93:8c (capab=0x431 status=0 aid=1)
Apr 17 15:20:56 linux-wrb8 kernel:  1905.989442] wlan0: associated
Apr 17 15:21:02 linux-wrb8 kernel:  1911.973548] wlan0: deauthenticated (Reason: 7)
Apr 17 15:21:03 linux-wrb8 avahi-daemon[1785]: Withdrawing address record for 192.168.1.100 on wlan0.
Apr 17 15:21:03 linux-wrb8 avahi-daemon[1785]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.100.
Apr 17 15:21:03 linux-wrb8 avahi-daemon[1785]: Interface wlan0.IPv4 no longer relevant for mDNS.
Apr 17 15:21:03 linux-wrb8 kernel:  1912.973159] wlan0: direct probe to AP 00:23:cd:14:93:8c try 1
Apr 17 15:21:03 linux-wrb8 kernel:  1912.978285] wlan0 direct probe responded
Apr 17 15:21:03 linux-wrb8 kernel:  1912.978293] wlan0: authenticate with AP 00:23:cd:14:93:8c
Apr 17 15:21:03 linux-wrb8 kernel:  1912.980349] wlan0: authenticated
Apr 17 15:21:03 linux-wrb8 kernel:  1912.980361] wlan0: associate with AP 00:23:cd:14:93:8c
Apr 17 15:21:03 linux-wrb8 kernel:  1912.983007] wlan0: RX ReassocResp from 00:23:cd:14:93:8c (capab=0x431 status=0 aid=1)
Apr 17 15:21:03 linux-wrb8 kernel:  1912.983020] wlan0: associated
Apr 17 15:21:03 linux-wrb8 kernel:  1912.983803] wlan0: disassociating by local choice (reason=3)

Also output for iwlist and iwconfig when trying to reconnect:


linux-wrb8:/home/vivek # iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

pan0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     Interface doesn't support scanning : Device or resource busy

linux-wrb8:/home/vivek # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

pan0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"f2\x0D\xB71X\xA3Z%]\x05\x17X\xE9^\xD4\xAB\xB2\xCD\xC6\x9B\xB4T\x11\x0E\x82tA!=\xDC\x87"
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated
          Tx-Power=20 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

The iwlist shows the device is busy and iwconfig shows that system does not know the correct SSID. When the connection is working finely the output is:


linux-wrb8:/home/vivek # iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

pan0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:23:CD:14:93:8C
                    Channel:6                 
                    Frequency:2.437 GHz (Channel 6)
                    Quality=22/70  Signal level=-88 dBm  
                    Encryption key:on                    
                    ESSID:"PRONET"                       
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              12 Mb/s; 24 Mb/s; 36 Mb/s
                    Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000092a31181
                    Extra: Last beacon: 4993ms ago
                    IE: Unknown: 000650524F4E4554
                    IE: Unknown: 010882848B960C183048
                    IE: Unknown: 030106
                    IE: Unknown: 0706494E20010D14
                    IE: Unknown: 2A0100
                    IE: Unknown: 32041224606C
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                       Preauthentication Supported
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD0900037F01010008FF7F
                    IE: Unknown: DD1A00037F03010000000023CD14938C0223CD14938C64002C010808

linux-wrb8:/home/vivek # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

pan0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"PRONET"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:23:CD:14:93:8C
          Bit Rate=54 Mb/s   Tx-Power=20 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:368C-6B84-D3A6-9B62-462D-5FBE-448D-4532-7A9F-3AD7-24C0-335D-D64E-E34D-4B6E-DEE4 [3]
          Power Management:on
          Link Quality=65/70  Signal level=-45 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Can anyone help me how to get this fixed… or give me some pointers in some direction :slight_smile:
Any help will be deeply appreciated…