You are not logged in.
I connect to the internet by running dhclient command on USB archiso image. When I try ping or git clone commands on archiso USB image, it does it instantly without waiting.
You can see on the video:
https://drive.google.com/file/d/1VuUqym … sp=sharing
But after the installation, it always take 5 seconds to do it's thing. Pinging, downloading files or pacman -S something.
I only use networkmanager package and enabled NetworkManager.service to connect internet on my installation. I just want to know what's the reason that takes 5 seconds to do the process.
Here is the video on my installation:
https://drive.google.com/file/d/1a-8IXo … sp=sharing
I know it's a weird question but I just want to know why that thing happens. It's also a little bit annoying that delays 5 seconds for whatever the reason.
Last edited by navailable (2022-01-05 17:56:48)
We live in a kingdom of b#shit.
Offline
I'd first suspect DNS issues. Is there a delay if you ping an IP address? Either way, please post the output of the following to list enabled services:
find /etc/systemd/ ! -name *.conf -type f -o -type l
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I just tried pinging google by it's IP address (142.250.186.46) and it did that instantly. So now I also suspect that it's a DNS issue. Should I change my DNS server on router?
Here's the output:
/etc/systemd/user/default.target.wants/xdg-user-dirs-update.service
/etc/systemd/user/sockets.target.wants/gpg-agent.socket
/etc/systemd/user/sockets.target.wants/gcr-ssh-agent.socket
/etc/systemd/user/sockets.target.wants/pulseaudio.socket
/etc/systemd/user/sockets.target.wants/p11-kit-server.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket
/etc/systemd/user/sockets.target.wants/dirmngr.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket
/etc/systemd/system/getty.target.wants/getty@tty1.service
/etc/systemd/system/display-manager.service
/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service
/etc/systemd/system/multi-user.target.wants/NetworkManager.service
/etc/systemd/system/multi-user.target.wants/iwd.service
/etc/systemd/system/multi-user.target.wants/dhcpcd.service
/etc/systemd/system/multi-user.target.wants/dhclient@interface.service
/etc/systemd/system/multi-user.target.wants/remote-fs.target
We live in a kingdom of b#shit.
Offline
You've networkmanager, iwd, dhcpcd and dhclient activated together creating a situation like this:
Pick one, disable the others and see whether that has positive impact.
Also
dig google.com
dig @8.8.8.8 google.com
Offline
Oh I was testing them and I already removed them but they appeared as enabled.
So I moved to my old Arch installation backup, here are the all enabled services:
/etc/systemd/user/default.target.wants/xdg-user-dirs-update.service
/etc/systemd/user/pipewire-session-manager.service
/etc/systemd/user/pipewire.service.wants/pipewire-media-session.service
/etc/systemd/user/sockets.target.wants/gcr-ssh-agent.socket
/etc/systemd/user/sockets.target.wants/pipewire.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket
/etc/systemd/user/sockets.target.wants/dirmngr.socket
/etc/systemd/user/sockets.target.wants/pipewire-pulse.socket
/etc/systemd/user/sockets.target.wants/gpg-agent.socket
/etc/systemd/user/sockets.target.wants/p11-kit-server.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket
/etc/systemd/system/dbus-org.rnd2.cpupower_gui.helper.service
/etc/systemd/system/dbus-org.freedesktop.timesync1.service
/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
/etc/systemd/system/dbus-org.freedesktop.thermald.service
/etc/systemd/system/dbus-org.freedesktop.Avahi.service
/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service
/etc/systemd/system/display-manager.service
/etc/systemd/system/multi-user.target.wants/sshd.service
/etc/systemd/system/multi-user.target.wants/clamav-daemon.service
/etc/systemd/system/multi-user.target.wants/vncserver-x11-serviced.service
/etc/systemd/system/multi-user.target.wants/containerd.service
/etc/systemd/system/multi-user.target.wants/acpid.service
/etc/systemd/system/multi-user.target.wants/docker.service
/etc/systemd/system/multi-user.target.wants/NetworkManager.service
/etc/systemd/system/multi-user.target.wants/thermald.service
/etc/systemd/system/multi-user.target.wants/remote-fs.target
/etc/systemd/system/multi-user.target.wants/clamav-freshclam.service
/etc/systemd/system/multi-user.target.wants/vncserver-virtuald.service
/etc/systemd/system/multi-user.target.wants/reflector.service
/etc/systemd/system/multi-user.target.wants/cronie.service
/etc/systemd/system/multi-user.target.wants/avahi-daemon.service
/etc/systemd/system/multi-user.target.wants/cpupower-gui.service
/etc/systemd/system/multi-user.target.wants/libvirtd.service
/etc/systemd/system/getty.target.wants/getty@tty1.service
/etc/systemd/system/sockets.target.wants/virtlogd.socket
/etc/systemd/system/sockets.target.wants/libvirtd.socket
/etc/systemd/system/sockets.target.wants/docker.socket
/etc/systemd/system/sockets.target.wants/clamav-daemon.socket
/etc/systemd/system/sockets.target.wants/libvirtd-ro.socket
/etc/systemd/system/sockets.target.wants/virtlockd.socket
/etc/systemd/system/sockets.target.wants/avahi-daemon.socket
/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
/etc/systemd/system/timers.target.wants/pamac-cleancache.timer
Also;
[navailable@marchine ~]$ dig google.com
; <<>> DiG 9.16.23 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56278
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 300 IN A 142.250.186.142
;; Query time: 80 msec
;; SERVER: 80.80.80.80#53(80.80.80.80)
;; WHEN: Mon Dec 20 01:43:04 +03 2021
;; MSG SIZE rcvd: 55
[navailable@marchine ~]$ dig @8.8.8.8 google.com
; <<>> DiG 9.16.23 <<>> @8.8.8.8 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22163
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 190 IN A 142.250.200.238
;; Query time: 76 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Mon Dec 20 01:43:56 +03 2021
;; MSG SIZE rcvd: 55
We live in a kingdom of b#shit.
Offline
Solved! It was my DNS server that I use on router. Which was Freenom World (80.80.80.80 , 80.80.81.81)
I changed to something else.
Now it works without 5 seconds delay. Thanks for the help!
Last edited by navailable (2021-12-19 23:18:38)
We live in a kingdom of b#shit.
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Since your router does not seem to cache the configured DNS, you might want to look into a local cache, https://wiki.archlinux.org/title/Domain … NS_servers
Offline
I don't know how to mark the topic as "solved" but I found the solution.
[SOLUTION]
* I installed systemd-resolvconf
* I enabled systemd-networkd and also systemd-resolved
Now it works as I wanted by using networkmanager and enabling NetworkManager and systemd-networkd & systemd-resolved
It works and it does not matter which DNS server I'm using. That's great!
Last edited by navailable (2022-01-05 18:11:10)
We live in a kingdom of b#shit.
Offline
I don't know how to mark the topic as "solved" but I found the solution.
Offline