Problems with two netcards, one disable the other

Issues related to hardware problems
joseamatamoros
Posts: 8
Joined: 2013/07/05 17:24:21

Problems with two netcards, one disable the other

Postby joseamatamoros » 2013/07/05 17:43:59

Hi, guys. Just beginning saying Linux and CentOS is amaizing, I have been learning and working with it for 3 years and still surprise me. But....

I'm having a problem with a PC. It has an ASRock g41m-vs3 motherboard with an Atheros PCIEx1 LAN AR8132L. Hard to find the way to make it works, but I have downloaded the drivers and it's working now.

Before it, I added another netcard (RTL 8139 SMC EZ Card) that has been recognized from the beginning by the OS. I have been working with it, but, in the very moment the Atheros netcard begin to work, this netcard is disabled by the OS (Inactive). If I try to activate it, I have the following message:

Cannot activate network device eth0! Device eth0 has different MAC address than expected, ignoring.

The MAC address hasn't changed and I have checked the number written in the very netcard and is the same. Don't know what to do, I need both netcards enabled (in different subnets, Layer 3 configuration is OK).

[root@DRBD2 ~]# ifconfig
eth1 Link encap:Ethernet HWaddr 00:25:22:9E:C6:24
inet addr:192.168.178.15 Bcast:192.168.178.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17159 errors:0 dropped:0 overruns:0 frame:0
TX packets:8817 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:12599353 (12.0 MiB) TX bytes:895851 (874.8 KiB)
Interrupt:74

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1229 errors:0 dropped:0 overruns:0 frame:0
TX packets:1229 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2373613 (2.2 MiB) TX bytes:2373613 (2.2 MiB)

[root@DRBD2 ~]# ifup eth0
Device eth0 has different MAC address than expected, ignoring.

FILE ifcfg-eth0

# Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
HWADDR=00:50:bf:e8:86:00
NETMASK=255.255.255.0
IPADDR=192.168.180.15
TYPE=Ethernet
USERCTL=no
IPV6INIT=no


Any idea is welcome!!!

Andres.

User avatar
TrevorH
Forum Moderator
Posts: 20605
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Problems with two netcards, one disable the other

Postby TrevorH » 2013/07/05 18:35:54

Post the output from `ifconfig -a` and also the contents of /etc/sysconfig/network-scripts/ifcfg-eth1

joseamatamoros
Posts: 8
Joined: 2013/07/05 17:24:21

Re: Problems with two netcards, one disable the other

Postby joseamatamoros » 2015/05/20 00:05:12

Sorry I never get back here. I solved it installing the drivers for this eth following this instructions:
Download driver:
64BITS: wget http://elrepo.org/linux/elrepo/el5/x86_ ... x86_64.rpm
32BITS: wget http://elrepo.org/linux/elrepo/el5/i386 ... o.i686.rpm

Install rpm:
64BITS: rpm -Uvh kmod-atl1e-1.0.1.14-1.el5.elrepo.x86_64.rpm
32BITS: rpm -Uvh kmod-atl1e-1.0.1.14-1.el5.elrepo.i686.rpm

Activate module:
modprobe -v atl1e

Verify:
lsmod | grep atl

Reboot the PC:
reboot

However, CentOS 6 works without problems with this eth. I let this instructions for someone who finds himself in same scenario. Thanks!