On Fri, Nov 02, 2018 at 03:41:57PM +0100, Solene Rapenne wrote:
> Hello,
>
> I can't connect to wpa1 networks using join. From the man page, I understand
> that "wpaprotos" parameter isn't supported.
>
> The id can either be any text string up to 32 characters in
> length, or a series of hexadecimal digits up to 64 digits. Any
> necessary wpakey or nwkey arguments should be specified on the
> same line. May not be used with nwid.
>
> The SSID when I use "ifconfig iwm0 scan":
>
> nwid freeboxSSID chan 11 bssid 16:fa:ca:a1:ba:3c 67% HT-MCS15
> privacy,short_slottime,wpa1
>
>
> With this line in /etc/hostname.iwm0:
>
> join "freeboxSSID" wpakey somekeyhere
>
> It won't connect until I type "ifconfig iwm0 wpaprotos wpa1".
>
>
> If I add the wpaprotos parameters to the /etc/hostname.iwm0 line, when
> rebooting, the ifconfig command output is the following.
>
> iwm0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
> lladdr 8c:16:45:9b:c9:fe
> index 1 priority 4 llprio 3
> trunk: trunkdev trunk0
> groups: wlan
> media: IEEE802.11 autoselect (DS1)
> status: no network
> ieee80211: join freeboxSSID
>
> I'm not sure it's a bug, but I prefer to report it.
That's probably a bug. Using wpaprotos with join in hostname.if is supposed
to work as long as you're specifying it on the same line, like this:
join "freeboxSSID" wpakey somekeyhere wpaprotos wpa1