From: Denis Kenzior <denkenz@gmail.com>
To: Sebastien Bacher <seb128@ubuntu.com>, iwd@lists.linux.dev
Subject: Re: 1.30 fails to connect to some APs
Date: Fri, 16 Sep 2022 09:28:11 -0500 [thread overview]
Message-ID: <19fd781d-a60c-81f2-4814-da4b2097e4c3@gmail.com> (raw)
In-Reply-To: <6f1b3f13-a261-a917-1439-3f17908a7f81@ubuntu.com>
Hi Sebastien,
On 9/16/22 06:32, Sebastien Bacher wrote:
> Using iwd 1.30 on Ubuntu Kinetic, I've some APs my laptop fails to connect to
>
> I'm including a log from 'iwd -d' while trying to connect using
>
> $ sudo iwctl station wlan0 connect <APNAME>
>
> The log states
>
> 'wiphy_select_akm() Network is WPA3-Personal...'
>
So if we select WPA-Personal, the AP most likely is configured like this.
Perhaps it is in WPA3 Transition mode where both WPA2 and WPA3 AKMs are enabled.
Hard to say without seeing the detailed iwmon (preferably) or iw scan result
output.
> But iwlist states 'IE: IEEE 802.11i/WPA2 Version 1' and using wpasupplicant
Note that iwlist isn't WPA3 aware [1].
> works fine and network-manager also flags it as WPA2, could it be that iwd
> wrongly detect the authentification to use?
Dunno about NM/wpa_s. But your AP is certainly acting like a WPA3 AP. From
your log:
src/netdev.c:netdev_mlme_notify() MLME notification Authenticate(37)
src/netdev.c:netdev_authenticate_event()
src/sae.c:sae_verify_packet() rx trans=1, state=committed
<--- We receive an SAE (WPA3) reply packet from the AP
src/netdev.c:netdev_mlme_notify() MLME notification Del Station(20)
src/netdev.c:netdev_mlme_notify() MLME notification New Station(19)
src/netdev.c:netdev_mlme_notify() MLME notification Authenticate(37)
src/netdev.c:netdev_authenticate_event()
src/sae.c:sae_verify_packet() rx trans=1, state=committed
<---- And again here
src/netdev.c:netdev_mlme_notify() MLME notification Authenticate(37)
src/netdev.c:netdev_authenticate_event()
src/sae.c:sae_verify_packet() rx trans=2, state=confirmed
<---- And looks like we do not consider the confirm reply valid (?)
Can you tell us more about the AP? Do you have any way of obtaining logs from it
by any chance? Does 'iw dev <foo> scan' results for your AP list any Vendor
IEs? Note that iwd uses P384 curves for SAE by default (for higher security).
Some older WPA3 implementations implement the spec poorly when curves other than
P256 are used.
Also, it might be useful for us to look at the iwmon output. See [2]. Start
iwmon just prior to iwctl 'station <device> scan' and 'station <device>
connect...' Feel free to send the output to me directly if there are any
privacy concerns.
[1]
https://github.com/HewlettPackard/wireless-tools/blob/master/wireless_tools/iwlist.c#L301
[2] https://iwd.wiki.kernel.org/debugging#iwmon
Regards,
-Denis
next prev parent reply other threads:[~2022-09-16 14:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-16 11:32 1.30 fails to connect to some APs Sebastien Bacher
2022-09-16 14:28 ` Denis Kenzior [this message]
2022-09-16 16:16 ` Sebastien Bacher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19fd781d-a60c-81f2-4814-da4b2097e4c3@gmail.com \
--to=denkenz@gmail.com \
--cc=iwd@lists.linux.dev \
--cc=seb128@ubuntu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).