You are not logged in.
I am running Arch linux on a desktop I set up months ago, all of a sudden my internet is real bad at connecting(?)
when I start a browser it takes forever to connect, but once its begun, it runs quickly. The ping also appears to be fine.
anyways I forgot exactly how I set up my network connection. I remember trying to do something really basic with my ethernet connection.
Is there someway to check what processes have been running my interface?
Sorry that this is such a basic dumb question I am just completely at a loss with how to proceed with my trouble shooting
Offline
anyways I forgot exactly how I set up my network connection.
Yeah, sure …
Check the system journal and
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -fOnline
or systemctl status
Last edited by ewaller (2022-03-21 18:16:27)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
thanks for the reply, I am not sure I recognize most of these services as being set up for my network connection. The only one is dhcpcd
[]$ find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
dbus-org.freedesktop.timesync1.service | system
dhcpcd.service | multi-user.target.wants
dirmngr.socket | sockets.target.wants
gcr-ssh-agent.socket | sockets.target.wants
getty@tty1.service | getty.target.wants
gpg-agent-browser.socket | sockets.target.wants
gpg-agent-extra.socket | sockets.target.wants
gpg-agent.socket | sockets.target.wants
gpg-agent-ssh.socket | sockets.target.wants
p11-kit-server.socket | sockets.target.wants
pamac-cleancache.timer | timers.target.wants
pipewire.socket | sockets.target.wants
pulseaudio.socket | sockets.target.wants
remote-fs.target | multi-user.target.wants
systemd-timesyncd.service | sysinit.target.wantsare any of these other services related to my network manager? Or are they all just services that are using the network interfaces?
Offline
Wired network?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
yes, my bad its a wired connection.
[]$ systemctl status
hostname
State: running
Jobs: 0 queued
Failed: 0 units
Since: Mon 2022-03-21 14:27:29 EDT; 20s ago
CGroup: /
├─init.scope
│ └─1 /sbin/init
├─system.slice
│ ├─dbus.service
│ │ └─689 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
│ ├─dhcpcd.service
│ │ ├─693 "dhcpcd: [manager] [ip4] [ip6]"
│ │ ├─694 "dhcpcd: [privileged proxy]"
│ │ ├─695 "dhcpcd: [network proxy]"
│ │ ├─696 "dhcpcd: [control proxy]"
│ │ └─740 "dhcpcd: [BPF ARP] enp5s0 192.168.1.252"
│ ├─systemd-journald.service
│ │ └─460 /usr/lib/systemd/systemd-journald
│ ├─systemd-logind.service
│ │ └─691 /usr/lib/systemd/systemd-logind
│ ├─systemd-timesyncd.service
│ │ └─685 /usr/lib/systemd/systemd-timesyncd
│ └─systemd-udevd.service
│ ├─474 /usr/lib/systemd/systemd-udevd
│ ├─.....
│ └─545 /usr/lib/systemd/systemd-udevd
└─user.slice
└─user-1000.slice
├─session-1.scope
│ ├─715 "login -- user"
│ ├─751 /bin/sh /usr/bin/startx
│ ├─775 xinit /home/user/.xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -keeptty -auth /tmp/serverauth.fex3vDue7N
│ ├─776 /usr/lib/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.fex3vDue7N
│ ├─809 i3
│ ├─880 i3bar --transparency --bar_id=bar-0 --socket=/run/user/1000/i3/ipc-socket.809
│ ├─886 i3status
│ ├─939 xterm
│ ├─941 bash
│ ├─942 systemctl status
│ └─943 less
└─user@1000.service
└─init.scope
├─743 /usr/lib/systemd/systemd --user
└─744 "(sd-pam)"So if I am understanding this dhcpcd is running my network by itself
Offline
Yes.
Online
Yes, the dhcpcd service is handling it.
After you start the system, before you start trying to use it, what is the output of ifconfig ?
Then, after things settle down and it starts to work the way you expect, post that again.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
ok thanks I really need to brush up on my networking basics. But here is the output when I freshly start my computer
[]$ ifconfig
enp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.252 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::1829:76a6:335:2314 prefixlen 64 scopeid 0x20<link>
ether 24:4b:fe:97:4d:e2 txqueuelen 1000 (Ethernet)
RX packets 15 bytes 1984 (1.9 KiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 16 bytes 1592 (1.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp4s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether cc:d9:ac:39:69:b2 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0and here is after starting firefox (which took like 15 - 30 seconds)
[]$ ifconfig
enp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.252 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::1829:76a6:335:2314 prefixlen 64 scopeid 0x20<link>
ether 24:4b:fe:97:4d:e2 txqueuelen 1000 (Ethernet)
RX packets 734 bytes 403118 (393.6 KiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 796 bytes 117705 (114.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp4s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether cc:d9:ac:39:69:b2 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0Offline
when I start a browser it takes forever to connect, but once its begun, it runs quickly. The ping also appears to be fine.
Connect what?
If the only thing that exhibits a problem is "browser™" (firefox?) you should first and foremost look there - eg. try "otherbrowser™" (chromium?) or the safe or porn mode in case simply some extension fails to phone home etc.
Also, are subsequent browser starts affected or is it only the first one right after the boot/login?
The startup of the browser isn't necessarily inhibited by the network, but because it reads GBs of cookie cache from your disk etcetc.
Online
Ahhh I see it now, sorry my brain has been fried, it was just firefox. I was writing some socket code earlier that kept timing out so I assumed they were connected.
But now I tried a different browser and it opened up real fast.
I also tried my code on a different computer and it still didn't , hella dumb.
But thank you for the help I now know how my network manager is working and how to check it whats running!
Offline