I've had some networking issues and solved one of them by returning to NetworkManager as the renderer instead of networkd. This is ubuntu server so no GUI.
After finally getting everything working, I have on problem left; when I reboot, the network has no routes;
I can solve it temporarily by restarting NetworkManager which gets this:
and then finally adding the default route by entering:
Well, I fiddled with this four a couple hours, then once, after a reboot by no interaction from me, the routes appeared after about 2 minutes! The syslog reveals this:
which totally explains the delay, but doesn't explain why.
However, I believe it may be because there are two other network devices - one wired, one wifi - which are not being used. After ta while the syslog starts to fill with:
repeated every couple minutes. These two devices aren't connected to anything but clearly are taking time from my system.
I'm still searching the web for answers
After finally getting everything working, I have on problem left; when I reboot, the network has no routes;
Code:
$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface
Code:
$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 0.0.0.0 255.255.254.0 U 100 0 0 eno1
Code:
sudo route add default gw 192.168.1.1 eno1
Code:
$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eno1 192.168.0.0 0.0.0.0 255.255.254.0 U 100 0 0 eno1
Code:
Dec 17 14:48:09 server NetworkManager[1071]: <info> [1608234489.8725] device (eno1): scheduling DHCPv4 restart in 120 seconds, 3 tries left (reason: lease expired)
However, I believe it may be because there are two other network devices - one wired, one wifi - which are not being used. After ta while the syslog starts to fill with:
Code:
Dec 17 15:10:26 server NetworkManager[1071]: <warn> [1608235826.7750] error requesting auth for org.freedesktop.NetworkManager.enable-disable-statistics: Authorization check failed: Failed to open file “/proc/4167/status”: No such file or directoryDec 17 15:10:26 server NetworkManager[1071]: <warn> [1608235826.7753] error requesting auth for org.freedesktop.NetworkManager.enable-disable-connectivity-check: Authorization check failed: Failed to open file “/proc/4167/status”: No such file or directory Dec 17 15:10:27 server dhclient[2235]: DHCPDISCOVER on enp2s0 to 255.255.255.255 port 67 interval 10 (xid=0x63e2be55) Dec 17 15:10:36 server dhclient[2235]: DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 17 (xid=0x60100c3a) Dec 17 15:10:37 server dhclient[2235]: DHCPDISCOVER on enp2s0 to 255.255.255.255 port 67 interval 16 (xid=0x63e2be55)
I'm still searching the web for answers
Comment