Sunday, January 17, 2021

Enabling iwd on Fedora 33

If you are looking to give iwd a try on Fedora it is a simple matter of installing the package, telling NetworkManager to use the (experimental) iwd backend, and masking wpa_supplicant so it isn't started by anything else at boot:

$ sudo dnf install iwd
$ echo -e "[device]\nwifi.backend=iwd" | sudo tee /etc/NetworkManager/conf.d/10-iwd.conf
$ sudo systemctl mask wpa_supplicant

Now reboot. You may need to input your WiFi credentials again. NetworkManager will handle starting the respective supplicant services as needed at boot so explictly enabling them is not necessary.

If you want to switch back to wpa_supplicant, simply delete the configuration file we made and unmask wpa_supplicant:
$ sudo rm /etc/NetworkManager/conf.d/10-iwd.conf
$ sudo systemctl unmask wpa_supplicant

Now reboot.

No comments:

Post a Comment