Re: How are device names assigned to eth devices?



On Mon, 17 Sep 2007 22:01:57 +0000, Bit Twister wrote:

On Mon, 17 Sep 2007 20:26:46 GMT, Unruh wrote:

I am confused. udev does not sound like something that would be handling
device names. And why would it be refusing to assign eth0 to the device but
be happy with eth2, esp since eth0 does not exist on the machine.
And what does udev use to assign those names? Ie there must be some program
that actually does the assigning.

May depend on which linux you are running.

To get my eth0 straightened out I did a
rm -f /etc/iftab
rm -f /etc/udev/rules.d/61-net_config.rules
and setup values in /etc/sysconfig/network-scripts/ifcfg-eth0.
Then again I run Mandriva Linux.
Bit Twister: What version of Mandriva are you running, and what version of
udev are you running? I'm running Gentoo 2.6.22-r5, x86-64, AMD64x2, 2GB
DDR2, Broadcom 4311, Dual layer Dual format DVDRW, Nvidia Geforce GO 6100,
FluxBox desktop (with some kde and some gnome programs), multiple servers
(internal LAN only) ...... a really sweet thing for a dev unit.
Unruh: What are you running?

.



Relevant Pages

  • Re: [Fwd: Config Network Setting]
    ... kernel: udev: renamed network interface eth0 to eth1 ... it is a network interface PCI card ... the built-in NIC becomes eth1 and the PCI becomes eth0. ... It appears that udev does the device switching. ...
    (Fedora)
  • Re: How are device names assigned to eth devices?
    ... esp since eth0 does not exist on the machine. ... And what does udev use to assign those names? ... Then again I run Mandriva Linux. ... FluxBox desktop (with some kde and some gnome programs), ...
    (comp.os.linux.networking)
  • Re: How are device names assigned to eth devices?
    ... udev does not sound like something that would be handling ... esp since eth0 does not exist on the machine. ... And what does udev use to assign those names? ... Then again I run Mandriva Linux. ...
    (comp.os.linux.networking)
  • Re: [Fwd: Config Network Setting]
    ... kernel: udev: renamed network interface eth0 to eth1 ... it is a network interface PCI card ... the built-in NIC becomes eth1 and the PCI becomes eth0. ... It appears that udev does the device switching. ...
    (Fedora)
  • Re: What happened to network devices?
    ... /etc/udev contains rules for assigning device names to physical devices - udev does things like scans for network devices and assign eth0 to one of them ... one of the more confusing things is that, under some circumstances, a machine will come up with eth0 assigned to a different physical interface than you were expecting - the default rules try to keep eth0 attached to the same mac address - so if you replace an ethernet card, or move cards around, you can find that you no longer have a network connection ...
    (Debian-User)