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

Jon Meek (spam-protected)
Sat Nov 26 23:26:21 HKT 2016


I don't think that this is a bug. Those rules keep your Ethernet port names
consistent over time. In my cloning notes I have a step to delete the
appropriate lines before moving the disk / CF card to a new system.

I would have expected a new line for eth1 to be added to the file, which is
not what you want, of course.

Jon


On Sat, Nov 26, 2016 at 8:00 AM, Andreas Delleske <delleske at vauban.de>
wrote:

> 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
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>



-- 
Jon T. Meek, Ph.D.
 https://linkedin.com/in/meekjt
 https://meekj.github.io
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20161126/c9456aa1/attachment.html>


More information about the Voyage-linux mailing list