From owner-freebsd-questions@FreeBSD.ORG Sun Mar 30 20:37:44 2014 Return-Path: Delivered-To: freebsd-questions@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 6574F806 for ; Sun, 30 Mar 2014 20:37:44 +0000 (UTC) Received: from dub0-omc4-s23.dub0.hotmail.com (dub0-omc4-s23.dub0.hotmail.com [157.55.2.98]) by mx1.freebsd.org (Postfix) with ESMTP id C3A338DC for ; Sun, 30 Mar 2014 20:37:43 +0000 (UTC) Received: from DUB126-W17 ([157.55.2.71]) by dub0-omc4-s23.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 30 Mar 2014 13:36:36 -0700 X-TMN: [IgyagsSbMu7F8cm6p0xk6blhy5fbVhiD] X-Originating-Email: [darioszr@hotmail.it] Message-ID: From: Dario Maiocchi To: "freebsd-questions@freebsd.org" Subject: WPA_supplicant fail, Networkmanager Ok Date: Sun, 30 Mar 2014 20:36:35 +0000 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 30 Mar 2014 20:36:36.0090 (UTC) FILETIME=[BE9D9DA0:01CF4C57] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2014 20:37:44 -0000 Hi All=2C i have a Freebsd 9.2 and an Arch-Linux Machine=2C and finally a Embedded AR= M machine with Freebsd OS. I try to run WPA_supplicant on Freebsd 9.2=2C Arch and ARM but it fail with= the classic on the web error : "wpa_supplicant 4-way handshake failed". TH= IS error have on both 3 OSs with WPA_Supplicant. The oddity ist that on Arch-linux i have a NetworkManager and with Networkm= anager i have no problem with the same Network=2C or better Wireless work a= fter 3-4 Min sometimes. my wpa_supplicant.conf is the basic: network{ ssid=3D"NET" psk=3D"ULTRAPASSWORD" } I 've tried other complicated WPAconfigurations and i got the same errors o= n Freebsd. The semantics of the file is correct. I can on Freebsd 9.2 x86_64 scan all avaibles network and i've loaded the a= th_Kernmodul. The same on Arch and on ARM but i get errors like " pa_suppli= cant 4-way handshake failed" Here i have posted my NetworkManager Success Login=2C M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: Activation (wlp2s0)= starting connection 'MyNetwork' M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: (wlp2s0): device st= ate change: disconnected -> prepare (reason 'none') [30 40 0] M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: NetworkManager stat= e is now CONNECTING M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 1 of 5 (Device Prepare) scheduled... M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 1 of 5 (Device Prepare) started... M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 2 of 5 (Device Configure) scheduled... M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 1 of 5 (Device Prepare) complete. M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 2 of 5 (Device Configure) starting... M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: (wlp2s0): device st= ate change: prepare -> config (reason 'none') [40 50 0] M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: Activation (wlp2s0/= wireless): connection 'MyNetwork' has security=2C and secrets exist. No ne= w secrets needed. M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: Config: added 'ssid= ' value 'MyNetwork' M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: Config: added 'scan= _ssid' value '1' M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: Config: added 'key_= mgmt' value 'WPA-PSK' M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: Config: added 'psk'= value '' M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 2 of 5 (Device Configure) complete. M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: inactive -> disconnected M=E4r 30 21:29:12 ArchLinux NetworkManager[188]: Config: set interfa= ce ap_scan to 1 M=E4r 30 21:29:13 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: disconnected -> authenticating M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: authenticating -> associating M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: associating -> 4-way handshake M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: Connection disconne= cted (reason -3) M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: 4-way handshake -> authenticating M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: authenticating -> associating M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: associating -> 4-way handshake M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: Connection disconne= cted (reason -3) M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: 4-way handshake -> disconnected M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: Activation (wlp2s0/= wireless): disconnected during association=2C asking for new key. M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: (wlp2s0): device st= ate change: config -> need-auth (reason 'supplicant-disconnect') [50 60 8] M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: No agents were avai= lable for this request. M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: (wlp2s0): device st= ate change: need-auth -> failed (reason 'no-secrets') [60 120 7] M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: NetworkManager stat= e is now DISCONNECTED M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: Marking connection = 'MyNetwork' invalid. M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: Activation (wlp2s0)= failed for connection 'MyNetwork' M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: (wlp2s0): device st= ate change: failed -> disconnected (reason 'none') [120 30 0] M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: (wlp2s0): deactivat= ing device (reason 'none') [0] M=E4r 30 21:29:14 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: disconnected -> scanning M=E4r 30 21:29:16 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: scanning -> inactive M=E4r 30 21:29:23 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: inactive -> disabled M=E4r 30 21:30:50 ArchLinux NetworkManager[188]: Auto-activating con= nection 'MyNetwork'. M=E4r 30 21:30:50 ArchLinux NetworkManager[188]: Activation (wlp2s0)= starting connection 'MyNetwork' M=E4r 30 21:30:50 ArchLinux NetworkManager[188]: (wlp2s0): device st= ate change: disconnected -> prepare (reason 'none') [30 40 0] M=E4r 30 21:30:50 ArchLinux NetworkManager[188]: NetworkManager stat= e is now CONNECTING M=E4r 30 21:30:50 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 1 of 5 (Device Prepare) scheduled... M=E4r 30 21:30:50 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 1 of 5 (Device Prepare) started... M=E4r 30 21:30:50 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 2 of 5 (Device Configure) scheduled... M=E4r 30 21:30:50 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 1 of 5 (Device Prepare) complete. M=E4r 30 21:30:50 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 2 of 5 (Device Configure) starting... M=E4r 30 21:30:50 ArchLinux NetworkManager[188]: (wlp2s0): device st= ate change: prepare -> config (reason 'none') [40 50 0] M=E4r 30 21:30:50 ArchLinux NetworkManager[188]: (wlp2s0): bringing = up device. M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: Activation (wlp2s0/= wireless): access point 'MyNetwork' has security=2C but secrets are require= d. M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: (wlp2s0): device st= ate change: config -> need-auth (reason 'none') [50 60 0] M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 2 of 5 (Device Configure) complete. M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 1 of 5 (Device Prepare) scheduled... M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: disabled -> inactive M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 1 of 5 (Device Prepare) started... M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: (wlp2s0): device st= ate change: need-auth -> prepare (reason 'none') [60 40 0] M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 2 of 5 (Device Configure) scheduled... M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 1 of 5 (Device Prepare) complete. M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 2 of 5 (Device Configure) starting... M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: (wlp2s0): device st= ate change: prepare -> config (reason 'none') [40 50 0] M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: Activation (wlp2s0/= wireless): connection 'MyNetwork' has security=2C and secrets exist. No ne= w secrets needed. M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: Config: added 'ssid= ' value 'MyNetwork' M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: Config: added 'scan= _ssid' value '1' M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: Config: added 'key_= mgmt' value 'WPA-PSK' M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: Config: added 'psk'= value '' M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: Activation (wlp2s0)= Stage 2 of 5 (Device Configure) complete. M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: Config: set interfa= ce ap_scan to 1 M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: inactive -> scanning M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: scanning -> authenticating M=E4r 31 21:30:51 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: authenticating -> associating M=E4r 30 21:30:51 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: associating -> 4-way handshake M=E4r 30 21:30:52 ArchLinux NetworkManager[188]: (wlp2s0): supplican= t interface state: 4-way handshake -> completed M=E4r 30 21:30:52 ArchLinux NetworkManager[189]: Activation (wlp2s0/= wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireles= s network 'MyNetwork'. =