-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 12 Apr 2010, Tom H wrote: > For the (strange) record - and on F13. > > I changed "/etc/udev/rules.d/70...net..." to associate my single NIC's > MAC address to eth1 (instead of eth0, of course). I rebooted without > changing ifcfg-eth0's name or contents; and my network was up and > running. And "ifconfig" returned eth1. So NM must be ignoring > ifcfg-eth0 or eth1 is using ifcfg-eth0 based on the HWADDR value in > that file. Any other ideas? > # cat /etc/fedora-release Fedora release 13 (Goddard) # ifconfig | grep -E "(Link encap)|(inet addr)" eth0 Link encap:Ethernet HWaddr 00:0C:29:61:AD:0B inet addr:192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0 eth1 Link encap:Ethernet HWaddr 00:0C:29:61:AD:15 inet addr:192.168.31.128 Bcast:192.168.31.255 Mask:255.255.255.0 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 # cat /etc/udev/rules.d/70-persistent-net.rules | grep -v ^# | grep -v ^$ SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:61:ad:15", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:61:ad:0b", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" # perl -p -i -e 's/(.*)(00:0c:29:61:ad:15)(.*)(NAME=")eth1(")/$1$2$3$4eth0$5/' /etc/udev/rules.d/70-persistent-net.rules # perl -p -i -e 's/(.*)(00:0c:29:61:ad:0b)(.*)(NAME=")eth0(")/$1$2$3$4eth1$5/' /etc/udev/rules.d/70-persistent-net.rules # cat /etc/udev/rules.d/70-persistent-net.rules | grep -v ^# | grep -v ^$ SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:61:ad:15", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:61:ad:0b", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" # cat /etc/sysconfig/network-scripts/ifcfg-eth0 | grep -v ^# DEVICE=eth0 BOOTPROTO=dhcp HWADDR=00:0C:29:61:AD:0B ONBOOT=yes # cat /etc/sysconfig/network-scripts/ifcfg-eth1 | grep -v ^# DEVICE=eth1 HWADDR=00:0C:29:61:AD:15 ONBOOT=yes BOOTPROTO=dhcp # perl -p -i -e 's/(HWADDR)=.*/$1=00:0C:29:61:AD:15/' /etc/sysconfig/network-scripts/ifcfg-eth0 # perl -p -i -e 's/(HWADDR)=.*/$1=00:0C:29:61:AD:0B/' /etc/sysconfig/network-scripts/ifcfg-eth1 # cat /etc/sysconfig/network-scripts/ifcfg-eth0 | grep -v ^# DEVICE=eth0 HWADDR=00:0C:29:61:AD:15 ONBOOT=yes BOOTPROTO=dhcp # cat /etc/sysconfig/network-scripts/ifcfg-eth1 | grep -v ^# DEVICE=eth1 BOOTPROTO=dhcp HWADDR=00:0C:29:61:AD:0B ONBOOT=yes # reboot After reboot: # ifconfig | grep -E "(Link encap)|(inet addr)" eth0 Link encap:Ethernet HWaddr 00:0C:29:61:AD:15 inet addr:192.168.31.128 Bcast:192.168.31.255 Mask:255.255.255.0 eth1 Link encap:Ethernet HWaddr 00:0C:29:61:AD:0B inet addr:192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 # service NetworkManager status NetworkManager (pid 825) is running... Same with network service instead of NetworkManager. Gabriel - -- // Gabriel VLASIU // // OpenGPG-KeyID : 0xE684206E // OpenGPG-Fingerprint: 0C3D 9F8B 725D E243 CB3C 8428 796A DB1F E684 206E // OpenGPG-URL : http://www.vlasiu.net/public.key -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFLw1PAeWrbH+aEIG4RAvwNAJ4wwBgLz/B5E611rKnnVV7vDe94FACfSQIQ 8j85rfCKiojzPfW+IA6VfH4= =Aojz -----END PGP SIGNATURE----- -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines