Adding a 2nd NIC after installation

Issues related to configuring your network
Post Reply
phil.e
Posts: 97
Joined: 2018/02/13 20:28:14

Adding a 2nd NIC after installation

Post by phil.e » 2018/03/01 22:56:01

I did a minimal webserver install on CentOS 7, using the built-in network card in the computer I'm using.

After the install, I added a 2nd network card, an Intel 82574L.

Running lspci sees both the Intel card and the built in Broadcom, but ifconfig -a can't see it.

What do I need to do to get this 2nd NIC functioning and fully recognized by the system?

Thanks

supertight
Posts: 171
Joined: 2017/02/07 21:47:51

Re: Adding a 2nd NIC after installation

Post by supertight » 2018/03/01 23:26:27

phil.e wrote:I did a minimal webserver install on CentOS 7, using the built-in network card in the computer I'm using.

After the install, I added a 2nd network card, an Intel 82574L.

Running lspci sees both the Intel card and the built in Broadcom, but ifconfig -a can't see it.

What do I need to do to get this 2nd NIC functioning and fully recognized by the system?

Thanks
You need a driver. Google the specs on your card. You may or may not have to compile.
Keep us posted. :D

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Adding a 2nd NIC after installation

Post by TrevorH » 2018/03/01 23:33:51

Your card is most likely supported by the e1000e driver according to

Code: Select all

$ grep -i 8086 /lib/modules/3.10.0-693.17.1.el7.x86_64/modules.* | grep -i -E "10d3|10f6"
/lib/modules/3.10.0-693.17.1.el7.x86_64/modules.alias:alias pci:v00008086d000010F6sv*sd*bc*sc*i* e1000e
/lib/modules/3.10.0-693.17.1.el7.x86_64/modules.alias:alias pci:v00008086d000010D3sv*sd*bc*sc*i* e1000e
and using the device ids from grepping /usr/share/hwdata/pci.ids for 82574. Try modprobe e1000e then rerun your ifconfig -a and see if the device is listed now. If it is then I suspect that you need to rebuild your initramfs for the current kernel to include that module in it - which it'll do automatically based on the hardware present when you run dracut -f to do it.

However, I would warn you that the 82574 is possibly the worst network chip that Intel ever made. There have been numerous problems with it and PCIe ASPM and you may need to perform all sorts of workarounds to get it to work reliably for any decent time period. Sorry :-(
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply