Replacement motherboard, renumbered NICs and dvd drives?
a24061 at ducksburg.com
Thu Feb 28 23:04:01 UTC 2008
On 2008-02-27, NoOp wrote:
> I just tested by renaming /etc/udev/rules.d/70-persistent-net.rules to
> /etc/udev/rules.d/x-70-persistent-net.rules-x on a test machine and
> rebooted. /etc/udev/rules.d/70-persistent-net.rules was not regenerated.
> So then I kept the file and just deleted all of the entried & rebooted.
> No entries are generated (expected).
> I would just modify and then
> sudo /etc/init.d/udev restart
> sudo /etc/init.d/networking restart
> or reboot.
> It I want eth1 to be the nic with the mac address of 00:0c:by:by:by:by I
> simply swap the NAME="eth0" to NAME="eth1" and swap the name for the xz.
> If I want to take out the USB (xy), I can either comment out or delete.
I commented out the obsolete entries, changed "eth2" to "eth0" in the
last one, updated /etc/network/interfaces, and restartd udev and
networking. It worked the second time, when I did `sudo ifdown -a`
Something very similar sorted out the drive symlinks (cdrom3, dvdrw2,
Thanks for the advice!
More information about the ubuntu-users