I need to use a WPA2 Enterprise network. According to ArchWiki, I need to create a config file manually. It’s working, but after a reboot, the file inside /var/lib/iwd/
gets deleted. (I’m using NetworkManager with iwd
as a backend. Regular WPA2/WPA3 connections persist after reboot.) My files looks like this:
/var/lib/iwd/<hex-essid>.8021x
----------------------
[Security]
EAP-Method=PEAP
EAP-Identity=anonymous
EAP-PEAP-Phase2-Method=MSCHAPV2
EAP-PEAP-Phase2-Identity=<identity>
EAP-PEAP-Phase2-Password-Hash=<hash>
[Settings]
AutoConnect=true
As I said already, it’s working. But the file gets deleted after a reboot. So it stops working. If I create the file again, it works.
I’m very confused about what’s exactly happening here.
EDIT: I might’ve found a workaround. After copying that file, it shows up in NetworkManager. If I enter the password and username there and save the edit, the file is replaced by an autogenerated file. That one seems to persist over reboots.