I've been messing around with Arch Linux for a few months and decided to do a clean reinstall to start fresh, mainly because I had some unofficial packages that I wanted to get rid of. Now I'm facing a frustrating issue with domain name resolution. I'm using iwd as my network manager, alongside what was set up by the 'archinstall' script, while also trying out Hyprland and XFCE just for the familiarity.
After the reinstall, I attempted a system update with 'pacman -Syu', but I got a ton of errors, including a persistent "could not resolve host: *mirror_name*" message. I also tried pinging archlinux.org, but I received a "temporary failure in name resolution" error.
I've gone through various configurations in iwd and followed the steps outlined in the Arch wiki for network configuration, but I'm still stuck. I really have no clue about networking, even though I can handle most other issues with a quick search. I'm reaching out here because I'm really at a loss! Any guidance would be appreciated!
2 Answers
Have you checked if installing XFCE brought in NetworkManager? If it did, it might have overridden your resolv.conf file, which would mess with your DNS settings. Make sure that NetworkManager is actually not installed by running `pacman -Qi networkmanager`. If it shows as not found, you're good, but you might need to confirm that no other network manager is running by listing processes related to networking.
Also, consider checking the output of the command 'resolvectl status'. If it's returning an error like 'failed to get global data', that could be a clue.
When you say everything in iwd looks okay, can you elaborate? Are you actually connected to your home WiFi? What device are you using to post this? Also, can you ping IP addresses like 1.1.1.1, or just domain names are failing? Trying to ping Google could be helpful as well. Plus, sharing the output from the 'ip a' command could give us more insight on your network setup.
Yes, I checked and I'm connected to a working WiFi network using 'iwctl'. I’m using my main desktop (Windows) for the post, which is connected via Ethernet to the same router. I can ping 1.1.1.1, but domain names like google.com won't resolve.
Also, if you're unsure what to look for in 'ip a', it just gives info on your current network interfaces and their states, which might help identify any issues.
I did check and it’s not installed. But what's the easiest way to see if another network manager's running?