Hi Axel,
On 5/12/22 06:43, Axel Kittenberger wrote:
Hello, I can't get iwd to connect to a 802.1x (university)
network.
$ cat /var/lib/iwd/eduroam.8021x
[Security]
EAP-Method=PEAP
EAP-PEAP-Phase2-Method=MSCHAPV2
EAP-PEAP-Phase2-Identity=xxx
EAP-PEAP-Phase2-Password=xxx
This configuration looks pretty typical for a PEAP+MSCHAPv2.
produces following iwd output (started on console)
""
Wiphy: 0, Name: phy0
Permanent Address: 64:6c:80:ed:91:b9
Bands: 2.4 GHz 5 GHz
Ciphers: CCMP TKIP BIP
Supported iftypes: ad-hoc station ap p2p-client p2p-go p2p-device
EAP server tried method 25 while client was configured for method 26
This is very strange. We're configured for MSCHAPv2 (method=26) inside the PEAP
tunnel. It seems that the server is sending us EAP-PEAP (method=25) packets
within the tunnel, which doesn't make sense from what I remember of the protocol.
Can you run with IWD_TLS_DEBUG=1 environment variable set and share the log?
You can send it to me privately. See [1]
PEAP: Tunnel has disconnected with alert: close_notify
""
<snip>
/usr/libexec/iwd --version
1.14
Have you tried a later version of iwd? 1.14 is about a year old now.
[1]
https://iwd.wiki.kernel.org/debugging#enabling_tls_debugging
Regards,
-Denis