Originally Posted by
JKyleOKC
Thanks very much for the added information. Since this seems to be the wave of the future, i need to learn all i can about it. Nos if someone would chime in with some ideas about why the routing table isn't usable after a reboot, with no "default" rule and two "scope link" rules that make all internet access impossible until the table is repaired!
I haven't had any issues with Network Manager on my "normal" installs (however my experience in with Network Mangler in my production environment at work is a different story )
When Network Manager sees that your interfaces (other than lo) have been configured with /etc/network/interfaces it will display "network not managed", so that's normal. What's definitely weird is that it should "just work" if you are letting it be auto configured as default. Just to clarify, your are not having any issues with other boxes on your network right??
I'm not sure if your issue is exactly a systemd issue or an Ubuntu issue (there are issues with wireless not coming back online after suspend on some systems caused by Network Mangler not starting back up properly with 16.04)
As far as using /etc/network/interfaces, I only use that on servers. But should also just work if properly configured. Below are a few example configurations I have used in the past:
DHCP Configuration:
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto ${INTERFACENAME}
iface ${INTERFACENAME} inet dhcp
Static configuration:
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto ${INTERFACENAME}
iface ${INTERFACENAME} inet static
address $HostIP
netmask 255.255.255.0 # Change to your network configuration, but it's probably this...
network $NetworkIP
broadcast $BroadcastIP
gateway $GatewayIP # Probably your router's IP
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 8.8.8.8 8.8.4.4 #list of name servers, also could be the router's IP
You can also use the ifconfig[deprecated] and ip commands to configure the interfaces, but that's getting a little fancy (and it's not persistent)...
Bookmarks