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

Re: eth0 or eth1



On Thu, 28 Jan 2010 15:17:21 -0600, Chance Platt wrote:

>> One of My Debian has eth1 as the Ethernet card, while all others use
>> eth0. There are only one Ethernet card in each system. Why the
>> different?
>> 
> Is there more than one NIC in your system? 

No, there is only one NIC in my system.

> I'm guessing udev has for whatever reason identified more than one
> network card installed in your system.  It can be caused by changing
> network cards, the kernel identifying your card differently at some
> point (maybe kernel upgrades or bug, changed MAC address..)

Yes, I think that explains well. This is the system that I been kept 
upgrading for years. The card changed from eth0 to eth1 during one system 
upgrade (and stays that way) -- maybe during hal to udev upgrading. 

> If not, delete the rules
> associated with your network card in
> /etc/udev/rules.d/70-persistent-net.rules and reboot.

Thanks to Celejar & Stephen's help. I get it corrected without rebooting. 
Here is my detailed steps:

$ dmesg | grep 'ethernet driver'
[1795967.314420] forcedeth: Reverse Engineered nForce ethernet driver...

rm /etc/udev/rules.d/70-persistent-net.rules
ifdown eth1
modprobe -r forcedeth
modprobe forcedeth

$ dir /etc/udev/rules.d/70-persistent-net.rules 
-rw-r--r-- 1 root root 424 2010-01-28 18:45 /etc/udev/rules.d/70-
persistent-net.rules

ifup eth0  

AOK!

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


Reply to: