Ethernet internet cuts out - toggling it off and on fixes it 18.04
Ubuntu 18.04
Realtek Ethernet Controller
lspci output here
My internet connection via Ethernet will occasionally (few times a week, using it about 10 hours a week) just quit working. There is no indicator that there is an issue (like in the system tray) other than nothing will load.
Toggling the Ethernet connection off and back on, fixes the issue.
Not sure what other data or logs to provide. Please let me know what would help and I'll provide it. Thanks!
EDIT:
output of sudo lshw -C network
*-network description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:05:00.0 logical name: enp5s0 version: 06 serial: fc:aa:14:e0:d8:71 size: 100Mbit/s capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=192.168.2.202 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s resources: irq:16 ioport:b000(size=256) memory:fe500000-fe500fff memory:d0900000-d0903fff *-network DISABLED description: Wireless interface product: BCM4360 802.11ac Wireless Network Adapter vendor: Broadcom Inc. and subsidiaries physical id: 0 bus info: pci@0000:06:00.0 logical name: wlp6s0 version: 03 serial: ec:08:6b:d9:ea:cf width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=wl0 driverversion=6.30.223.271 (r587334) latency=0 multicast=yes wireless=IEEE 802.11 resources: irq:19 memory:fe400000-fe407fff memory:fe200000-fe3fffff *-network:0 description: Ethernet interface physical id: 1 logical name: virbr0 serial: 52:54:00:25:8e:9f capabilities: ethernet physical configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=192.168.122.1 link=no multicast=yes *-network:1 DISABLED description: Ethernet interface physical id: 2 logical name: virbr0-nic serial: 52:54:00:25:8e:9f size: 10Mbit/s capabilities: ethernet physical configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/soutput of dkms status
bcmwl, 6.30.223.271+bdcom, 5.3.0-40-generic, x86_64: installed
bcmwl, 6.30.223.271+bdcom, 5.3.0-42-generic, x86_64: installed
hid-xpadneo, 0.6.0, 5.3.0-40-generic, x86_64: installed
hid-xpadneo, 0.6.0, 5.3.0-42-generic, x86_64: installed 2 2 Answers
cables
Your sudo lshw -C network indicates two things...
size: 100Mbit/s
capacity: 1Gbit/sYour ethernet has 1Gb capability, but is only running at 100Mb... one tenth speed. This usually means a cable problem. Are you running with cat 5e or cat 6 cables? I could also mean that there are gigabit switches or routers that aren't working properly. Check your cables. Check your network hardware.
driver=r8169The r8169 driver is kind of flakey. Replace it with the r8168 driver, like so...
sudo apt-get update # update the software database
sudo apt-get install dkms r8168-dkms # install the new driver
reboot # reboot the computer
Update #1:
There's a TP-Link powerline adapter pair that connects the computer to the router/modem.
Install the TP-Link Powerline Utility from the install CD, or download a fresh copy from .
Download the latest firmware for your PL adapters from .
Upgrade your TP-Link PL adapter firmware using instructions from
Update #2:
No US firmware updates are available for the TP-Link powerline set.
Update #3:
Temporarily removed the PowerLine adapters and ran an ethernet cable directly from the computer to the router. It seems to be working fine now. Suspect PL problem.
24I had the same issue with different computers (a Desktop and a Notebook), different PowerLine Ethernet adapters (Netgear and Denovo), different Ethernet Cards (RealTeck and ASIX Electronics), different cables (new cables) and different rooms (the same house).
The unique equal variable is Ubuntu 18.04.
I have more of the same PowerLine adapters connected to other devices (PS4, WiFI Router and a Win PC) and all works fine (I'm currently using 4 Denovo duo 550 CPL adapters).
I'm currently solving my issue with the following solution: can you take a look?
10