Manjaro disconnect from internet

I’m using manjaro xfce as my server.

Recently I found that my PC may disconnect from internet, and once that happened, even if I log in locally, there is also no internet connection. The internet connection came back when I reboot the PC.

I use cable to connect BTW. I need to fix this because is constantly happen when I’m not in my office, and I need to ssh to my PC to work. Thanks

The system spec:

[shore@shore-systemproductname manjaro_note]$ inxi -F
System:
  Host: shore-systemproductname Kernel: 6.12.12-2-MANJARO arch: x86_64 bits: 64
  Console: pty pts/11 Distro: Manjaro Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ROG CROSSHAIR X870E HERO v: Rev 1.xx serial: <superuser required>
    UEFI: American Megatrends v: 0706 date: 11/29/2024
CPU:
  Info: 16-core model: AMD Ryzen 9 9950X bits: 64 type: MT MCP cache: L2: 16 MiB
  Speed (MHz): avg: 600 min/max: 600/5752 cores: 1: 600 2: 600 3: 600 4: 600 5: 600 6: 600
    7: 600 8: 600 9: 600 10: 600 11: 600 12: 600 13: 600 14: 600 15: 600 16: 600 17: 600 18: 600
    19: 600 20: 600 21: 600 22: 600 23: 600 24: 600 25: 600 26: 600 27: 600 28: 600 29: 600
    30: 600 31: 600 32: 600
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Granite Ridge [Radeon Graphics] driver: amdgpu
    v: kernel
  Display: unspecified server: X.org v: 1.21.1.15 driver: X: loaded: amdgpu
    unloaded: modesetting dri: radeonsi gpu: amdgpu tty: 261x50 resolution: 3440x1440
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast platforms: gbm,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: mesa v: 24.3.4-arch1.1 note: console (EGL sourced)
    renderer: llvmpipe (LLVM 19.1.7 256 bits), AMD Radeon Graphics (radeonsi raphael_mendocino LLVM
    19.1.7 DRM 3.59 6.12.12-2-MANJARO)
  Info: Tools: api: clinfo, eglinfo, glxinfo de: xfce4-display-settings
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High Definition Audio
    driver: snd_hda_intel
  Device-2: ASUSTek USB Audio driver: hid-generic,snd-usb-audio,usbhid type: USB
  API: ALSA v: k6.12.12-2-MANJARO status: kernel-api
  Server-1: PipeWire v: 1.2.7 status: active
Network:
  Device-1: MEDIATEK driver: N/A
  Device-2: Intel Ethernet I226-V driver: igc
  IF: eno1 state: up speed: 2500 Mbps duplex: full mac: bc:fc:e7:16:1c:5b
  Device-3: Realtek driver: r8169
  IF: enp12s0 state: down mac: bc:fc:e7:16:1c:5c
Bluetooth:
  Device-1: Foxconn / Hon Hai Wireless_Device driver: btusb type: USB
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: see --recommends
RAID:
  Hardware-1: Advanced Micro Devices [AMD] Device driver: ahci
  Hardware-2: Advanced Micro Devices [AMD] Device driver: ahci
Drives:
  Local Storage: total: 7.28 TiB used: 485.41 GiB (6.5%)
  ID-1: /dev/nvme0n1 vendor: Kingston model: SFYRD4000G size: 3.64 TiB
  ID-2: /dev/nvme1n1 vendor: Kingston model: SFYRD4000G size: 3.64 TiB
Partition:
  ID-1: / size: 7.28 TiB used: 485.41 GiB (6.5%) fs: btrfs dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1
  ID-3: /home size: 7.28 TiB used: 485.41 GiB (6.5%) fs: btrfs dev: /dev/nvme0n1p2
  ID-4: /var/log size: 7.28 TiB used: 485.41 GiB (6.5%) fs: btrfs dev: /dev/nvme0n1p2
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 45.2 C mobo: N/A gpu: amdgpu temp: 38.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 128 GiB note: est. available: 123.47 GiB used: 5.56 GiB (4.5%)
  Processes: 521 Uptime: 21m Init: systemd Shell: Bash inxi: 3.3.37

looks like you are having driver issue

Sounds like a power save bug. I would suggest disabling power saving for the Ethernet card when idling.

Get the device number: sudo tlp-stat --pcie
Then create a file and folder: /etc/tlp.d/00-disable-powersave.conf with this content:

RUNTIME_PM_DISABLE="00:1f.6"

It is a number like that: 0000:00:1f.600:1f.6

Then run sudo tlp bat or sudo tlp ac. You can check again with sudo tlp-stat --pcie if it switches to on instead of auto.

1 Like

Hi it seems that I haven’t installed tlp, do I need to install it??

[shore@shore-systemproductname manjaro_note]$ sudo tlp-stat --pcie
sudo: tlp-stat:找不到命令

Thanks for replying, how can I install the correct driver??

You have to interfaces with different paths but the same MAC - that looks plain wrong to me.

To determine your actual network interfaces - could you provide output from

lsusb

And

lspci

If you have been fiddling with udev and interface naming or bridging or … please reset your networking to the defaults.

Yeah. Install it. I wonder why it isn’t installed, since it is available by default on every ISO.

You don’t need tlp in a desktop system tlp is for laptops.

Hi here’s the result:

[shore@shore-systemproductname manjaro_note]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0489:e13a Foxconn / Hon Hai Wireless_Device
Bus 001 Device 003: ID 0b05:1b7c ASUSTek Computer, Inc. USB Audio
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hub
Bus 003 Device 003: ID 1e71:300e NZXT NZXT Kraken Base
Bus 003 Device 004: ID 19f5:3247 Nordic Semiconductor NuPhy Air96 V2 Dongle
Bus 003 Device 005: ID 1e71:2021 NZXT NZXT RGB Controller
Bus 003 Device 006: ID 0b05:1aa6 ASUSTek Computer, Inc. AURA LED Controller
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 002: ID 174c:3074 ASMedia Technology Inc. ASM1074 SuperSpeed hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 011 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 012 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
[shore@shore-systemproductname manjaro_note]$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
00:01.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A]
00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A]
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 7
01:00.0 Non-Volatile memory controller: Advanced Micro Devices, Inc. [AMD] RAID Bottom Device (rev 01)
02:00.0 Non-Volatile memory controller: Advanced Micro Devices, Inc. [AMD] RAID Bottom Device (rev 01)
03:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Upstream Port (rev 01)
04:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
04:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
04:0c.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
04:0d.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
06:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Upstream Port (rev 01)
07:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
07:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
07:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
07:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
07:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
07:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
07:0c.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
07:0d.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
09:00.0 Network controller: MEDIATEK Corp. Device 7927
0b:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 06)
0c:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 8126 (rev 01)
0e:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43fd (rev 01)
0f:00.0 RAID bus controller: Advanced Micro Devices, Inc. [AMD] Device 43bd (rev 01)
10:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43fd (rev 01)
11:00.0 RAID bus controller: Advanced Micro Devices, Inc. [AMD] Device 43bd (rev 01)
12:00.0 PCI bridge: ASMedia Technology Inc. Device 2421 (rev 01)
13:00.0 PCI bridge: ASMedia Technology Inc. Device 2423 (rev 01)
13:01.0 PCI bridge: ASMedia Technology Inc. Device 2423 (rev 01)
13:02.0 PCI bridge: ASMedia Technology Inc. Device 2423 (rev 01)
13:03.0 PCI bridge: ASMedia Technology Inc. Device 2423 (rev 01)
78:00.0 USB controller: ASMedia Technology Inc. Device 2426 (rev 01)
79:00.0 USB controller: ASMedia Technology Inc. Device 2425 (rev 01)
7a:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Granite Ridge [Radeon Graphics] (rev c1)
7a:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
7a:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP
7a:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI
7a:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI
7b:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b8

According to this you are definetely having driver issues.

And in your - possible experiments to solve your driver issue - you have altered various settings for network.

Please undo all changes you have made as it is impossible to suggest a viable solution.

The latest and greatest AMD based hardware from ASUS are built for Windows with hardware that has poor Linux support if any at all

At time of writing 2025-02-20T23:00:00Z I found that

  • MEDIATEK Corp. Device 7927 WiFi7 - no Linux support
  • Realtek Semiconductor Co., Ltd. Device 8126 - hit or miss

The Intel Corporation Ethernet Controller I226-V is the only NIC which has a Linux driver.

You shouldn’t need the package as it is suported by kernel >= 5.10 as per Intel Ethernet Controller I226-V

See → https://www.intel.com/content/www/us/en/download/15084/intel-ethernet-adapter-complete-driver-pack.html

Hi thanks a lot for replying

To be honest I’m not sure what I’ve done to my network setting, the following is things I remember:

  1. install ethtool
  2. enable WAKE ON LANE from motherboard setting
  3. enable WAKE ON LANE by ethtool -s eno1 wol g
  4. stop sleeping from power setting

The system is newly installed, I cannot remember any other stuff I’ve done to the network setting.

Would there be any option that I can run some diagnostic to check???

Or anything else you need, please let me know, thanks!!!

It is really, really difficult to suggest - without hands-on

As the device - according to linux-hardware database (linked in previous comment) - I suggest you move your lan cable to use the Intel device.

Addressing the ethtool - which you have used - you could use a history search

history | grep ethtool

A help to understand your network configuration, you could provide the output from ip link

ip link

Hi here’s the output:

[shore@shore-systemproductname manjaro_note]$ history | grep ethtool
  473  ethtool
  478  sudo pacman -S ethtool
  480  ethtool interface | grep Wake-on
  481  ethtool
  486  ethtool eno1 | grep Wake-on
  487  sudo ethtool --show-eee eno1
  490  sudo ethtool -s eno1 wol d
  491  sudo ethtool --show-eee eno1
  495  ethtool eno1
  496  sudo ethtool -s eno1 wol g
  497  ethtool eno1
  498  ethtool eno1 | grep Wake
  499  sudo ethtool eno1 | grep Wake
  500  sudo ethtool eno1
  504  history | grep ethtool
[shore@shore-systemproductname manjaro_note]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp12s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether bc:fc:e7:16:1c:5c brd ff:ff:ff:ff:ff:ff
    altname enxbcfce7161c5c
3: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether bc:fc:e7:16:1c:5b brd ff:ff:ff:ff:ff:ff
    altname enp11s0
    altname enxbcfce7161c5b

I think I’m using the intel’s device:

[shore@shore-systemproductname manjaro_note]$ inxi -F
...
Network:
  Device-1: MEDIATEK driver: N/A
  Device-2: Intel Ethernet I226-V driver: igc
  IF: eno1 state: up speed: 2500 Mbps duplex: full mac: bc:fc:e7:16:1c:5b
  Device-3: Realtek driver: r8169
  IF: enp12s0 state: down mac: bc:fc:e7:16:1c:5c
...

It can be seen that eno1 is my intel device, and from the following the 10.69.104.220 is the correct IP address, which is under eno1:

[shore@shore-systemproductname manjaro_note]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: enp12s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether bc:fc:e7:16:1c:5c brd ff:ff:ff:ff:ff:ff
    altname enxbcfce7161c5c
3: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether bc:fc:e7:16:1c:5b brd ff:ff:ff:ff:ff:ff
    altname enp11s0
    altname enxbcfce7161c5b
    inet 10.69.104.220/21 brd 10.69.111.255 scope global dynamic noprefixroute eno1
       valid_lft 1129733sec preferred_lft 1129733sec
    inet6 fe80::1ac3:40b5:6db1:307d/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

Are you on a campus somewhere? Your IP addressing suggest a huge network…

I think @megavolt has a valid point when referring to power management.

As I have no experience with ASUS board and your issue at hand

  • I have done nothing you could not do yourself
  • searching
  • narrowing searches
  • using different keywords
  • switching precedence of keywords

Using the keywords intel igc disable powersave brought me to this Network card (Intel Ethernet Controller I225-V, igc) keeps dropping after 1 hour on linux

The problem looks like the device ‘disappears’ from the bus, and becomes inaccessible to the driver. If it happens early - the driver will not load, if it happens later - it may fail with sporadic access errors.

The user will see that the driver is crashing, but that does not necessarily mean that the problem is in the driver. It may be a bug in any other component, or an interoperability issue. A fix/workaround may also be implemented in any of the involved modules, depending on the root cause and the complexity.

We, the igc driver maintainers, are unable to offer any software patch for the problem at this point, because the issue has not been root-caused, as far as I know. We have not seen this problem during our in-house testing, and since it has been reported, have not been able to reproduce it on any of our test setups.

The I225 network device is a “LAN on motherboard” solution. While the chip, the firmware and the driver are provided by Intel, the motherboard vendor is the one that controls the layout, the electrical interconnects, the BIOS, and the specific FW version that is flashed to the chip. The fact that many such reports are coming recently from specific ASUS boards, and not from other vendors with I225 solutions, would lead me to first check in ASUS’s direction

Can we offer such a patch based on what we know so far? No, because we have not been able to reproduce the issue in-house, and have also not received any communication about it from ASUS

The TL:DR of that

use pcie_port_pm=off as kernel arg

I have no idea if this is a solution for your usecase… worth a try.

Please do learn to search the internet - it you don’t get result the first time - alter the parameters.

Thanks a lot, I’ll try for that. And I’ll do more comprehensive search on internet next time.

Thanks again!!