[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On 08/05/17 16:20, mr meowski wrote:On 08/05/17 15:29, Julian Hall wrote:I'm confused why eth0 isn't listed.. is that due to the method I used to set it up? This is the content of my current /etc/network/interfacesAh ha, now we approach the heart of the matter. Mint has really done a number on you during an upgrade as it transitions towards a fully systemd managed init. Mint is particularly bad at handling the transition gracefully unfortunately so you now have a system with some remnants of the old init system coexisting entirely inharmoniously with systemd which *really* wants to take over everything itself. No wonder stuff has been going wrong. You are correct that your /etc/network/interfaces file is being completely ignored by the system at the moment, which is to be expected: you'd have to specifically disable certain system services (remnants of old init) *and* whichever systemd unitfiles are currently handling the network before Cerce will fall back to the most basic configuration of honouring the static configuration file. You could modify the interfaces file now but without disabling these conflicting services not only will it fail, but you'll quite probably end up with multiple network configs and IPs simultaneously! Great explanation.. thanks! julian@Cerce ~ $ dmesg | egrep "eth|enp0"The enp*s* naming convention is standard now I'm afraid - without manual intervention, Linux has been renaming network interfaces from the old ethX convention for literally years. Check to see what Cerce is doing with your network names with: dmesg | egrep "eth|enp0" [ 1.379456] forcedeth: Reverse Engineered nForce ethernet driver. Version 0.64. [ 1.447042] forcedeth 0000:00:0a.0: ifname eth0, PHY OUI 0x732 @ 3, addr 00:19:66:f7:4b:1c [ 1.447048] forcedeth 0000:00:0a.0: highdma csum pwrctl mgmt gbit lnktim msi desc-v3 [ 1.447872] forcedeth 0000:00:0a.0 enp0s10: renamed from eth0 [ 7.182965] IPv6: ADDRCONF(NETDEV_UP): enp0s10: link is not ready [ 7.183792] forcedeth 0000:00:0a.0 enp0s10: MSI enabled [ 7.184063] forcedeth 0000:00:0a.0 enp0s10: no link during initialization [ 7.184403] IPv6: ADDRCONF(NETDEV_UP): enp0s10: link is not ready [ 25.207358] forcedeth 0000:00:0a.0 enp0s10: link up [ 25.207843] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s10: link becomes ready julian@Cerce ~ $ julian@Cerce ~ $ systemctl status network*And whilst we're at it, let's have a look at things from the systemd side, which is where ultimately we're going to have to end up doing the config anyway: systemctl status network* â network.target - Network  Loaded: loaded (/lib/systemd/system/network.target; static; vendor preset: en  Active: active since Mon 2017-05-08 14:41:21 BST; 3h 15min ago  Docs: man:systemd.special(7) http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget May 08 14:41:21 Cerce systemd[1]: Reached target Network. â networking.service - Raise network interfaces  Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor prese  Drop-In: /run/systemd/generator/networking.service.d  ââ50-insserv.conf-$network.conf  Active: active (exited) since Mon 2017-05-08 14:41:21 BST; 3h 15min ago  Docs: man:interfaces(5)  Process: 870 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0  Process: 843 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ ÂMain PID: 870 (code=exited, status=0/SUCCESS)  CGroup: /system.slice/networking.service May 08 14:41:21 Cerce systemd[1]: Starting Raise network interfaces... May 08 14:41:21 Cerce systemd[1]: Started Raise network interfaces. â network-pre.target - Network (Pre) lines 1-23...skipping... â network.target - Network  Loaded: loaded (/lib/systemd/system/network.target; static; vendor preset: enabled)  Active: active since Mon 2017-05-08 14:41:21 BST; 3h 15min ago  Docs: man:systemd.special(7) http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget May 08 14:41:21 Cerce systemd[1]: Reached target Network. â networking.service - Raise network interfaces  Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)  Drop-In: /run/systemd/generator/networking.service.d  ââ50-insserv.conf-$network.conf  Active: active (exited) since Mon 2017-05-08 14:41:21 BST; 3h 15min ago  Docs: man:interfaces(5)  Process: 870 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0/SUCCESS)  Process: 843 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited, status=1/FAILURE) ÂMain PID: 870 (code=exited, status=0/SUCCESS)  CGroup: /system.slice/networking.service May 08 14:41:21 Cerce systemd[1]: Starting Raise network interfaces... May 08 14:41:21 Cerce systemd[1]: Started Raise network interfaces. â network-pre.target - Network (Pre)  Loaded: loaded (/lib/systemd/system/network-pre.target; static; vendor preset: enabled)  Active: active since Mon 2017-05-08 14:41:21 BST; 3h 15min ago  Docs: man:systemd.special(7) http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget May 08 14:41:21 Cerce systemd[1]: Reached target Network (Pre). Julian |
-- The Mailing List for the Devon & Cornwall LUG https://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq