You are not logged in.
After a full system upgrade internet no longer reachable. I use netctl with a wired, static address. I can ping my static address but not my router/gateway (destination host unreachable). Interface is up, avahi-browse can see printers on the network. Internet is reachable via wifi from android devices.
I realized I had both netctl and systemd-networkd active so I disabled systemd-networkd and -resolved, that did not correct the problem, neither did the reverse (disablind netctl, enabling networkd).
# ip route
default via 192.168.0.1 dev enp5s0 proto static
192.168.0.0/24 dev enp5s0 proto kernel scope link src 192.168.0.100
Please indicate which further info would be useful. Thank you!
Last edited by nfortier (2022-08-20 21:04:24)
Offline
avahi-browse can see printers on the network. Internet is reachable via wifi
avahi via wifi or the wired nic?
The gateway /is/ 192.168.0.1?
ip a
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
What is the router/gateway? Why is there no dhcp server? Do you have access to the router/gateway (ie. can you login there, inspect logs etc)?
Online
avahi-browse is on the machine with the problem, ie with the ethernet connection (no wifi on that machine).192.168.0.1 is indeed the gateway/router, while 192.168.0.100 is the problem machine's static address. That static address is set on the problem machine (/etc/hosts) and on the router. I use a static address instead of dhcp because I needed to create virtual addresses on the same nic, although I commented out these virtual addresses for debugging this problem.
I will try to post relevant output from the commands you suggested, this takes awhile as I'm working from a tablet.
Thank you!
Offline
I use a static address instead of dhcp
Does the router still run a dhcp server and do other devices use that and did you except 192.168.0.100 from it's dhcp IP range?
Online
Output from find..., network-related:
systemd-networkd.service | multi-user.target.wants
systemd-networkd.socket | sockets.target.wants
systemd-networkd-wait-online.service | network-online.target.wants
systemd-network-generator.service | sysinit.target.wants
... ip -a coming up.
Offline
Output from ip a for enp5s0
enp5s0 : <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 24:4b:fe:8e:29:b5 brd :ff:ff:ff:ff:ff:ff
inet 192.168.0.100/24 brd 192.168.0.255 scope global enp5s0
valid_lft forever preferred_lft forever
inet6 fe80::264b:feff:fe8e:29b5/64 scope link
valid_lft forever preferred_lft forever
Offline
I use a static address instead of dhcp
Does the router still run a dhcp server and do other devices use that and did you except 192.168.0.100 from it's dhcp IP range?
Yes, the router runs a dhcp server, using addreses 192.168.0.2 to .99. That configuration has not changed in the last few years.
Offline
Since you filtered the other outputs, is the "ip r" output in the OP complete or "the relevant part"?
That configuration has not changed in the last few years.
have you looked at it, notably whether there's a stale lease?
Did you try to reboot the router?
Online
Wow, rebooting the router gives me back myconnection to it, I can ping it and access its web UI. I still don't have internet access but I will investigate that. Thank you so much!
Offline