[ALUG] Centos7

Hamisi Jabe administrator at banana.co.tz
Thu Jul 10 18:57:39 EAT 2014


Dear All,

CentOS 7 has just been released

I have installed it and the kind of network cards are like fedora 16 - 
20 where they are named as em0, em1 and not like eth0 and eth1. I have 
worked all the way to rename it to eth* but the big issue is. The 
machine i installed the Os has two network cards but its only the 
primary/board network card is visible upon using the command ifconfig

when i use the command lspci i get the information below for the two nic

04:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721 
Gigabit Ethernet PCI Express (rev 21)
0a:01.0 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S 
[Rhine-III] (rev 86)

Now the first one has been allocated the name "enp4s0"

How do i find the allocated name of the second nic as it is not 
displayed when using the ifconfig command, and in the 
/etc/sysconfig/network-script/ there is only one file called 
"ifcfg-enp4s0" for the first nic only

Help people




More information about the Linux mailing list