Peter Hessler <[email protected]> wrote:
> On 2018 Nov 20 (Tue) at 20:06:25 +0100 (+0100), Peter Hessler wrote:
> :On 2018 Nov 02 (Fri) at 19:13:56 +0100 (+0100), Peter Hessler wrote:
> ::On 2018 Nov 02 (Fri) at 17:59:05 +0100 (+0100), Solene Rapenne wrote:
> :::Stefan Sperling <[email protected]> wrote:
> :::> 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
> :::
> :::With this line, it doesn't find the SSID after reboot or using netstart.
> :::
> ::
> ::I'll look into it.  Thanks for the report!
> ::
> :
> :Sorry for the delay, it took a while to get time to fix this.
> :
> :There are two bugs masquarading as one.
> :
> :First in the kernel, is that we didn't properly match what the node
> :(access point) is advertising to us, so we should match against that
> :instead.  Secondly, in ifconfig, we made all of the nice pretty
> :structures and stomped all over them when saving them.
> :
> :You'll need to rebuild ifconfig and boot into a new kernel.
> :
> :OK?
> :
> 
> Sorry, I attached the wrong diff, too many other things were intertwined
> in it.
> 
> Here's a diff that compiles, and should fix your issue.
> 
> OK?

I can't test the diff properly, I won't have access to the wpa1 access point
until a few months.

Reply via email to