You are not logged in.
Hello internet, when I first installed arch I opened a post about not being able to connect to the internet because of a captive portal. Then I followed a bunch of networkmanager, dhcpcd, iw, iwd, nmcli and nmtui commands. I got my network (sorta) working after that. But later, I deleted dhcpcd and was left networkless.
I reinstalled dhcpcd, started using it but now ping archlinux.org says Temporary failure in name resolution. Can anyone help?
I can ping local and public IP addresses, but name resolution fails with the code above.
Last edited by voxell (2024-11-08 15:59:37)
i use arch (since Nov 1, 2024) btw
Offline
Okay, this is really strange. I am successfully restarting dhcpcd, and after restarting it DNS and the rest of the internet works for approx. 10 seconds. Then it just returns back to a temporary failure in name resolution all over again. I am tired of this DNS configuration.
Last edited by voxell (2024-11-07 10:51:56)
i use arch (since Nov 1, 2024) btw
Offline
Please post the output of
find /etc/systemd -type l -exec test -f {} \; -print | sort
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
edit: here is the desired output https://imgur.com/a/okteKeJ
Last edited by voxell (2024-11-07 11:12:35)
i use arch (since Nov 1, 2024) btw
Offline
You wrote an incorrect command three times. Copy paste the exact line as lonewolf provided it and don't post camera photos of your screen but the text you get as a text here.
You don't have any networking daemon enabled, what exactly is your desired setup? Post the exact commands you're using and their outputs, and USB walk the file of
sudo journalctl -b > /tmp/log.txt
to a pastebin service: https://wiki.archlinux.org/title/List_o … n_services
Last edited by V1del (2024-11-07 11:21:42)
Offline
You wrote an incorrect command three times. Copy paste the exact line as lonewolf provided it and don't post camera photos of your screen but the text you get as a text here.
Yes I already fixed the command, and I apologize for not being able to send text because I don't have connection on my laptop. (hence this post)
I considered typing the screenshot into a message but theres a big chance ill just make a typo and give wrong information so I thought this was the best
Last edited by voxell (2024-11-07 11:21:47)
i use arch (since Nov 1, 2024) btw
Offline
You wrote an incorrect command three times. Copy paste the exact line as lonewolf provided it and don't post camera photos of your screen but the text you get as a text here.
You don't have any networking daemon enabled, what exactly is your desired setup? Post the exact commands you're using and their outputs, and USB walk the file of
sudo journalctl -b > /tmp/log.txt
to a pastebin service: https://wiki.archlinux.org/title/List_o … n_services
my desired setup is for networkmanager to handle a USB tethered connection and handle dns all by itself and its dependencies.
i use arch (since Nov 1, 2024) btw
Offline
i use arch (since Nov 1, 2024) btw
Offline
How exactly are you invoking dhcpcd if it's service isn't enabled? But for a default networkmanager setup you don't need dhcpcd at all, so maybe remove that, install NetworkManager do a
systemctl enable NetworkManager
reboot. Check with your favorite NetworkManager applet on whether you can establish a connection.
Offline
https://gist.github.com/Paladynee/92cfe … 0cc3d3f8fb
the issue with this setup is that ping archlinux.org returns a temporary failure in name resolution.
note: in the gist, after i type nano asdf.txt, i had disconnected the enp5s0f3u1 usb connection so it is missing in ip link, that is intended for transfering the terminal output to my phone.
Last edited by voxell (2024-11-07 11:51:04)
i use arch (since Nov 1, 2024) btw
Offline
https://gist.github.com/Paladynee/92cfe … 0cc3d3f8fb
the issue with this setup is that ping archlinux.org returns a temporary failure in name resolution.
note: in the gist, after i type nano asdf.txt, i had disconnected the enp5s0f3u1 usb connection so it is missing in ip link, that is intended for transfering the terminal output to my phone.
after fiddling with resolvectl a bit, i think i got my connection back.
the catch is that after reboot, i have to run resolvectl dns enp5s0f3u1 1.1.1.1 8.8.8.8 every time.
nope. dns gone again. i can ping ip adresses, but not domains. again. one second i think i restored my connection, 10 seconds later i find the dns doesnt work anymore. just what is going on
Last edited by voxell (2024-11-07 12:06:37)
i use arch (since Nov 1, 2024) btw
Offline
this is still unsolved, if anybody can give me directions on what to do i can provide it
Last edited by voxell (2024-11-07 15:20:08)
i use arch (since Nov 1, 2024) btw
Offline
What's the outpug of "resolvectl status" while you have and while you don't have useable DNS resolution?
Is this related to your VPN again?
Resp. https://bbs.archlinux.org/viewtopic.php?id=300792 ?
Also probably get us a complete system journal after this happened
sudo journalctl -b | curl -F 'file=@-' 0x0.st # you obviously need internet at this point
Offline
here is the output of journalctl -b
https://gist.github.com/Paladynee/bf59a … b7b35301cb
I havent touched my vpn since the moment my DNS broke.
here's resolvectl status and a bunch more other commands showing other data about my network: https://gist.github.com/Paladynee/aae57 … cb1250dd90
the state these commands were executed in SHOULD'VE had dns resolution along with internet connection. i tethered my phone connection to the laptop using usb, and havent touched the vpn yet.
earlier in the post, in the bried moments I had dns resolution for 10 seconds, I had utilized ip route flush and dhcpcd on the enp5s0f3u1 interface. after dhcpcd had finished, i had dns for 10 seconds, after then which pinging a domain returned "Temporary failure in name resolution" and nothing else.
Last edited by voxell (2024-11-07 16:21:54)
i use arch (since Nov 1, 2024) btw
Offline
Nov 07 18:38:18 serene NetworkManager[532]: <info> [1730993898.4155] dhcp: init: Using DHCP client 'dhcpcd'
You're currently running dhcpcd a NMs dhcp client - why?
here's a bunch more other commands
…that are all not "resolvectl status", you're using resolved, it's authorative.
Offline
here's a bunch more other commands
…that are all not "resolvectl status", you're using resolved, it's authorative.
the first one is resolvectl status no?
Last edited by voxell (2024-11-07 15:53:37)
i use arch (since Nov 1, 2024) btw
Offline
Nov 07 18:38:18 serene NetworkManager[532]: <info> [1730993898.4155] dhcp: init: Using DHCP client 'dhcpcd'
You're currently running dhcpcd a NMs dhcp client - why?
i was trying to see whether that would fix this very issue today, i can revert it back
Last edited by voxell (2024-11-07 15:53:17)
i use arch (since Nov 1, 2024) btw
Offline
Nov 07 18:38:18 serene NetworkManager[532]: <info> [1730993898.4155] dhcp: init: Using DHCP client 'dhcpcd'
You're currently running dhcpcd a NMs dhcp client - why?
here's a bunch more other commands
…that are all not "resolvectl status", you're using resolved, it's authorative.
so what's the diagnosis?
i use arch (since Nov 1, 2024) btw
Offline
Please don't bump nor post full quotes.
I missed the head of the document but at that time
Current DNS Server: 1.1.1.1
DNS Servers: 1.1.1.1 8.8.8.8 192.168.169.55
Was that while you could resolve domains or while you could not? And what does the other condition look like?
Can you
dig @1.1.1.1 archlinux.org
dig @192.168.169.55 archlinux.org
?
Offline
this is when I dont have dns resolution. i still dont have dns resolution.
here's the output of both pinging a domain, pinging an ip, dig with 1.1.1.1 and dig with 192.168.169.55: https://gist.github.com/Paladynee/dc09a … f3f79997e0
Last edited by voxell (2024-11-08 13:31:20)
i use arch (since Nov 1, 2024) btw
Offline
❯ dig @1.1.1.1 archlinux.org
;; communications error to 1.1.1.1#53: timed out
nmap -p53 1.1.1.1
ping -c1 1.1.1.1
Your dorm (?) firewall most likely blocks DNS.
Make sure to use 192.168.169.55 for DNS, not anything else.
In doubt disable the fallback servers.
https://wiki.archlinux.org/title/System … d#Fallback
NM should™ automatically get you the LAN DNS, https://wiki.archlinux.org/title/System … omatically but when that fails to resolve a domain, resolved will fail over to 1.1.1.1 and that just times out in your LAN.
Offline
❯ dig @1.1.1.1 archlinux.org ;; communications error to 1.1.1.1#53: timed out
nmap -p53 1.1.1.1 ping -c1 1.1.1.1
Your dorm (?) firewall most likely blocks DNS.
Make sure to use 192.168.169.55 for DNS, not anything else.
In doubt disable the fallback servers.
https://wiki.archlinux.org/title/System … d#FallbackNM should™ automatically get you the LAN DNS, https://wiki.archlinux.org/title/System … omatically but when that fails to resolve a domain, resolved will fail over to 1.1.1.1 and that just times out in your LAN.
There are 2 networks I am capable of connecting to, one is the dormitory network, which does not block 1.1.1.1 as far as I am concerned (it used to work before I broke dns), and the other is campus internet (eduroam) which also does not block 1.1.1.1 either (It also worked).
If they were to block the DNSs, they would not have let me connect before my DNS broke. All this happened after I deleted dhcpcd and reinstalled it.
regarding the nmap command, I don't have nmap and can't install it due to pacman stalling:
❯ sudo pacman -S nmap
[sudo] password for eurydice:
resolving dependencies...
looking for conflicting packages...
Packages (1) nmap-7.95-1
Total Download Size: 5.66 MiB
Total Installed Size: 25.00 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
nmap-7.95-1-x86_64
it's been stuck here for 3+ minutes.
Last edited by voxell (2024-11-08 14:17:27)
i use arch (since Nov 1, 2024) btw
Offline
I am considering reinstalling arch. I exclusively want only NetworkManager and whatever dependency NetworkManager has, to manage my network configuration. What exactly am I going to use for DNS management here? Is it systemd-resolved by default, or the NetworkManager internal DNS shenanigans?
i use arch (since Nov 1, 2024) btw
Offline
I went into the installation environment, deleted every network package I could see along with their configuration using pacman, now Im installing them back in pacstrap. hopefully this works. worst case scenario i have to reinstall
Last edited by voxell (2024-11-08 14:42:03)
i use arch (since Nov 1, 2024) btw
Offline
hopefully this works.
This is not a problem that you can fix with a re-installation
does not block 1.1.1.1 as far as I am concerned (it used to work before I broke dns), and the other is campus internet (eduroam) which also does not block 1.1.1.1 either
This is not about the IP, I guess "ping -c 1.1.1.1" still works, but the port; 53 being for DNS.
This helps to force you to use a specific DNS server to control your access to information - except that https://wiki.archlinux.org/title/DNS_over_HTTPS_servers exists.
Offline