From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 6 14:55:49 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B843C66C for ; Mon, 6 Jan 2014 14:55:49 +0000 (UTC) Received: from mail-qc0-x235.google.com (mail-qc0-x235.google.com [IPv6:2607:f8b0:400d:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 731F01806 for ; Mon, 6 Jan 2014 14:55:49 +0000 (UTC) Received: by mail-qc0-f181.google.com with SMTP id e9so17744988qcy.12 for ; Mon, 06 Jan 2014 06:55:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=D/kiHYbQQp75AA0t8tmcaNwQVwCRx7OH0KyVXHPGCow=; b=1Eq7FRhDNYRo7ghIGUTYqSjuBxJpz/5nGZakrnXMnUkbM0eUtEzYRJWCzaI9LqyGg6 YbvLJhuI1LwwCB5rOooQ5/a+sr4IVrFi9W49Htz+rz+9z9Xd8d2ai6MaDuqQoYPhQ03f cumoOsYMZtgYySf2dq8cmPFQSyT7kDzet0dRwT0f/GMqwhhKLBDbuhCUMsZNCGWUuFic CptdXKOnn/diZixjhwAACA1dIcMd1s/77FOFy3FaxDBqd4qJMTnINXEmUkbVTepl+wCQ Icuht98kyWMLqR0xHbzfMgr7UaLYLGyT4opRTBcwpyTIOKqjMGaRIJ+XoCks3ADCKZST pAlw== MIME-Version: 1.0 X-Received: by 10.49.24.140 with SMTP id u12mr135032061qef.78.1389020148634; Mon, 06 Jan 2014 06:55:48 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Mon, 6 Jan 2014 06:55:48 -0800 (PST) In-Reply-To: <52CAC368.3000105@shurik.kiev.ua> References: <52CAB6F2.3010707@shurik.kiev.ua> <52CABD82.2070106@shurik.kiev.ua> <52CAC368.3000105@shurik.kiev.ua> Date: Mon, 6 Jan 2014 06:55:48 -0800 X-Google-Sender-Auth: 8BIX3vdf6U2jMAogiQrX9QI_MQ4 Message-ID: Subject: Re: Problem connecting to AP From: Adrian Chadd To: Alexandr Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jan 2014 14:55:49 -0000 Whta's logged in dmesg? -a On 6 January 2014 06:53, Alexandr 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=3D2412 = 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=3D8 > duration=3D30 > > But it successfully connects to my android phone: > > wlan0: flags=3D8843 metric 0 mtu = 1500 > ether 68:5d:43:92:3a:88 > inet 192.168.1.227 netmask 0xffffff00 broadcast 192.168.1.255 > nd6 options=3D29 > 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:ce > 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 protmode = 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 secretsecretse= cret. >> >> >> -a >> >> On 6 January 2014 06:28, Alexandr wrote: >>> I simply changed key in this listing to "secret". Yes, I tried a very >>> 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 reuirement= s? >>>> >>>> Have you tried removing the proto=3D and bssid lines? You don't strict= ly >>>> need them. >>>> >>>> Thanks! >>>> >>>> -a >>>> >>>> >>>> On 6 January 2014 06:00, Alexandr 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: 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=3D54:e6:fc:e4:48:c4 reason=3D0 >>>>> 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=3D0 >>>>> ssid=3D"door" auth_failures=3D10 duration=3D30 >>>>> >>>>> I tried different security settings (WPA-WPA2 + AES-TKIP), wireless >>>>> modes, radio channels on my access point, the same error. >>>>> >>>>> # ifconfig wlan0 >>>>> wlan0: flags=3D8843 metric 0 = mtu 1500 >>>>> ether 68:5d:43:92:3a:88 >>>>> nd6 options=3D29 >>>>> 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=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 me h= ow >>>>> 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@freebs= d.org" >