Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2014 07:08:59 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Alexandr <shuriku@shurik.kiev.ua>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: Problem connecting to AP
Message-ID:  <CAJ-VmomRPONT1WiSOFwT4F5XT9VhzBaU_Qd6sLxFzpLXhFhi2A@mail.gmail.com>
In-Reply-To: <52CAC6B6.8090007@shurik.kiev.ua>
References:  <52CAB6F2.3010707@shurik.kiev.ua> <CAJ-Vmok0JFLBemBOrB0YUnJ0OkJQEwuh1Mg75W52zWxXYrDpvg@mail.gmail.com> <52CABD82.2070106@shurik.kiev.ua> <CAJ-VmokuY5Tk_D=wQCGGw1t%2B4TJCzqDWQ6gyHOpz0==qY%2BfZaA@mail.gmail.com> <52CAC368.3000105@shurik.kiev.ua> <CAJ-Vmo=Q8yjDfB4wF1kiQv0eJs2esGVuqcSvAy20qqNZSJxCcA@mail.gmail.com> <CAJ-Vmo=QgE7BXEAj_omdfJaweqzy_LooNzZTdPEPfD5ahY4%2B9w@mail.gmail.com> <52CAC6B6.8090007@shurik.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Which AP is it?

I kinda want to see a packet dump of the negotiation exchange. I'm
worried that your AP is deciding to kick you off because you don't
meet some minimum rate selection or something.

-a

On 6 January 2014 07:07, Alexandr <shuriku@shurik.kiev.ua> wrote:
> Yes, just now it works in 11n-only. But I tried switch it to bgn-mixed,
> g-only, n-only - no luck.
>
> /var/log/dmesg.today:
>
> wlan0: [54:e6:fc:e4:48:c4] recv auth frame with algorithm 0 seq 2
> wlan0: link state changed to UP
> wlan0: [54:e6:fc:e4:48:c4] recv deauthenticate (reason 2)
> wlan0: link state changed to DOWN
>
> /var/log/messages:
>
> Jan  6 17:05:03 thinkpad wpa_supplicant[27113]: wlan0: Trying to
> associate with 54:e6:fc:e4:48:c4 (SSID=3D'door' freq=3D2412 MHz)
> Jan  6 17:05:03 thinkpad wpa_supplicant[27113]: wlan0: Associated with
> 54:e6:fc:e4:48:c4
> Jan  6 17:05:06 thinkpad wpa_supplicant[27113]: wlan0:
> CTRL-EVENT-DISCONNECTED bssid=3D54:e6:fc:e4:48:c4 reason=3D0
> Jan  6 17:05:17 thinkpad wpa_supplicant[27113]: wlan0: Trying to
> associate with 54:e6:fc:e4:48:c4 (SSID=3D'door' freq=3D2412 MHz)
> Jan  6 17:05:17 thinkpad wpa_supplicant[27113]: wlan0: Associated with
> 54:e6:fc:e4:48:c4
> Jan  6 17:05:20 thinkpad wpa_supplicant[27113]: wlan0:
> CTRL-EVENT-DISCONNECTED bssid=3D54:e6:fc:e4:48:c4 reason=3D0
>
> 06.01.2014 16:56, Adrian Chadd =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
>> .. and is the AP locked down to 11n only or something?
>>
>>
>> -a
>>
>> On 6 January 2014 06:55, Adrian Chadd <adrian@freebsd.org> wrote:
>>> Whta's logged in dmesg?
>>>
>>>
>>> -a
>>>
>>> On 6 January 2014 06:53, Alexandr <shuriku@shurik.kiev.ua> wrote:
>>>> =D0=9E=D0=BA, I changed key to "secretsecretsecret", the same error - =
WPA: 4-Way
>>>> Handshake failed - pre-shared key may be incorrect.
>>>>
>>>> <3>Trying to associate with 54:e6:fc:e4:48:c4 (SSID=3D'door' freq=3D24=
12 MHz)
>>>> <3>Associated with 54:e6:fc:e4:48:c4
>>>> <3>CTRL-EVENT-DISCONNECTED bssid=3D54:e6:fc:e4:48:c4 reason=3D0
>>>> <3>WPA: 4-Way Handshake failed - pre-shared key may be incorrect
>>>> <3>CTRL-EVENT-SSID-TEMP-DISABLED id=3D0 ssid=3D"door" auth_failures=3D=
8
>>>> duration=3D30
>>>>
>>>> But it successfully connects to my android phone:
>>>>
>>>> wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 m=
tu 1500
>>>>         ether 68:5d:43:92:3a:88
>>>>         inet 192.168.1.227 netmask 0xffffff00 broadcast 192.168.1.255
>>>>         nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>>>>         media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
>>>>         status: associated
>>>>         ssid htc channel 6 (2437 MHz 11g ht/20) bssid 84:7a:88:c9:25:c=
e
>>>>         country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
>>>>         AES-CCM 2:128-bit txpower 15 bmiss 10 scanvalid 60 bgscan
>>>>         bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 protmo=
de CTS
>>>>         ampdulimit 16k -amsdutx amsdurx shortgi wme roaming MANUAL
>>>>
>>>>
>>>> May be it AP-related problem? But why other devices works (laptop with
>>>> opensuse and different android devices)
>>>>
>>>> 06.01.2014 16:43, Adrian Chadd =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
>>>>> You still need a longer password, psk isn't WPA long. Try secretsecre=
tsecret.
>>>>>
>>>>>
>>>>> -a
>>>>>
>>>>> On 6 January 2014 06:28, Alexandr <shuriku@shurik.kiev.ua> wrote:
>>>>>> I simply changed key in this listing to "secret". Yes, I tried a ver=
y
>>>>>> simple configuration, no luck:
>>>>>>
>>>>>> network=3D{
>>>>>> ssid=3D"door"
>>>>>> psk=3D"secret"
>>>>>> }
>>>>>>
>>>>>>
>>>>>> 06.01.2014 16:24, Adrian Chadd =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
>>>>>>> The passphrase 'secret' is too short for WPA.
>>>>>>>
>>>>>>> I gather it's not _that_, but is it long enough to meet WPA reuirem=
ents?
>>>>>>>
>>>>>>> Have you tried removing the proto=3D and bssid lines? You don't str=
ictly
>>>>>>> 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 i=
rq 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=3D54:e6:fc:e4:48:c4 reason=3D0
>>>>>>>> wpa_supplicant[519]: wlan0: WPA: 4-Way Handshake failed - pre-shar=
ed key
>>>>>>>> may be incorrect
>>>>>>>> wpa_supplicant[519]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=3D0
>>>>>>>> ssid=3D"door" auth_failures=3D10 duration=3D30
>>>>>>>>
>>>>>>>> I tried different security settings (WPA-WPA2 + AES-TKIP), wireles=
s
>>>>>>>> modes, radio channels on my access point, the same error.
>>>>>>>>
>>>>>>>> # ifconfig wlan0
>>>>>>>> wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric=
 0 mtu 1500
>>>>>>>>         ether 68:5d:43:92:3a:88
>>>>>>>>         nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>>>>>>>>         media: IEEE 802.11 Wireless Ethernet autoselect (autoselec=
t)
>>>>>>>>         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 25=
0
>>>>>>>>         roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdu=
tx amsdurx
>>>>>>>>         shortgi wme roaming MANUAL
>>>>>>>>
>>>>>>>> /etc/wpa_supplicant.conf:
>>>>>>>>
>>>>>>>>         ctrl_interface=3D/var/run/wpa_supplicant
>>>>>>>>         ctrl_interface_group=3Dwheel
>>>>>>>>         eapol_version=3D2
>>>>>>>>
>>>>>>>> network=3D{
>>>>>>>>         ssid=3D"door"
>>>>>>>>         bssid=3D54:e6:fc:e4:48:c4
>>>>>>>>         key_mgmt=3DWPA-PSK
>>>>>>>>         proto=3DWPA RSN
>>>>>>>>         psk=3D"secret"
>>>>>>>> }
>>>>>>>>
>>>>>>>>
>>>>>>>> Other home devices connets to AP without problems. Can you point m=
e how
>>>>>>>> I can debug it?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> freebsd-wireless@freebsd.org mailing list
>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>>>>>>>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@fre=
ebsd.org"
>



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