You are not logged in.
Pages: 1
I've just installed arch linux on my computer.
I'm on gnome 40
I use NetworkManager
after booting into arch, my wifi is connected but I can't open any website
I can't ping archlinux.org, it says : Temporary failure in name resolution
but I can ping 1.1.1.1, 8.8.8.8 or something like that.
when I search on google, I found a solution to do : ln -sf /run/NetworkManager/no-stub-resolv.conf /etc/resolv.conf
the previous /etc/resolv.conf is a link to /run/NetworkManager/resolv.conf
my internet now fine and I can ping archlinux.org
-no-stub-resolv.conf
-resolv.conf
-----
-What happen to my computer?
-Is it fine to use no-stub-resolv.conf?
Offline
You had no functioning DNS servers set, so it was not possible to resolve domains to ips. Arch Linux configures NetworkManager by default for DNS with systemd-resolved, so you have to either enable that service or change the networkmanager configuration to openresolv. I think using no-stub-resolv.conf is fine as well if networkmanager is the only tool to set dns servers (no separate vpn applications, ...)
https://wiki.archlinux.org/index.php/Ne … esolv.conf
https://man.archlinux.org/man/NetworkManager.conf.5
Last edited by progandy (2021-04-14 09:06:14)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
You had no functioning DNS servers set, so it was not possible to resolve domains to ips. Arch Linux configures NetworkManager by default for DNS with systemd-resolved, so you have to either enable that service or change the networkmanager configuration to openresolv. I think using no-stub-resolv.conf is fine as well if networkmanager is the only tool to set dns servers (no separate vpn applications, ...)
https://wiki.archlinux.org/index.php/Ne … esolv.conf
https://man.archlinux.org/man/NetworkManager.conf.5
Thanks, after enabling systemd-resolved I can use resolv.conf
Offline
Pages: 1