<div dir="ltr">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.<div><br></div><div>I would have expected a new line for eth1 to be added to the file, which is not what you want, of course.</div><div><br></div><div>Jon</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 26, 2016 at 8:00 AM, Andreas Delleske <span dir="ltr"><<a href="mailto:delleske@vauban.de" target="_blank">delleske@vauban.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi list,<br>
<br>
I guess I have discovered a bug:<br>
<br>
With an Alix board and Voyage Linux 0.10.0, I prepared a Compact Flash<br>
with the usual script.<br>
<br>
It started fine, I got ssh access etc., DHCP was working, Ethernet..<br>
<br>
Then when I stopped the machine (orderly shutdown) and plugged the<br>
CF-card into another ALIX board (with a different Ethernet MAC, the<br>
Ethnernet interface eth0 did not even come up at boot - it was not<br>
present even in "ifconfig".<br>
<br>
The problem is, that when starting up and the following file does not<br>
yet exist, the system "hardwires" the MAC address into the file, like<br>
so:<br>
<br>
xx:~# cat /etc/udev/rules.d/70-<wbr>persistent-net.rules<br>
# This file was automatically generated by the /lib/udev/write_net_rules<br>
# program, run by the persistent-net-generator.rules rules file.<br>
#<br>
# You can modify it, as long as you keep each rule on a single<br>
# line, and change only the value of the NAME= key.<br>
<br>
# PCI device 0x1106:0x3053 (via-rhine)<br>
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",<br>
ATTR{address}=="00:0d:b9:17:<wbr>fc:d0", ATTR{dev_id}=="0x0",<br>
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"<br>
<br>
I think it is this problem.<br>
<br>
<a href="http://unix.stackexchange.com/questions/110496/cloned-linux-system-and-etc-udev-rules-d-70-persistent-net-rules" rel="noreferrer" target="_blank">http://unix.stackexchange.com/<wbr>questions/110496/cloned-linux-<wbr>system-and-etc-udev-rules-d-<wbr>70-persistent-net-rules</a><br>
<br>
Could the voyage code be adapted or is this a Debian thing? Come<br>
something be done?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Cheers<br>
Andreas<br>
<br>
______________________________<wbr>_________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" rel="noreferrer" target="_blank">http://list.voyage.hk/mailman/<wbr>listinfo/voyage-linux</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Jon T. Meek, Ph.D.<div><div> <a href="https://linkedin.com/in/meekjt" target="_blank">https://linkedin.com/in/meekjt</a> </div></div><div><div> <a href="https://meekj.github.io/" target="_blank">https://meekj.github.io</a><br></div></div><div><br></div><div><br></div></div></div></div></div></div></div>
</div>