After Upgrade to Linux Mint 20 Ethernet connection issues <SOLVED>

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
EdgeKrusher187
Level 1
Level 1
Posts: 3
Joined: Wed Mar 03, 2021 11:18 pm

After Upgrade to Linux Mint 20 Ethernet connection issues <SOLVED>

Post by EdgeKrusher187 »

I had no issues with this PC before I upgraded Linux Mint 20. I've been having nothing but issues with my ethernet to the point that it's not even working.

here's the output of inxi

Code: Select all

System:
  Kernel: 5.4.0-66-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.6.7 wm: muffin 4.6.3 dm: LightDM 1.30.0 
  Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: Hewlett-Packard product: HP ProBook 4540s 
  v: A1019D1103 serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: Hewlett-Packard model: 17F6 v: KBC Version 58.1E serial: <filter> 
  BIOS: Hewlett-Packard v: 68IRR Ver. F.41 date: 05/20/2013 
Battery:
  ID-1: BAT0 charge: 41.7 Wh condition: 42.6/42.6 Wh (100%) volts: 12.4/10.8 
  model: Hewlett-Packard Primary type: Li-ion serial: <filter> 
  status: Unknown 
CPU:
  Topology: Dual Core model: Intel Core i5-3230M bits: 64 type: MT MCP 
  arch: Ivy Bridge rev: 9 L2 cache: 3072 KiB 
  flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20752 
  Speed: 1197 MHz min/max: 1200/3200 MHz Core speeds (MHz): 1: 1197 2: 1197 
  3: 1198 4: 1199 
Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics vendor: Hewlett-Packard 
  driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0166 
  Device-2: AMD Thames [Radeon HD 7550M/7570M/7650M] vendor: Hewlett-Packard 
  driver: radeon v: kernel bus ID: 01:00.0 chip ID: 1002:6841 
  Display: x11 server: X.Org 1.20.9 driver: ati,modesetting,radeon 
  unloaded: fbdev,vesa resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) 
  v: 4.2 Mesa 20.2.6 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio 
  vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  chip ID: 8086:1e20 
  Sound Server: ALSA v: k5.4.0-66-generic 
Network:
  Device-1: Qualcomm Atheros AR9485 Wireless Network Adapter 
  vendor: Hewlett-Packard driver: ath9k v: kernel port: 3000 bus ID: 04:00.0 
  chip ID: 168c:0032 
  IF: wlo1 state: down mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 2000 bus ID: 05:00.0 
  chip ID: 10ec:8168 
  IF: enp5s0 state: down mac: <filter> 
  Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 2-1.6:3 
  chip ID: 0cf3:311d serial: <filter> 
Drives:
  Local Storage: total: 698.64 GiB used: 114.59 GiB (16.4%) 
  ID-1: /dev/sda vendor: Hitachi model: HTS727575A9E364 size: 698.64 GiB 
  speed: 3.0 Gb/s rotation: 7200 rpm serial: <filter> rev: A0E0 scheme: MBR 
Partition:
  ID-1: / size: 685.03 GiB used: 114.32 GiB (16.7%) fs: ext4 dev: /dev/dm-1 
  ID-2: /boot size: 703.5 MiB used: 273.7 MiB (38.9%) fs: ext4 
  dev: /dev/sda1 
  ID-3: swap-1 size: 976.0 MiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-2 
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A gpu: radeon temp: 127 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 213 Uptime: 7m Memory: 7.66 GiB used: 730.5 MiB (9.3%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 7/9 
  Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38

Wireless works fine, but I prefer this device use ethernet. I've tried different cables all Cat 6 that I've confirmed work on other devices. I've tried issuing the command sudo ifconfig enp5s0 up and sudo ip link set enp5s0 up but the device will not come up. here's the output of ethtool

Code: Select all

Settings for enp5s0:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 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/Half 1000baseT/Full 
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: No
	Advertised FEC modes: Not reported
	Speed: 1000Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 0
	Transceiver: internal
	Auto-negotiation: off
Cannot get wake-on-lan settings: Operation not permitted
	Current message level: 0x00000033 (51)
			       drv probe ifdown ifup
	Link detected: no
Any help is appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Moonstone Man
Level 16
Level 16
Posts: 6078
Joined: Mon Aug 27, 2012 10:17 pm

Re: After Upgrade to Linux Mint 20 Ethernet connection issues

Post by Moonstone Man »

EdgeKrusher187 wrote: Wed Mar 03, 2021 11:29 pm

Code: Select all

System:
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  vendor: Hewlett-Packard driver: r8169 ...

Code: Select all

Settings for enp5s0:
	Link detected: no
sudo apt install r8168-dkms followed by sudo modprobe r8168 ought to do it. If that works, sudo update-initramfs. If it doesn't come up after a reboot, you're going to have to blacklist the r8169 driver. I'll give you instructions if they're needed.
EdgeKrusher187
Level 1
Level 1
Posts: 3
Joined: Wed Mar 03, 2021 11:18 pm

Re: After Upgrade to Linux Mint 20 Ethernet connection issues

Post by EdgeKrusher187 »

This solution fixed my issue. Very many thanks!
Kadaitcha Man wrote: Thu Mar 04, 2021 5:58 am
sudo apt install r8168-dkms followed by sudo modprobe r8168 ought to do it. If that works, sudo update-initramfs. If it doesn't come up after a reboot, you're going to have to blacklist the r8169 driver. I'll give you instructions if they're needed.
EdgeKrusher187
Level 1
Level 1
Posts: 3
Joined: Wed Mar 03, 2021 11:18 pm

Re: After Upgrade to Linux Mint 20 Ethernet connection issues

Post by EdgeKrusher187 »

This solution fixed my issue. Very many thanks!
Kadaitcha Man wrote: Thu Mar 04, 2021 5:58 am
sudo apt install r8168-dkms followed by sudo modprobe r8168 ought to do it. If that works, sudo update-initramfs. If it doesn't come up after a reboot, you're going to have to blacklist the r8169 driver. I'll give you instructions if they're needed.
Moonstone Man
Level 16
Level 16
Posts: 6078
Joined: Mon Aug 27, 2012 10:17 pm

Re: After Upgrade to Linux Mint 20 Ethernet connection issues

Post by Moonstone Man »

EdgeKrusher187 wrote: Thu Mar 04, 2021 12:47 pm This solution fixed my issue. Very many thanks!
Brilliant :)
User avatar
blueicetwice
Level 4
Level 4
Posts: 244
Joined: Wed May 25, 2016 8:12 am

Re: After Upgrade to Linux Mint 20 Ethernet connection issues <SOLVED>

Post by blueicetwice »

Kadaitcha Man, I have the same issues. I could not install the r8168 driver [E: unable to locate package r8168]. [sudo apt install r8168 dkms]

How does one blackball the r8169 driver :?:

Frank you for any support :!:

EDIT: I did find the file but it is now unreadable.
User avatar
karlchen
Level 23
Level 23
Posts: 18176
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: After Upgrade to Linux Mint 20 Ethernet connection issues <SOLVED>

Post by karlchen »

<mod> dudulima's post can be found in this dedicated new thread here : After Upgrade to Linux Mint 20 Ethernet connection issues </mod>
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 762 days now.
Lifeline
Locked

Return to “Networking”