With NetworkManager and its wireless sidekick taken care of, spin up iwd and dhcpcd. Note: Obviously, you'll lose internet at this point. # systemctl stop NetworkManager wpa_supplicant Now that you've downloaded the necessary software, you've got to shutdown NetworkManager and wpa_supplicant to prevent conflicts between the two sets of software. On Arch, I installed all necessary software with pacman like so: # pacman -S iwd dhcpcd openresolvĭisable NetworkManager and wpa_supplicant § Just use openresolv and you'll be much happier. I did mess around with using systemd-resolvd to have one less dependency, but ran into several issues with DNS configuration reliability. dhcpcd works with openresolv automatically, you can read its documentation for more details. Lastly, openresolv (a resolvconf implementation) handles the DNS configuration (mostly the maintenance of your /etc/hosts file). As stated iwd handles wireless connections, that's it. In short, dhcpcd handles the DHCP handshake (and thus giving you an IP address) when a connection is established, like plugging in an ethernet cable or connecting to a wifi network with iwd. Install iwd and dhcpcd (and openresolv) § I recommend doing things in this order, because if you can't get iwd/dhcpcd to work to your liking, it's trivial to go back to NetworkManager. If you want to make the change yourself, it's actually pretty easy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |