NetworkManager calls new network card eth2, not eth1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Folks,

After replacing the second network card with a new one, NetworkManager
refuses to listen to the startup scripts (shown below).  It always
calls the new interface eth2, not eth1.

1. Where does NetworkManager hold its definitions of network
   interfaces?

2. Does the UUID have something to do with my problem?  How does this
   get generated?  Should I uses uuidgen to make a new one for eth1?

I would really like to understand NetworkManager, but it makes things
more complicated for me on this machine.

$ ls /etc/sysconfig/network-scripts/ifcfg-*
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth1
/etc/sysconfig/network-scripts/ifcfg-lo

$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Networking Interface
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:24:1D:1F:7E:77
ONBOOT=yes
TYPE=Ethernet
NM_CONTROLLED=yes
USERCTL=no
IPV6INIT=no
IPADDR=192.168.0.1
NETMASK=255.255.255.0
PREFIX=24
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03

$ cat /etc/sysconfig/network-scripts/ifcfg-eth1
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
DNS1=192.168.0.1
DOMAIN=optusnet.com.au
DEVICE=eth1
BOOTPROTO=dhcp
TYPE=Ethernet
# My old card that I replaced 2009-09-13
# HWADDR=00:d0:b7:5c:25:58
HWADDR=00:B0:C4:02:D5:FD
ONBOOT=yes
USERCTL=no
IPV6INIT=no
NAME="System eth1"
UUID=9c92fad9-6ecb-3e6c-eb4d-8a47c6f50c04
PEERDNS=no
PEERROUTES=yes

I am now using Fedora 12; the same problem existed with Fedore 11.

I fixed things after boot with:
/sbin/ip link set down dev eth2
/sbin/ip link set name eth1 dev eth2
/sbin/ifup eth1

So now (until next reboot) I have:

$ ip link ls dev eth1
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 00:b0:c4:02:d5:fd brd ff:ff:ff:ff:ff:ff
--
Nick Urbanik             http://nicku.org           nicku@xxxxxxxxx
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux