Network driver in a Thinkpad T14G1

Hi! Sorry to hijack, but I believe that I am having a similar issue, same network driver in a Thinkpad T14G1:

$ dmesg | grep -c 'Link is Down'
264

$ uptime
 11:58:42 up 2 days,  2:56,  1 user,  load average: 1.78, 0.88, 0.49

$ ethtool -i enp5s0
driver: r8169
version: 7.0.9-1-MANJARO
firmware-version: rtl8168h-2_0.0.2 02/26/15
expansion-rom-version: 
bus-info: 0000:05:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no

I’m testing now to see if running this command results in a more stable status:
$ sudo ethtool -s enp5s0 autoneg off speed 1000 duplex full

Thanks

@limaunion – Your post has been moved to a dedicated topic. :eyes:


I’m afraid that infringements of forum rules – with or without an apology in advance – is still an infringement of said forum rules.

The general rule is one topic per person, per issue, irrespective of apparent similarities with other topics – each case is different (hardware used; OS and environmental factors) and should be treated on it’s own merits.

Please provide your system information according to forum guidelines (See below). :point_down:

I’m sure someone will help when they are able.

Regards.


[Mini-HowTo] Provide System Information

Basic details provided by *-fetch type apps might give enough information for someone wishing to buy a computer, however, for Support purposes it’s best to ask your system directly.

Output of the inxi command will generate more useful and detailed information for those who may wish to help:


Suggested inxi command (use either):

inxi -zv8 (short-form)
inxi --filter --verbosity=8 (long-form)

Command output should be presented as pre-formatted text in accordance with forum guidelines. :eyes:


Running inxi within a chroot environment

  • Add --color=0 to the long-form command, or…
  • Change the short-form command to inxi -zv8c0

Your privacy is respected

1 Like

If it is still flapping, I would also test EEE/power saving before changing drivers. On some Realtek laptop NICs r8169 is fine but Energy Efficient Ethernet or the switch port negotiation causes repeated link down/up events.

Try once until the next reboot: sudo ethtool --set-eee enp5s0 eee off, then watch journalctl -k -f while moving some traffic. If that changes the behaviour, it is easier to make that one setting persistent than to swap to an out-of-tree driver. The inxi -Nazy output the moderator asked for would still help confirm the exact chip/revision.

1 Like