Add Network Device

Issues related to configuring your network
Post Reply
Thorndike
Posts: 3
Joined: 2017/11/06 09:07:59

Add Network Device

Post by Thorndike » 2017/11/06 09:19:54

I have some basic Linux know how but it seems I am unable to add an other network card to my CentOS 7.4 Server. The Card is recognized and it looks like the driver is loaded but there is no network device for it.

Code: Select all

root@localhost ~]# lspci -nn | grep -i net
03:00.0 Ethernet controller [0200]: Broadcom Limited NetXtreme BCM5720 Gigabit Ethernet PCIe [14e4:165f]
03:00.1 Ethernet controller [0200]: Broadcom Limited NetXtreme BCM5720 Gigabit Ethernet PCIe [14e4:165f]
07:00.0 Ethernet controller [0200]: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] [1d6a:d107] (rev 02)

[root@localhost ~]# lsmod | grep atlantic
atlantic               70584  0 


07:00.0 Ethernet controller: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02)
	Subsystem: ASUSTeK Computer Inc. Device 8741
	Physical Slot: 1
	Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
	Memory at fbff0000 (64-bit, non-prefetchable) [size=64K]
	Memory at fbfe0000 (64-bit, non-prefetchable) [size=4K]
	Memory at fb800000 (64-bit, non-prefetchable) [size=4M]
	[virtual] Expansion ROM at fbc00000 [disabled] [size=256K]
	Capabilities: [40] Express Endpoint, MSI 00
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI-X: Enable+ Count=32 Masked-
	Capabilities: [a0] MSI: Enable- Count=1/32 Maskable- 64bit+
	Capabilities: [c0] Vital Product Data
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [150] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Capabilities: [180] #19
	Kernel driver in use: atlantic
	Kernel modules: atlantic

[root@localhost network-scripts]# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
    link/ether 00:fd:45:fd:6b:44 brd ff:ff:ff:ff:ff:ff
3: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000
    link/ether 00:fd:45:fd:6b:45 brd ff:ff:ff:ff:ff:ff
4: ens1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
    link/ether 10:7b:44:e8:da:a7 brd ff:ff:ff:ff:ff:ff
5: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT 
    link/ether 02:42:33:4e:f4:c1 brd ff:ff:ff:ff:ff:ff
11: veth5fa4e6b@if10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP mode DEFAULT 
    link/ether a2:e6:d8:82:dc:13 brd ff:ff:ff:ff:ff:ff link-netnsid 0
21: veth9f4c523@if20: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP mode DEFAULT 
    link/ether 02:62:59:18:71:53 brd ff:ff:ff:ff:ff:ff link-netnsid 1

I figured out that eno1 and eno2 are the Bradcom Adapters on the motherboard, ens1 seems to be some network device in an Intel chip. The other devices belong to docker. In the /etc/sysconfig/network-scripts is not script for the additional ASUSTeK adapter.

I am looking for the missing step between the installed hardware driver and a working network card. Any hints?

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

Re: Add Network Device

Post by TrevorH » 2017/11/06 10:32:25

4: ens1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
link/ether 10:7b:44:e8:da:a7 brd ff:ff:ff:ff:ff:ff
Google says that 10:7b:44 belongs to Asustek.
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

Thorndike
Posts: 3
Joined: 2017/11/06 09:07:59

Re: Add Network Device

Post by Thorndike » 2017/11/06 19:02:47

Thank you for your reply. I created a network script for ens1 and tried again. Initially I thought I failed but it seems that this damned card is taken forever go get up and running. Is it normal that a 10GBe network card takes about a minute to get a link? The onboard devices are up in an instant.

pjsr2
Posts: 614
Joined: 2014/03/27 20:11:07

Re: Add Network Device

Post by pjsr2 » 2017/11/06 22:44:54

Could the delay be caused by slow response from the DHCP server?

Thorndike
Posts: 3
Joined: 2017/11/06 09:07:59

Re: Add Network Device

Post by Thorndike » 2017/11/07 07:17:00

No, the device has a static IP. I think have read somewhere that this Asus C100C indeed needs some time to get a link but I can't find the reference again.

Post Reply