On Monday 04 February 2013 12:28, in alt.os.linux.slackware,
ma...@mail.com
wrote:
That's strange. What does dmesg tell you about the ethernet devices? How
about lspci and lsusb? Unless otherwise configured, udev assignes ethernet
devices in sequence; the first one detected becomes eth0, the second eth1,
and so on.
If Slackware's udev thinks that you have an eth1, then either you have two
ethernet devices, or you may have an overriding udev rule.
Look for /etc/udev/rules.d/70-persistent-net.rules
FWIW, you can use the rules in /etc/udev/rules.d/70-persistent-net.rules
to set up the devices in the order you like. On one of my systems, one NIC
attaches to my LAN, while the other to my ISP. I have rules in
70-persistent-net.rules to ensure that eth0 is assigned to the proper NIC,
so that routing and firewalling rules properly apply. The format looks like
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", \
ATTR{address}=="00:24:8c:75:4d:bf", ATTR{type}=="1", KERNEL=="eth*", \
NAME="eth0"
# PCI device 0x10b7:0x9055 (3c59x)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", \
ATTR{address}=="00:10:5a:1b:08:a9", ATTR{type}=="1", KERNEL=="eth*", \
NAME="eth1"
(lines folded for posting - original does not use folded lines)
HTH
--
Lew Pitcher
"In Skills, We Trust"