Colinux upgrade woes

I just upgraded from colinux 0.7.3 to 0.7.4. The upgrade went smoothly, but udev screwed up my network interfaces on the next boot.

udev: renamed network interface eth1 to eth2
udev: renamed network interface eth0_rename to eth1

Apparently, the upgrade changed the MAC address of my TAP adapter. To solve the issue, i edited udev’s rules file:

diakonos  /etc/udev/rules.d/70-persistent-net.rules

# PCI device 0x10ec:0x8029 (ne2k-pci)
#Comment out old rule
#SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="52:54:00:12:34:56", NAME="eth0"

# PCI device 0x1a55:0x0005 (conet)
#adjust NAMEs in new rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:ff:7d:99:00:00",
 ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x1a55:0x0005 (conet)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:ff:e1:57:98:e0",
 ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

Leave a Reply