wlan0: deauthenticating from 00:05:b4:05:ac:7d by local choice (reason=3) when using ath9k driver and NetworkManager with Wireless Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01) on ASUS EEE PC 1005HA in Ubuntu 10.04 LTS

Asked by Chris on 2010-06-15

My wireless isn't working in newly installed Lucid, but it is with Windows XP. After referring to some forums, I got it to work temporarily, but now it is out again. I am new to Ubuntu and this is over my head. Would someone please help me settle this issue for good? Any help would be much appreciated.

Model: EEE PC 1005HA
Atheros AR9285 Wireless Network Adapter
ath9k driver

Here are the diagnostics I ran after looking at other forums.

*-network
       description: Wireless interface
       product: AR9285 Wireless Network Adapter (PCI-Express)
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlan0
       version: 01
       serial: 00:25:d3:d2:23:04
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath9k ip=192.168.16.103 latency=0 multicast=yes wireless=IEEE 802.11bgn
       resources: irq:17 memory:fbff0000-fbffffff
  *-network
       description: Ethernet interface
       product: Atheros AR8132 / L1c Gigabit Ethernet Adapter
       vendor: Atheros Communications
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: eth0
       version: c0
       serial: 90:e6:ba:84:fb:0f
       capacity: 100MB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=atl1c driverversion=1.0.0.1-NAPI firmware=N/A latency=0 link=no multicast=yes port=twisted pair
       resources: irq:28 memory:f7fc0000-f7ffffff ioport:ec00(size=128)
0: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wlan0 Scan completed :
          Cell 01 - Address: 00:05:B4:05:AC:7D
                    Channel:10
                    Frequency:2.457 GHz (Channel 10)
                    Quality=53/70 Signal level=-57 dBm
                    Encryption key:off
                    ESSID:"RT2561_1"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000008cc68d5bd8
                    Extra: Last beacon: 12ms ago
                    IE: Unknown: 00085254323536315F31
                    IE: Unknown: 010482848B96
                    IE: Unknown: 03010A
                    IE: Unknown: 2A0104
                    IE: Unknown: 32080C1218243048606C
          Cell 02 - Address: 1C:AF:F7:86:59:28
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=20/70 Signal level=-90 dBm
                    Encryption key:on
                    ESSID:"dlink"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000002d460e47a5
                    Extra: Last beacon: 3088ms ago
                    IE: Unknown: 0005646C696E6B
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030106
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C183060
                    IE: Unknown: 2D1AEE1117FFFF0000010000000000000000000000000C0000000000
                    IE: Unknown: 3D1606070000000000000000000000000000000000000000
                    IE: Unknown: 3E0100
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: 7F0101
                    IE: Unknown: DD07000C4307000000
                    IE: Unknown: 0706555320010B10
                    IE: Unknown: DD1E00904C33EE1117FFFF0000010000000000000000000000000C0000000000
                    IE: Unknown: DD1A00904C3406070000000000000000000000000000000000000000
                    IE: Unknown: DD050050F20500
                    IE: Unknown: DD750050F204104A00011010440001021041000100103B000103104700109641067A3C7321B410871CAFF786592810210006442D4C696E6B102300074449522D363035102400074449522D3630351042000830303030303030301054000800060050F2040001101100074449522D363035100800020086

auto lo
iface lo inet loopback

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GME Express Memory Controller Hub [8086:27ac] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GME Express Integrated Graphics Controller [8086:27ae] (rev 03)
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation N10/ICH 7 Family High Definition Audio Controller [8086:27d8] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 1 [8086:27d0] (rev 02)
00:1c.1 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 2 [8086:27d2] (rev 02)
00:1c.3 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 4 [8086:27d6] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation N10/ICH7 Family USB UHCI Controller #1 [8086:27c8] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 [8086:27c9] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 [8086:27ca] (rev 02)
00:1d.3 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 [8086:27cb] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller [8086:27cc] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 02)
00:1f.2 SATA controller [0106]: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller [8086:27c5] (rev 02)
01:00.0 Ethernet controller [0200]: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter [1969:1062] (rev c0)
02:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 4146:ba65 USBest Technology
Bus 001 Device 002: ID 13d3:5071 IMC Networks
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
H/W path Device Class Description
=======================================================
                                system 1005HA
/0 bus 1005HA
/0/0 memory 64KiB BIOS
/0/4 processor Intel(R) Atom(TM) CPU N270 @ 1.60G
/0/4/5 memory 24KiB L1 cache
/0/4/6 memory 512KiB L2 cache
/0/4/1.1 processor Logical CPU
/0/4/1.2 processor Logical CPU
/0/18 memory 1GiB System Memory
/0/18/0 memory 1GiB DIMM SDRAM Synchronous
/0/100 bridge Mobile 945GME Express Memory Control
/0/100/2 display Mobile 945GME Express Integrated Gra
/0/100/2.1 display Mobile 945GM/GMS/GME, 943/940GML Exp
/0/100/1b multimedia N10/ICH 7 Family High Definition Aud
/0/100/1c bridge N10/ICH 7 Family PCI Express Port 1
/0/100/1c.1 bridge N10/ICH 7 Family PCI Express Port 2
/0/100/1c.1/0 wlan0 network AR9285 Wireless Network Adapter (PCI
/0/100/1c.3 bridge N10/ICH 7 Family PCI Express Port 4
/0/100/1c.3/0 eth0 network Atheros AR8132 / L1c Gigabit Etherne
/0/100/1d bus N10/ICH7 Family USB UHCI Controller
/0/100/1d.1 bus N10/ICH 7 Family USB UHCI Controller
/0/100/1d.2 bus N10/ICH 7 Family USB UHCI Controller
/0/100/1d.3 bus N10/ICH 7 Family USB UHCI Controller
/0/100/1d.7 bus N10/ICH 7 Family USB2 EHCI Controlle
/0/100/1e bridge 82801 Mobile PCI Bridge
/0/100/1f bridge 82801GBM (ICH7-M) LPC Interface Brid
/0/100/1f.2 scsi0 storage 82801GBM/GHM (ICH7 Family) SATA AHCI
/0/100/1f.2/0.0.0 /dev/sda disk 160GB Hitachi HTS54321
/0/100/1f.2/0.0.0/1 /dev/sda1 volume 144GiB Windows NTFS volume
/0/100/1f.2/0.0.0/2 /dev/sda2 volume 5004MiB Windows FAT volume
/0/100/1f.2/0.0.0/3 /dev/sda3 volume 39MiB EFI (FAT-12/16/32) partition
/0/1 scsi4 storage
/0/1/0.0.0 /dev/sdb volume 1927MiB Windows FAT volume
Linux ubuntu 2.6.32-21-generic #32rsalveti1 SMP Sat Apr 17 14:06:35 BRT 2010 i686 GNU/Linux
[ 0.000000] AMI BIOS detected: BIOS may corrupt low RAM, working around it.
[ 0.000000] found SMP MP-table at [c00ff780] ff780
[ 0.201412] ACPI Error (dswload-0659): [USB0] Namespace lookup failure, AE_NOT_FOUND
[ 0.201444] ACPI Error (psparse-0537): Method parse/execution failed [\] (Node c08d27dc), AE_NOT_FOUND
[ 0.246891] ACPI: No dock devices found.
[ 0.296340] Switching to clocksource tsc
[ 0.307318] pnp: PnP ACPI: found 13 devices
[ 0.380628] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
[ 0.385469] ACPI: Lid Switch [LID]
[ 0.394177] Switching to clocksource hpet
[ 0.476869] ehci_hcd 0000:00:1d.7: using broken periodic workaround
[ 0.528966] hub 1-0:1.0: USB hub found
[ 0.529955] hub 2-0:1.0: USB hub found
[ 0.530699] hub 3-0:1.0: USB hub found
[ 0.531490] hub 4-0:1.0: USB hub found
[ 0.532416] hub 5-0:1.0: USB hub found
[ 0.701637] device-mapper: multipath: version 1.1.0 loaded
[ 0.701650] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 0.733805] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 0.832313] isapnp: No Plug & Play device found
[ 1.350246] usb-storage: device found at 3
[ 15.810747] lp: driver loaded but no devices found
[ 17.005009] uvcvideo: Found UVC 1.00 device USB2.0 UVC 1.3M WebCam (13d3:5071)
[ 17.168976] ath9k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 17.169035] ath9k 0000:02:00.0: setting latency timer to 64
[ 17.218663] ath: EEPROM regdomain: 0x60
[ 17.218669] ath: EEPROM indicates we should expect a direct regpair map
[ 17.218678] ath: Country alpha2 being used: 00
[ 17.218683] ath: Regpair used: 0x60
[ 17.362222] phy0: Selected rate control algorithm 'ath9k_rate_control'
[ 17.364066] Registered led device: ath9k-phy0::radio
[ 17.364114] Registered led device: ath9k-phy0::assoc
[ 17.364160] Registered led device: ath9k-phy0::tx
[ 17.364207] Registered led device: ath9k-phy0::rx
[ 17.875930] Console: switching to colour frame buffer device 128x37
[ 22.028932] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 22.057603] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 34.552601] wlan0: direct probe to AP 00:05:b4:05:ac:7d (try 1)
[ 34.552666] wlan0: deauthenticating from 00:05:b4:05:ac:7d by local choice (reason=3)
[ 34.552744] wlan0: direct probe to AP 00:05:b4:05:ac:7d (try 1)
[ 34.555581] wlan0: direct probe responded
[ 34.555595] wlan0: authenticate with AP 00:05:b4:05:ac:7d (try 1)
[ 34.559399] wlan0: authenticated
[ 34.559456] wlan0: associate with AP 00:05:b4:05:ac:7d (try 1)
[ 34.561734] wlan0: RX AssocResp from 00:05:b4:05:ac:7d (capab=0x401 status=0 aid=2)
[ 34.561744] wlan0: associated
[ 34.562572] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 45.324059] wlan0: no IPv6 routers present
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"RT2561_1"
          Mode:Managed Frequency:2.457 GHz Access Point: 00:05:B4:05:AC:7D
          Bit Rate=54 Mb/s Tx-Power=20 dBm
          Retry long limit:7 RTS thr:off Fragment thr:off
          Power Management:off
          Link Quality=53/70 Signal level=-57 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

/etc/modprobe.d/blacklist.conf:# replaced by b43 and ssb.
/etc/modprobe.d/blacklist-watchdog.conf:blacklist twl4030_wdt
23: PCI 200.0: 0282 WLAN controller
  [Created at pci.318]
  Unique ID: y9sn.apYiokQ9666
  Parent ID: qTvu.bQ30eTbcr+3
  SysFS ID: /devices/pci0000:00/0000:00:1c.1/0000:02:00.0
  SysFS BusID: 0000:02:00.0
  Hardware Class: network
  Model: "Atheros WLAN controller"
  Vendor: pci 0x168c "Atheros Communications Inc."
  Device: pci 0x002b
  SubVendor: pci 0x1a3b
  SubDevice: pci 0x1089
  Revision: 0x01
  Driver: "ath9k"
  Driver Modules: "ath9k"
  Device File: wlan0
  Features: WLAN
  Memory Range: 0xfbff0000-0xfbffffff (rw,non-prefetchable)
  IRQ: 17 (7460 events)
  HW Address: 00:25:d3:d2:23:04
  Link detected: yes
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 2.484
  WLAN encryption modes: WEP40 WEP104 TKIP CCMP
  WLAN authentication modes: open sharedkey wpa-psk wpa-eap
  Module Alias: "pci:v0000168Cd0000002Bsv00001A3Bsd00001089bc02sc80i00"
  Driver Info #0:
    Driver Status: ath9k is active
    Driver Activation Cmd: "modprobe ath9k"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #13 (PCI bridge)

24: PCI 100.0: 0200 Ethernet controller
  [Created at pci.318]
  Unique ID: rBUF.Qk9ZRmN_Ab8
  Parent ID: Z7uZ.f4r+Yl3RyX5
  SysFS ID: /devices/pci0000:00/0000:00:1c.3/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: network
  Model: "Attansic Ethernet controller"
  Vendor: pci 0x1969 "Attansic Technology Corp."
  Device: pci 0x1062
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x838a
  Revision: 0xc0
  Driver: "atl1c"
  Driver Modules: "atl1c"
  Device File: eth0
  Memory Range: 0xf7fc0000-0xf7ffffff (rw,non-prefetchable)
  I/O Ports: 0xec00-0xec7f (rw)
  IRQ: 28 (1 event)
  HW Address: 90:e6:ba:84:fb:0f
  Link detected: no
  Module Alias: "pci:v00001969d00001062sv00001043sd0000838Abc02sc00i00"
  Driver Info #0:
    Driver Status: atl1c is active
    Driver Activation Cmd: "modprobe atl1c"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #14 (PCI bridge)
 * Reconfiguring network interfaces... Ignoring unknown interface wlan0=wlan0.

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Last query:
2010-06-20
Last reply:
2010-06-15

Hi,

I suspect that your wireless card is experiencing this bug:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/548992

Please try the workaround solution here:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/548992/comments/24

If the workaround procedure does not help, then I suggest installing wicd instead, which will replace Network Manager as your wireless access manager.

See here for more information about wicd:

http://en.wikipedia.org/wiki/Wicd

Regards,

Mark

The device has an IP so lets test this.

gksudo gedit /etc/resolv.conf

empty the file of text and add these 2 lines:

nameserver 8.8.8.8
nameserver 8.8.4.4

Save the new file and close gedit, then restart any web browsers. Does the web work?

Chris (chhampton38) said : #3

actionparsnip - After editing resolv.conf still no luck with internet.

Mark - I had some trouble with the workaround solution due mostly to my novice. I couldn't figure out how to edit the kernel in grub, so I tried to edit /boot/grub/menu.lst in a text editor, but when I opened it there was no text in the file to edit.

So I moved onto installing Wicd. After installation the internet worked! However, I'm going to wait for another day to call it a success, because last time it worked for about a day before going out again.

Thanks a lot!

I personally advise wicd (although it doesn't support 3G as far as I know) but wicd will run cleanly in ANY DE :)

Let us know how you get on.

Chris (chhampton38) said : #5

Its still working. Thanks for the help everyone!

Chris (chhampton38) said : #6

Thanks Mark Rijckenberg, that solved my question.

Chris (chhampton38) said : #7

Hello again. It seems the problem has resurfaced, and the wireless internet connection in Ubuntu is hit or miss, while still consistently reliable in Windows XP. Is there any more information I could provide for someone to help me solve this problem? Or perhaps point me in the right direction?

Can you help with this problem?

Provide an answer of your own, or ask Chris for more information if necessary.

To post a message you must log in.