Re: help adding a second RTL-8169 G

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

 



On Wed, 2006-02-08 at 22:58 -0600, Randy Paries wrote:
> hello,
> I am running fedora 4
> 2.6.15-1.1830_FC4smp
> 
> I am having problems adding a second RTL-8169 G GB Nic card
> 
> when the system boots it says "can not change name of eth2 to eth1 file exists
> 
> does not even try to install load eth2
> 
> on the ifconfig -a (see below) there is a device dev5036   . Not sure
> what that is
> 
> Thanks for any help
> 
> #======================================================
> cat /etc/modprobe.conf
> alias eth1 r8169
> alias scsi_hostadapter ata_piix
> alias usb-controller ehci-hcd
> alias usb-controller1 uhci-hcd
> alias ieee1394-controller ohci1394
> alias eth0 8139too
> 
You have added the second adapter but not added an alias line here.
Thus it is trying to load the driver r8169 and reassign eth1 to the
second instance of that but fails because it is already used.

My suggestion:
1. copy /etc/sysconfig/network-scripts/ifcfg-eth1
to /etc/sysconfig/network-scripts/ifcfg-eth2.
2. Edit the new file and change the device name and IP address
3. Edit /etc/modprobe.conf to add a new alias for eth2
    alias eth2 r8169
4.  Reboot and see if that fixes things.

You can look at the output of dmesg to see what devices are
detected/configured during boot (and also a lot of detail
in /var/log/messages).


> 
> #======================================================
> when i do a lspci -vx
> i can see
> 
> 01:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169
> Gigabit Ethernet (rev 10)
>         Subsystem: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet
>         Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 225
>         I/O ports at d000 [size=256]
>         Memory at cffff400 (32-bit, non-prefetchable) [size=256]
>         Expansion ROM at c0020000 [disabled] [size=64K]
>         Capabilities: [dc] Power Management version 2
> 00: ec 10 69 81 17 00 b0 02 10 00 00 02 20 40 00 00
> 10: 01 d0 00 00 00 f4 ff cf 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 ec 10 69 81
> 30: 00 00 fc cf dc 00 00 00 00 00 00 00 05 01 20 40
> 
> 01:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169
> Gigabit Ethernet (rev 10)
>         Subsystem: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet
>         Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 233
>         I/O ports at d400 [size=256]
>         Memory at cffff800 (32-bit, non-prefetchable) [size=256]
>         Expansion ROM at c0030000 [disabled] [size=64K]
>         Capabilities: [dc] Power Management version 2
> 00: ec 10 69 81 17 00 b0 02 10 00 00 02 20 40 00 00
> 10: 01 d4 00 00 00 f8 ff cf 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 ec 10 69 81
> 30: 00 00 fd cf dc 00 00 00 00 00 00 00 05 01 20 40
> 



> ======================================================
> # ifconfig -a
> dev5036   Link encap:Ethernet  HWaddr 00:0E:2E:68:E6:2F
>           BROADCAST MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>           Interrupt:225 Base address:0x4400

Does this MAC address match the second adapter you are trying to
install?  It looks very similar to the MAC for eth1.


> 
> eth0      Link encap:Ethernet  HWaddr 00:08:A1:7D:7A:A2
>           inet addr:66.208.187.240  Bcast:66.208.187.255  Mask:255.255.255.128
>           inet6 addr: fe80::208:a1ff:fe7d:7aa2/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:357 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:255 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:40245 (39.3 KiB)  TX bytes:48926 (47.7 KiB)
>           Interrupt:217 Base address:0xcc00
> 
> eth1      Link encap:Ethernet  HWaddr 00:0E:2E:65:8C:B4
>           inet addr:192.168.0.159  Bcast:192.168.0.255  Mask:255.255.255.0
>           inet6 addr: fe80::20e:2eff:fe65:8cb4/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:60 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:4854 (4.7 KiB)  TX bytes:5262 (5.1 KiB)
>           Interrupt:233 Base address:0x6800


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

  Powered by Linux