Hi all!
When booting the OMV 7 today (runs on QNAP TS-453A, 4x eth integrated) I faced really strange issue that one - and only one interface is not renamed to enpXs0, but left with eth1/eth2 name. This of course breaks avahi and other configuration options that rely on interface name.
OMV is installed on top of debian (since wanted to have OMV running on LVM for flexibility)
Also there is no autodetect of wire plugged into the eth port.
How to get it working properly?
Code
root@osiol:~# ifconfig -a
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether xx_my_mac_here_xx txqueuelen 0 (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 0
enp10s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether xx_my_mac_here_xx 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 0
device memory 0x81200000-8127ffff
enp5s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether xx_my_mac_here_xx 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 0
device memory 0x81500000-8157ffff
enp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.109 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::265e:beff:fe1c:256 prefixlen 64 scopeid 0x20<link>
ether xx txqueuelen 1000 (Ethernet)
RX packets 336 bytes 49695 (48.5 KiB)
RX errors 0 dropped 10 overruns 0 frame 0
TX packets 104 bytes 24970 (24.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0x81400000-8147ffff
eth2: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether xx_my_mac_here_xx 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 0
device memory 0x81300000-8137ffff
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 16 bytes 1528 (1.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 16 bytes 1528 (1.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lxcbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 10.0.3.1 netmask 255.255.255.0 broadcast 10.0.3.255
ether 00:16:3e:00:00:00 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 0
Display More
Code
root@osiol:~# dmesg |grep eth
[ 10.899632] igb 0000:05:00.0: added PHC on eth0
[ 10.899672] igb 0000:05:00.0: eth0: (PCIe:2.5Gb/s:Width x1) xx_my_mac_here_xx
[ 10.899756] igb 0000:05:00.0: eth0: PBA No: 001300-000
[ 10.932223] igb 0000:06:00.0: added PHC on eth1
[ 10.932264] igb 0000:06:00.0: eth1: (PCIe:2.5Gb/s:Width x1) xx_my_mac_here_xx
[ 10.932347] igb 0000:06:00.0: eth1: PBA No: 001300-000
[ 10.965135] igb 0000:09:00.0: added PHC on eth2
[ 10.965170] igb 0000:09:00.0: eth2: (PCIe:2.5Gb/s:Width x1) xx_my_mac_here_xx
[ 10.965250] igb 0000:09:00.0: eth2: PBA No: 001300-000
[ 10.996803] igb 0000:0a:00.0: added PHC on eth3
[ 10.996842] igb 0000:0a:00.0: eth3: (PCIe:2.5Gb/s:Width x1) xx_my_mac_here_xx
[ 10.996913] igb 0000:0a:00.0: eth3: PBA No: 001300-000
[ 11.771210] igb 0000:06:00.0 enp6s0: renamed from eth1
[ 11.864326] igb 0000:05:00.0 enp5s0: renamed from eth0
[ 11.964397] igb 0000:0a:00.0 enp10s0: renamed from eth3
Display More