Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2014 09:59:09 +0200
From:      Vladimir Botka <vlado@netng.org>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: Issues with urtwn
Message-ID:  <20140908095909.12c56bde@planb.g3.netng.org>
In-Reply-To: <20140908073229.GA1766@tiny-r269739>
References:  <540C751F.6050202@freebsd.org> <CACnwZYfK_F4KnzsbrWnZS3sPB22HJ=v03VuhOTfFa8usFy_45w@mail.gmail.com> <CAJ-Vmonrxc2CY%2BLsY4jeh19MbELxDcP6iHXGCyogV_9H6%2BnwOw@mail.gmail.com> <20140908054658.GA1349@tiny-r269739> <20140908081945.23015a99@planb.g3.netng.org> <20140908073229.GA1766@tiny-r269739>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi Matthias,

On Mon, 8 Sep 2014 09:32:29 +0200
Matthias Apitz <guru@unixarea.de> wrote:

> 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.

psk="N@tur%Wieser"
and
psk=b853709a9edcd50edf0835f68bf099255cb32fc462e492117fe3c42ab2a387cb
are equivalent.

If you have troubles to configure it manually, I recommend to try
wpa_gui as a next step. In the upstream, wpa_gui is maintained together
with wpa_supplicant by the same maintainer. Therefor wpa_gui has always
been working fine with wpa_supplicant and might help you to create a
consistent configuration.

If this doesn't work, there might be a problem in the (1) lower layer
(driver), (2) AP, or (3) HW in general. If so, to debug it might be a
complex issue suitable for a bug entry. 

Cheers,

	-vlado

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUDWHNAAoJEKzxHYF8kx9kwO8H/3YiY0XsuzXLxIp6Dp2wa12V
RxN5o5akFKVBMG550R/CFsZ/fTllt2mYoqo172Tt91HBqarbmj1Mo4zEp9LXDLUg
fDDQt1ByR+Wu/UQtgyXVmC2/JRO+2NmF5l4wuQmVaigDtbe8SdTCbUWWh0eDuuOv
Hls12w4jlO6f5Df/i8c70ZxAVgU6xOdr3Z85IULfCPBKuFecNzU3c6/hk6SMLl7W
q8Ip3giZIhy3VEdqT4xWC8xtRxawGkKJEPUaWpHAoiXA+dQazcXUxwffqrRMu9NM
xO+TCrAQA+L+UAZamRfEJCblW82oDkZxg9M1r/3CxvW4p4Vph+Xz33ZyqBxpQRg=
=7WtP
-----END PGP SIGNATURE-----

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