Skip to contentSkip to conversation

Authentication problem in n-mode with no encription.

ath9k-devel Dmitri Seletski 1 participant 1 message Dec 1, 2009

lore
Share & tools
lore
#0 lore raw

Hello guys.
I am not sure what to do.
I have DAP-1353 <http://www.dlink.com> access point with latest available firmware from vendor.

and adaptor below:

01:07.0 Network controller: Atheros Communications Inc. AR5416 802.11abgn Wireless PCI Adapter (rev 01)
Subsystem: D-Link System Inc Device 3a6b
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 168, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 19
Region 0: Memory at f5ff0000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [40] #80 [0000]
Kernel driver in use: ath9k
Kernel modules: ath9k

What works: connecting in g mode(didn't check a/b) from amd64 linux to access point.
Access point is in master mode.(ap mode) I am able to connect in b/g/n mixed mode

What doesn't work connecting pc to AP in N only mode. In order to connect I set AP in N only mode.

I get quite a few of those in dmesg:

[ 4079.676124] wlan0: associate with AP 00:1e:58:b4:f6:83 (try 1)
[ 4079.876032] wlan0: associate with AP 00:1e:58:b4:f6:83 (try 2)
[ 4079.882898] wlan0: deauthenticated from 00:1e:58:b4:f6:83 (Reason: 9)

My wpa supplicant: /root/wpa.conf
network={
ssid="dlink"
key_mgmt=NONE
# bssid=00:1e:58:b4:f6:83
}

No wep or any other encryption is used.

I also tried to connect AP in client mode. For that I installed hostap utility.
below config:
interface=wlan0
driver=nl80211
ssid=dlink1
ieee80211n=1
hw_mode=g

Whenever i scan for networks from AP i can see other networks but not my own pc.

I could see my network from other pc, however, its windows 7 and i couldn't connect to my pc from it. Possibly windows 7 doesn't recognize connection as working without properly working tcp/ip network. dunno about that.

My only concern is N mode between ap and my pc.
What should i do in order to get rid of those " wlan0: deauthenticated from 00:1e:58:b4:f6:83 (Reason: 9)" messages?
I don't care about "hostap"@this time.

My system: Linux dimko 2.6.32-rc8 #1 SMP PREEMPT Thu Nov 26 14:28:47 GMT 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ AuthenticAMD GNU/Linux

Driver is downloaded from your site and is roughly one day old:
compat-wireless-2009-11-30(from tar file)

Thank you in advance
Dmitri