Internet issues out of the blue

Hi guys,

today I woke up, grabbed my laptop and booted it up for work. But suddenly I experienced internet issues (colleagues on Discord said that I was speaking intermittently), but I thought it was a wifi issue. So I cabled the laptop, but the issue is still there.

The other devices, phone on wifi and the other cabled PC, running Windows 10, have no network issues.

Yesterday I did not update anything on Manjaro, today I tried to switch kernel, from 5.8 to 5.4LTS, but no luck.

inxi -Nazy
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 4000 bus ID: 03:00.0 
  chip ID: 10ec:8168 
  Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter 
  vendor: Hewlett-Packard driver: rtw_pci v: N/A modules: rtwpci port: 3000 
  bus ID: 05:00.0 chip ID: 10ec:b822 
ethtool eno1
netlink error: No such file or directory
Settings for eno1:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supported pause frame use: Symmetric Receive-only
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Link partner advertised link modes:  10baseT/Half 10baseT/Full 
	                                     100baseT/Half 100baseT/Full 
	                                     1000baseT/Full 
	Link partner advertised pause frame use: Symmetric
	Link partner advertised auto-negotiation: Yes
	Link partner advertised FEC modes: Not reported
	Speed: 1000Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 0
	Transceiver: external
	Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
	Current message level: 0x00000033 (51)
			       drv probe ifdown ifup
	Link detected: yes
sudo journalctl -r -b 0 | grep r8169
set 30 10:52:58 PCABS kernel: r8169 0000:03:00.0 eno1: Link is Up - 1Gbps/Full - flow control rx/tx
set 30 10:44:41 PCABS kernel: r8169 0000:03:00.0 eno1: Link is Down
set 30 10:44:41 PCABS kernel: Generic FE-GE Realtek PHY r8169-300:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-300:00, irq=IGNORE)
set 30 10:44:40 PCABS kernel: r8169 0000:03:00.0 eno1: renamed from eth0
set 30 10:44:40 PCABS kernel: r8169 0000:03:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
set 30 10:44:40 PCABS kernel: r8169 0000:03:00.0 eth0: RTL8168h/8111h, e8:d8:d1:f8:36:2b, XID 541, IRQ 143
set 30 10:44:40 PCABS kernel: libphy: r8169: probed
set 30 10:44:40 PCABS kernel: r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control

The issue comes and goes, I can surf the internet for a couple of seconds, then it’s like I have 0 speed (on speedtest it goes to 700/800/900 Mbps for 2 seconds, then it freezes, goes down, and back up to maximum).

Ok, it seems that I’ve packet loss.

--- xxx.xxx.xxx.xxx ping statistics ---
13 packets transmitted, 11 received, 15.3846% packet loss, time 12053ms
rtt min/avg/max/mdev = 16.434/17.204/17.820/0.340 ms
--- xxx.xxx.xxx.xxx ping statistics ---
21 packets transmitted, 10 received, 52.381% packet loss, time 20164ms
rtt min/avg/max/mdev = 17.206/19.299/28.648/3.183 ms

The first one is on eth, the second one is on WiFi. No packet loss on other devices.

Problem might not be your machine, it could be your router/modem or your ISP.
Check with another device if this is indeed limited to your machine.

Tried all the devices, no issues whatsoever.

I have a different issue but I see something common. You are using the r8169 drivers, on a Realtek RTL8111/8168/8411 chipset, I fixed my issue by installing the 8168 driver from Hardware menu in System Settings.

1 Like

I installed the drivers, now inixi is like this:

inxi -Nazy        
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8168 v: 8.048.03-NAPI modules: r8169 
  port: 4000 bus ID: 03:00.0 chip ID: 10ec:8168 
  Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter 
  vendor: Hewlett-Packard driver: rtw_pci v: N/A modules: rtwpci port: 3000 
  bus ID: 05:00.0 chip ID: 10ec:b822

Is it normal that modules is r8169?

Also:

lsmod             
Module                  Size  Used by
r8168                 573440  0

Shouldn’t be at least 1?

I don’t know I just notice the similarity, also second similarity is that I had issue out of nowhere, no reason, I didn’t change anything relevant to create network issue.

I too had this issue. Took a while to spot the difference between the actual chipset and the driver. I don’t know why the install does that.

Thinking about it a bit, I remembered there was something about the default Linux drivers that made this mess. I went googling a bit with:

r8168 vs r8169 

Which seemed to be a popular search, and there it was. I was using Ubuntu back when I had this issue, and their forums had the same answer that helped me. I’ll link it here:

https://ubuntuforums.org/showthread.php?t=1022411&page=10&p=11471929#post11471929

installing the network-r8168 driver from System Settings -> Hardware will do that, blacklist the r8169, and download/install/enable the r8168.