iwd configuration for eduroam that used to work is now broken
I have the following iwd configuration for eduroam that used to work but which is now broken:
[Security]
EAP-Method=PEAP
EAP-Identity=anonymous@domain.fr
EAP-PEAP-CACert=/path/to/cert.pem
EAP-PEAP-Phase2-Method=MSCHAPV2
EAP-PEAP-Phase2-Identity=XXX
EAP-PEAP-Phase2-Password-Hash=**************
EAP-PEAP-ServerDomainMask=radius-eduroam.domain.fr
It is it now stuck at the phase 2 authentication "EAP completed with eapFail". I got crazy trying to fixing it and I ended up trying the exact same setting with the following wpa_supplicant configuration, which turn out to work. Because of covid-19, I don't know exactly when happened the update that broke things.
network={
ssid="eduroam"
password=hash:***************
phase2="auth=MSCHAPV2"
key_mgmt=WPA-EAP
eap=PEAP
altsubject_match="DNS:radius-eduroam.domain.fr"
ca_cert="/path/to/cert.pem"
identity="XXX"
anonymous_identity="anonymous@domain.fr"
}
And I have a similar issue with a non-eduroam but similar PEAP/MSCHAPv2 network.
What could go wrong here? iwd -d or IWD_DEBUT_TLS=true do not log anything in the authentication phase that fails (contrary to wpa_supplicant), is there a way to access this information?
Thanks!
About this post
- Posted
- Archived
- Score
- 31 · 89% up
- Kind
- Text
- ID
- immw12
19 comments
If you can figure out which version was the last one that worked you could run a git bisect on it.
Another option would be to get in touch with the upstream devs. I'm sure they'd be happy to help you debug it
I guess that is the right thing to do, but not so easy to implement (it seems that also the library "ell" has backward incompatible changes), and the problematic wifi is not available during my spare time at home...
Exact same thing happened to me on PEAP/MSCHAPv2. Downgrading to as low as IWD 1.5 still causes (EDIT - I also hadn't tested it in some time cause of covid but I have definitely used eduroam since after the release of 1.5 )
Weirdly enough it was working yesterday on 1.8 after not working for weeks. The only thing that had changed is upgrading to 5.9 rc2. This leads me to believe it is a kernel bug? I will have to try on Monday with different kernel versions.
Interesting! I'll try that on Monday
This. iwd failing on repeat basically blacklisted my account for an entire day. Now even my phone refuses to connect.
When did the problem appear for you, can you spot the iwd version that introduced the break?
Sorry no... I just went to campus today after a few weeks
Back to office today, and the problem disappeared! (With nothing more than my beloved
pacman -Syu.) Thanks all for your helpful feedbackNothing you did except updating and restarting? Couldn't connect this morning (first time I tried after my summer break)
Nothing. My plan was to try different kernel versions (lts first, then 5.9 rc), but it worked with the current one directly.
Given the amount of complaints people have been giving iwd + eduroam (while iwd is gaining traction on multiple distros, it might become the default on Ubuntu), I think it's time the eduroam peeps step up their game as well. Any comments on this issue I opened are welcome: https://github.com/GEANT/CAT/issues/201
I have the same problem, but I don't think it's an iwd update that caused this. Hasn't had an update in months. I tried downgrading the kernel, but it didn't help. But good to know I'm not the only one. Do you also use connman by any chance?
I use NetworkManager and have the same problem (Was really glad that some people have the same issue). I also don't think it was an iwd update as it worked in july; maybe some libnm or networkmanager updates
I use systemd-networkd.
According to my pacman.log, iwd was v1.5 in February and it is now v1.8 (since june).
This is my log-output with IWD_DEBUG_TLS set to true:
`
I have a similar output
You should message them on IRC (#iwd at freenode.net).
I had the same problem a few days ago with PEAP-MSCHAPv2 authentucation (which hasn't been fixed)
Might be a bit late, but iwd 0.9 fixed it for me!