Re: 2nd NIC named dev### instead of eth1

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

 



On Mon, 2004-12-13 at 18:42, Paul Raines wrote:
> We added a 2nd E1000 gig card to a box with Fedora Core 2 running
> the 2.6.6-1.435smp kernel.  Instead of coming up as eth1 it comes
> up as dev### where ### is a random number that changes each boot.
> 
> 
> # lspci | grep thernet
> 03:01.0 Ethernet controller: Intel Corp. 82541GI/PI Gigabit Ethernet Controller
> 04:02.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet Controller 
> (rev 02)
> 
> # cat /proc/net/dev | cut -d: -f1 | tail +3
>      lo
> dev265
>    eth0
> 
> # ifconfig dev265
> dev265    Link encap:Ethernet  HWaddr 00:0E:0C:60:A1:0A
>            inet addr:192.168.100.1  Bcast:192.168.100.255  Mask:255.255.255.0
>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>            RX packets:778 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:744 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:138956 (135.6 Kb)  TX bytes:219175 (214.0 Kb)
>            Base address:0x7000 Memory:d2120000-d2140000
> 
> I can configure it with IP info and it works as ifconfig above shows.
> I can create a /etc/sysconfig/network-scripts/ifcfg-dev265 for it.
> But since the number changes randomly each boot, I have to do this
> by hand every boot.
> 
> Why does it not come up as eth1? The kernel messages seem to refer to
> eth1:
> 
Paul,

Maybe alias eth1 e1000 in modprobe.conf will help.

Bob...

Attachment: signature.asc
Description: This is a digitally signed message part


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

  Powered by Linux