From: Henry N. <hen...@ar...> - 2009-09-14 20:28:48
|
Frank Church wrote: > I installed an ubuntu Gutsy and later upgraded them to Hardy Heron, > but it seems that some of the networking settings carried over, and as > I have to run them all at the same time I just want to make sure the > problems don't happen again. I am afraid to reboot them in case they > lose their settings. > > I have used the info in this link > http://colinux.wikia.com/wiki/Wubi#udev:_renamed_network_interface_eth0_to_eth2 > to fix the problem temporarily, but I am not sure what mac addresses > they will be given if I reboot them. I just want to have a way of > ensuring that the interfaces are given unique mac address when they > restart. > > These are the current ifconfig settings and the contents of the > /etc/udev/rules.d/70-persistent-net.rules, they are all derived from > the same image. > > > gutsy 7.1 - current configuration of ifconfig > ============================== > eth0 Link encap:Ethernet HWaddr 00:FF:41:48:88:00 > eth1 Link encap:Ethernet HWaddr 00:FF:37:1B:2C:00 > > <pre> > # This file maintains persistent names for network interfaces. > # See udev(7) for syntax. > # > # Entries are automatically added by the 75-persistent-net-generator.rules > # file; however you are also free to add your own entries. > > # PCI device 0x1a55:0x0005 (conet) > SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:ff:55:1d:81:00", > NAME="eth0" > > # PCI device 0x1a55:0x0005 (conet) > SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:ff:9c:6d:40:00", > NAME="eth1" > > [... snip...] > </pre> > > Remove them all. You can complete clean this file. You needs nothing of this entries. Do you have perhaps not changed the file "*-|persistent-net-generator.rules|" ? The "generator" of this stuff. The steps are: First edit the file "*-|persistent-net-generator.rules|" and add a bypass. Than remove all entries with "(conet)" from the file "*-persistent-net.rules". Than reboot. Or, if you wish to have fixed MAC for every time and for every user of your image, than add any of the MAC you have seen to the coLinux config file. Let start you self managed MAC with "02:ff:...". This way would need, if you switch the starts between command line running and "coLinux as service". -- Henry N. |