Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2014 15:41:34 +0200
From:      Alexandr <shuriku@shurik.kiev.ua>
To:        freebsd-wireless@freebsd.org
Subject:   Re: Problem connecting to AP
Message-ID:  <5304B48E.8070404@shurik.kiev.ua>
In-Reply-To: <52CE4FBD.3060208@shurik.kiev.ua>
References:  <52CAB6F2.3010707@shurik.kiev.ua> <CAJ-Vmok0JFLBemBOrB0YUnJ0OkJQEwuh1Mg75W52zWxXYrDpvg@mail.gmail.com> <52CABD82.2070106@shurik.kiev.ua> <52CBFFD3.1080504@dat.pl> <52CE4E00.3060102@shurik.kiev.ua> <52CE4FBD.3060208@shurik.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
09.01.2014 09:29, Alexandr пишет:
> By the way, it connects to my work Cisco and Linksys AP's (but only 11g)
> without any problems...
>
> 09.01.2014 09:21, Alexandr пишет:
>> No, wpa_passphrase didn't help me.
>>
>> 07.01.2014 15:23, Maciej Milewski пишет:
>>> On 06.01.2014 15:28, Alexandr wrote:
>>>> I simply changed key in this listing to "secret". Yes, I tried a very
>>>> simple configuration, no luck:
>>>>
>>>> network={
>>>> ssid="door"
>>>> psk="secret"
>>>> }
>>> Try using wpa_passphrase:
>>> man wpa_passphrase.
>>> It should create correct psk.
>>>
>>>> 06.01.2014 16:24, Adrian Chadd пишет:
>>>>> The passphrase 'secret' is too short for WPA.
>>>>>
>>>>> I gather it's not _that_, but is it long enough to meet WPA reuirements?
>>>>>
>>>>> Have you tried removing the proto= and bssid lines? You don't strictly
>>>>> need them.
>>>>>
>>>>> Thanks!
>>>>>
>>>>> -a
>>>>>
>>>>>
>>>>> On 6 January 2014 06:00, Alexandr <shuriku@shurik.kiev.ua> wrote:
>>>>>> Hello,
>>>>>>
>>>>>> I recently upgraded system on my laptop to current with a hope to get my
>>>>>> wireless card working. Now it successfully recognized by kernel:
>>>>>>
>>>>>> iwn0: <Intel Centrino Wireless-N 2230> mem 0xf2d00000-0xf2d01fff irq 17
>>>>>> at device 0.0 on pci3
>>>>>>
>>>>>> Unfortunately, I can't connect to my home access point:
>>>>>>
>>>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-DISCONNECTED
>>>>>> bssid=54:e6:fc:e4:48:c4 reason=0
>>>>>> wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-shared key
>>>>>> may be incorrect
>>>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0
>>>>>> ssid="door" auth_failures=10 duration=30
>>>>>>
>>>>>> I tried different security settings (WPA-WPA2 + AES-TKIP), wireless
>>>>>> modes, radio channels on my access point, the same error.
>>>>>>
>>>>>> # ifconfig wlan0
>>>>>> wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>>>>>         ether 68:5d:43:92:3a:88
>>>>>>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>>>>>>         media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>>>>>>         status: no carrier
>>>>>>         ssid door channel 1 (2412 MHz 11g ht/40+)
>>>>>>         country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
>>>>>> txpower 13
>>>>>>         bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
>>>>>>         roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdutx amsdurx
>>>>>>         shortgi wme roaming MANUAL
>>>>>>
>>>>>> /etc/wpa_supplicant.conf:
>>>>>>
>>>>>>         ctrl_interface=/var/run/wpa_supplicant
>>>>>>         ctrl_interface_group=wheel
>>>>>>         eapol_version=2
>>>>>>
>>>>>> network={
>>>>>>         ssid="door"
>>>>>>         bssid=54:e6:fc:e4:48:c4
>>>>>>         key_mgmt=WPA-PSK
>>>>>>         proto=WPA RSN
>>>>>>         psk="secret"
>>>>>> }
>>>>>>
>>>>>>
>>>>>> Other home devices connets to AP without problems. Can you point me how
>>>>>> I can debug it?
>>>>>>
>
Hello!
Now I have changed my home access point to new Zyxel Keenetic Giga II
and see the same picture - it still cannot connect to AP in 11n mode:

Feb 19 15:33:05 thinkpad wpa_supplicant[518]: wlan0:
CTRL-EVENT-SSID-REENABLED id=1 ssid="Keenetic-4703"
Feb 19 15:33:05 thinkpad kernel: wlan0: [10:7b:ef:54:c5:c4] station
assoc via MLME
Feb 19 15:33:05 thinkpad kernel: wlan0: [10:7b:ef:54:c5:c4] switch
station to HT40 channel 2462/0x40480
Feb 19 15:33:05 thinkpad wpa_supplicant[518]: wlan0: Trying to associate
with 10:7b:ef:54:c5:c4 (SSID='Keenetic-4703' freq=2462 MHz)
Feb 19 15:33:05 thinkpad kernel: wlan0: [10:7b:ef:54:c5:c4] recv auth
frame with algorithm 0 seq 2
Feb 19 15:33:05 thinkpad kernel: wlan0: [10:7b:ef:54:c5:c4] assoc
success at aid 1: long preamble, short slot time, QoS, HT40 (+AMPDU)
Feb 19 15:33:05 thinkpad kernel: wlan0: link state changed to UP
Feb 19 15:33:05 thinkpad wpa_supplicant[518]: wlan0: Associated with
10:7b:ef:54:c5:c4
Feb 19 15:33:05 thinkpad dhclient[2628]: send_packet: No buffer space
available
Feb 19 15:33:11 thinkpad last message repeated 2 times
Feb 19 15:33:11 thinkpad kernel: wlan0: [10:7b:ef:54:c5:c4] recv
deauthenticate (reason 15)
Feb 19 15:33:11 thinkpad kernel: wlan0: link state changed to DOWN
Feb 19 15:33:11 thinkpad wpa_supplicant[518]: wlan0:
CTRL-EVENT-DISCONNECTED bssid=10:7b:ef:54:c5:c4 reason=0
Feb 19 15:33:11 thinkpad wpa_supplicant[518]: wlan0: WPA: 4-Way
Handshake failed - pre-shared key may be incorrect
Feb 19 15:33:11 thinkpad wpa_supplicant[518]: wlan0:
CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="Keenetic-4703" auth_failures=13
duration=60

Is any way to restrict wlan0 to operate only in ht20? ifconfig wlan0
channel 11:ht/20 didn't help

P.S. If I simply switch AP to 11g-mode my laptop connects to it.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5304B48E.8070404>