From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 8 07:32:34 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 9CC31829 for ; Mon, 8 Sep 2014 07:32:34 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5CE1E122E for ; Mon, 8 Sep 2014 07:32:34 +0000 (UTC) Received: from [89.204.138.77] (helo=tiny-r269739) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1XQtR8-000259-Vm; Mon, 08 Sep 2014 09:32:31 +0200 Date: Mon, 8 Sep 2014 09:32:29 +0200 From: Matthias Apitz To: Vladimir Botka Subject: Re: Issues with urtwn Message-ID: <20140908073229.GA1766@tiny-r269739> Reply-To: Matthias Apitz References: <540C751F.6050202@freebsd.org> <20140908054658.GA1349@tiny-r269739> <20140908081945.23015a99@planb.g3.netng.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20140908081945.23015a99@planb.g3.netng.org> X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.138.77 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 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, 08 Sep 2014 07:32:34 -0000 El día Monday, September 08, 2014 a las 08:19:45AM +0200, Vladimir Botka escribió: Hi Vladimir, > maybe the wpa_passphrase utility could help you to create the config. > In this particular case: > > $ wpa_passphrase "Naturhotel Wieserhof" "N@tur%Wieser" > network={ > ssid="Naturhotel Wieserhof" > #psk="N@tur%Wieser" > psk=b853709a9edcd50edf0835f68bf099255cb32fc462e492117fe3c42ab2a387cb > } What is the benefit of coding the PSK? I have never used it; the wpa_supplicant.conf file tested was: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel eapol_version=1 ap_scan=1 fast_reauth=1 # Hotel Wieserhof # network={ ssid="Naturhotel Wieserhof" scan_ssid=1 # key_mgmt=WPA-PSK WPA-EAP IEEE8021X key_mgmt=WPA-PSK # key_mgmt=WPA-PSK WPA-EAP psk="N@tur%Wieser" # key_mgmt=NONE # wep_tx_keyidx=0 # wep_key0="N@tur%Wieser" } as you see in the comments, I tested a lot of different key_mgmt= values; the one shown active, gave the best results (but only in my hotel room, not in the lobby); > ,or you might want to try wpa_gui. I have never used it, but will install the port and give it a try next time. Thx matthias PD: To Adrian, I'm willing to file a PR, but the problem is, I will not return to this hotel and can not provide more information or tests. -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign