[Voyage-linux] Voyage 0.10: Ethernet bug when moving CF-disks to other boards discovered

Andreas Delleske (spam-protected)
Sat Nov 26 21:00:59 HKT 2016


Hi list,

I guess I have discovered a bug:

With an Alix board and Voyage Linux 0.10.0, I prepared a Compact Flash
with the usual script.

It started fine, I got ssh access etc., DHCP was working, Ethernet..

Then when I stopped the machine (orderly shutdown) and plugged the
CF-card into another ALIX board (with a different Ethernet MAC, the
Ethnernet interface eth0 did not even come up at boot - it was not
present even in "ifconfig".

The problem is, that when starting up and the following file does not
yet exist, the system "hardwires" the MAC address into the file, like
so:

xx:~# cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x1106:0x3053 (via-rhine)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:0d:b9:17:fc:d0", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

I think it is this problem.

http://unix.stackexchange.com/questions/110496/cloned-linux-system-and-etc-udev-rules-d-70-persistent-net-rules

Could the voyage code be adapted or is this a Debian thing? Come
something be done?


-- 
Cheers
Andreas



More information about the Voyage-linux mailing list