Ethernet not working, Realtek controller

Questions about cabled networking
Forum rules
Before you post please read how to get help
Post Reply
radick334
Level 1
Level 1
Posts: 3
Joined: Wed Jan 27, 2016 8:56 pm

Ethernet not working, Realtek controller

Post by radick334 » Wed Jan 27, 2016 9:18 pm

I'm trying to get the ethernet working on my new computer, on which I've installed Mint 17.3 64 bit. My ethernet controller is Realtek RTL8111/8168/8411. I've been trying to follow the instructions on https://unixblogger.wordpress.com/2011/ ... rnet-card/, but without success. (I'm unable to install "build-essential.")

"inxi -SNxz" returns this:
System: Host: Mark Kernel: 3.19.0-32-generic x86_64 (64 bit gcc: 4.8.2)
Desktop: Cinnamon 2.8.6 (Gtk 3.10.8~8+qiana)
Distro: Linux Mint 17.3 Rosa
Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8168 v: 8.041.01-NAPI port: e000 bus-ID: 02:00.0
"lspci" returns this:
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation B85 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
"lsusb" returns this:
Bus 004 Device 002: ID 8087:8000 Intel Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8008 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 001 Device 003: ID 0930:6507 Toshiba Corp. TravelDrive 2C
Bus 001 Device 005: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
Bus 001 Device 002: ID 0781:5530 SanDisk Corp. Cruzer
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Any ideas what I should try? Any help would be much appreciated!

Old Ruler
Level 5
Level 5
Posts: 549
Joined: Sat Jul 18, 2009 12:43 pm
Location: Shropshire, UK.

Re: Ethernet not working, Realtek controller

Post by Old Ruler » Thu Jan 28, 2016 5:34 pm

That article is four years old and they are trying to install the driver you already have, in place of the r8169 driver they have. So it may not be relevant to your trouble.

The output of 'ifconfig -a' will show if your card (eth0 probably) is "UP" and has an IPv4 address. The problem may be at a higher level than the kernel driver.

radick334
Level 1
Level 1
Posts: 3
Joined: Wed Jan 27, 2016 8:56 pm

Re: Ethernet not working, Realtek controller

Post by radick334 » Thu Jan 28, 2016 7:09 pm

Thanks for the reply, Old Ruler.

"ifconfig -a" gives me:
eth0 Link encap:Ethernet HWaddr 40:8d:5c:90:fd:63
inet6 addr: fe80::428d:5cff:fe90:fd63/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3733 errors:0 dropped:0 overruns:0 frame:0
TX packets:133 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:227366 (227.3 KB) TX bytes:26893 (26.8 KB)
Interrupt:27 Base address:0xc000
So the ethernet card is "up", correct?

Old Ruler
Level 5
Level 5
Posts: 549
Joined: Sat Jul 18, 2009 12:43 pm
Location: Shropshire, UK.

Re: Ethernet not working, Realtek controller

Post by Old Ruler » Thu Jan 28, 2016 7:39 pm

Indeed it is, but it hasn't been assigned an IP address, so there can be no networking yet. What it needs to look like is :

Code: Select all

eth0      Link encap:Ethernet  HWaddr 08:62:66:4b:ab:13  
          inet addr:192.168.0.7  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::a62:66ff:fe4b:ab13/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:90511 errors:0 dropped:0 overruns:0 frame:0
          TX packets:66306 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:102037268 (102.0 MB)  TX bytes:7838028 (7.8 MB)
          Interrupt:20 Memory:df500000-df520000 
The second line shows my IPv4 address. You need one of those so try 'dhclient eth0' if you want to try from the command line, but do look around the Network control and connections dialog, accessible from the 'tray' next to the speaker icon.

radick334
Level 1
Level 1
Posts: 3
Joined: Wed Jan 27, 2016 8:56 pm

Re: Ethernet not working, Realtek controller

Post by radick334 » Thu Jan 28, 2016 8:36 pm

"dhclient eth0" returns the message:
RTNETLINK answers: Operation not permitted
If I try "sudo dhclient eht0", the terminal takes a long time before it allows me to type a new command, but afterwards I still don't have an "inet addr".

I've tried playing around with the Networking GUI, but without any results.

EDIT:
Hey, I just got it working! I had to change the IPv6 settings to "Addresses = Link-Local Only".

Post Reply

Return to “Ethernet”