Newly added network card disabled
https://askubuntu.com/questions/961098/newly-added-network-card-disabled
Background:
I want to link CCTV server directly to my Ubuntu PC to record the streams from the CCTV onto the Ubuntu PC.
I want to keep the network traffic from the CCTV server isolated from the rest of my network, so I decided to add another network card to the PC to allow me to have a peer to peer link with the CCTV server.
Problem:
I installed a new generic network card in the PC which uses a Realtek 8100/8101L/8139 chipset.
When I rebooted after installing the card, it did not appear to work.
ifconfig
Returns
enp0s14: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.102 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::250:8dff:fed3:63a0 prefixlen 64 scopeid 0x20<link>
ether 00:50:8d:d3:63:a0 txqueuelen 1000 (Ethernet)
RX packets 20937 bytes 12660083 (12.6 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22521 bytes 4156566 (4.1 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 22
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 10794 bytes 547578 (547.5 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10794 bytes 547578 (547.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp0s14 is the built in network adapter on my motherboard which is still working fine and connects me to my home network.
There's no entry listed relating to the newly installed NIC.
lspci | grep Ethernet
Returns
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev 10)
00:0e.0 Ethernet controller: VIA Technologies, Inc. VT6120/VT6121/VT6122 Gigabit Ethernet Adapter (rev 11)
So it seems that the new card is detected, but not enabled.
dmsg | grep Network
Returns
[ 1.575821] FUJITSU Extended Socket Network Device Driver - version 1.2 - Copyright (c) 2015 FUJITSU LIMITED
[ 1.611683] VIA Networking Velocity Family Gigabit Ethernet Adapter Driver Ver. 1.15
[ 1.611686] Copyright (c) 2002, 2003 VIA Networking Technologies, Inc.
[ 1.618755] eth0: VIA Networking Velocity Family Gigabit Ethernet Adapter
[ 16.301456] audit: type=1400 audit(1506850485.331:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=646 comm="apparmor_parser"
[ 16.301457] audit: type=1400 audit(1506850485.331:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=646 comm="apparmor_parser"
This only seems to mention the VIA chipset drivers and not the Realtek ones.
So does this mean that the drivers are not installed?
Googling the Realtek site says that the Linux 8100 series drivers are not available for download because they are incorporated in the Linux kernel, so am I right in thinking that I don't need to install any and it should just work?
Any ideas on how to enable this adapter would be much appreciated.
Thanks
** Solution **
This appeared to be down to drivers in the end.
rtl8139 driver module is supposedly included in the kernel, but it seems that for my installation it wasn't, so when I tried "lsmod | grep rtl" nothing was found.
modprobe rtl8139 did not work, but when I tried modprobe 8139too, this worked after a full reboot.
Thanks to vidarlo for the assistance with this resolution.