[SOLVED] No ethernet connection Linux Mint 18

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
frankthegerman
Level 2
Level 2
Posts: 74
Joined: Tue Sep 18, 2018 9:00 am

[SOLVED] No ethernet connection Linux Mint 18

Post by frankthegerman »

Hi everyone i need some serious help. I recently update my Samsung laptop (Realtek chipset) which runs on Linux Mint 18 2 and now seem to have lost all ethernet access. :oops:
I've tried a number of bug fixes etc and re-installing r8168 driver but nothing works. Does anyone have a solution for this or could talk me through how to mend this? (I have a little Linux experience but only what I needed so far for work) Thank you
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.
I was born to scratch my head
User avatar
Pierre
Level 21
Level 21
Posts: 13222
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: No ethernet connection Linux Mint 18

Post by Pierre »

okay then: what version did you update from ?.

type this into Terminal:

Code: Select all

inxi -Fxz
and copy the result - back here, on your reply.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
frankthegerman
Level 2
Level 2
Posts: 74
Joined: Tue Sep 18, 2018 9:00 am

Re: No ethernet connection Linux Mint 18

Post by frankthegerman »

Here it is:

(...and ok this is now clutching straws but i noticed my laptop is working on 18.2 version. If i try and upgrade this to 18.3 would this perhaps solve this issue?)

Code: Select all

frank@frank ~ $ inxi -Fxz

System:    Host: frank Kernel: 4.4.0-135-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.4.6 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.2 Sonya
Machine:   Mobo: SAMSUNG model: R519/R719
           Bios: Phoenix v: 01CI.M007.20090611.JIP date: 06/11/2009
CPU:       Dual core Intel Pentium Dual T3400 (-MCP-) cache: 1024 KB
           flags: (lm nx sse sse2 sse3 ssse3) bmips: 8644
           clock speeds: max: 2166 MHz 1: 2166 MHz 2: 1666 MHz
Graphics:  Card: Intel Mobile 4 Series Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           GLX Renderer: Mesa DRI Mobile Intel GM45 Express
           GLX Version: 2.1 Mesa 17.0.7 Direct Rendering: Yes
Audio:     Card Intel 82801I (ICH9 Family) HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.4.0-135-generic
Network:   Card-1: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express)
           driver: ath9k bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
           Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           port: 3000 bus-ID: 04:00.0
           IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 250.1GB (39.6% used)
           ID-1: /dev/sda model: ST9250315AS size: 250.1GB
Partition: ID-1: / size: 157G used: 23G (15%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 79.02GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 50.0C mobo: 50.0C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 197 Uptime: 2:34 Memory: 2202.7/3884.6MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
frank@frank ~ $ 
frank@frank ~ $
Last edited by karlchen on Tue Sep 18, 2018 10:48 am, edited 1 time in total.
Reason: added [code] tags
I was born to scratch my head
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: No ethernet connection Linux Mint 18

Post by JeremyB »

Post results for

Code: Select all

lspci -nnk | grep -iA3 net
frankthegerman
Level 2
Level 2
Posts: 74
Joined: Tue Sep 18, 2018 9:00 am

Re: No ethernet connection Linux Mint 18

Post by frankthegerman »

After upgrading to Mint 18 3 (in the hope this would solve the problem) this is the output:

Code: Select all

frank@frank ~ $ lspci -nnk | grep -iA3 net
02:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
	Subsystem: Foxconn International, Inc. T77H121.05 802.11bgn Wireless Half-size Mini PCIe Card [105b:e025]
	Kernel driver in use: ath9k
	Kernel modules: ath9k
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 02)
	Subsystem: Samsung Electronics Co Ltd RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [144d:c059]
frank@frank ~ $ 
I was born to scratch my head
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: No ethernet connection Linux Mint 18

Post by JeremyB »

Does sudo modprobe -v r8169 have any results?
frankthegerman
Level 2
Level 2
Posts: 74
Joined: Tue Sep 18, 2018 9:00 am

Re: No ethernet connection Linux Mint 18

Post by frankthegerman »

Code: Select all

frank@frank ~ $ sudo modprobe -v r8169
[sudo] password for frank: 
modprobe: FATAL: Module r8169 not found in directory /lib/modules/4.4.0-135-generic
frank@frank ~ $ 
This may be explained by me following one of the explanations and replacing r8169 with r8168 and purging the former one
I was born to scratch my head
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: No ethernet connection Linux Mint 18

Post by JeremyB »

Try

Code: Select all

sudo apt install --reinstall linux-image-extra-4.4.0-135-generic
Reboot
frankthegerman
Level 2
Level 2
Posts: 74
Joined: Tue Sep 18, 2018 9:00 am

Re: No ethernet connection Linux Mint 18

Post by frankthegerman »

is happening as we speak...
I was born to scratch my head
frankthegerman
Level 2
Level 2
Posts: 74
Joined: Tue Sep 18, 2018 9:00 am

Re: No ethernet connection Linux Mint 18

Post by frankthegerman »

And even after switching off wifi and rebooting still no sign of the wired connection...
I was born to scratch my head
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: No ethernet connection Linux Mint 18

Post by JeremyB »

Show new results for

Code: Select all

lspci -nnk | grep -iA3 net
frankthegerman
Level 2
Level 2
Posts: 74
Joined: Tue Sep 18, 2018 9:00 am

Re: No ethernet connection Linux Mint 18

Post by frankthegerman »

Code: Select all

frank@frank ~ $ lspci -nnk | grep -iA3 net
02:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
	Subsystem: Foxconn International, Inc. T77H121.05 802.11bgn Wireless Half-size Mini PCIe Card [105b:e025]
	Kernel driver in use: ath9k
	Kernel modules: ath9k
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 02)
	Subsystem: Samsung Electronics Co Ltd RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [144d:c059]
	Kernel modules: r8169
frank@frank ~ $ 
I was born to scratch my head
frankthegerman
Level 2
Level 2
Posts: 74
Joined: Tue Sep 18, 2018 9:00 am

Re: No ethernet connection Linux Mint 18

Post by frankthegerman »

...and if it helps with anything. Even though wifi is back in a fashion it is still very slow and clunky
I was born to scratch my head
frankthegerman
Level 2
Level 2
Posts: 74
Joined: Tue Sep 18, 2018 9:00 am

Re: No ethernet connection Linux Mint 18

Post by frankthegerman »

only noticed now: why is it referring to r8169 when it couldn't be found before??
I was born to scratch my head
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: No ethernet connection Linux Mint 18

Post by JeremyB »

What is result for

Code: Select all

grep [[:alnum:]] /etc/modprobe.d/* | grep r8169
See if chili555's ideas at https://ubuntuforums.org/showthread.php ... st13614520 help the wireless
frankthegerman
Level 2
Level 2
Posts: 74
Joined: Tue Sep 18, 2018 9:00 am

Re: No ethernet connection Linux Mint 18

Post by frankthegerman »

Code: Select all

frank@frank ~ $ grep [[:alnum:]] /etc/modprobe.d/* | grep r8169
/etc/modprobe.d/blacklist.conf:blacklist r8169
/etc/modprobe.d/r8168-dkms.conf:# map the specific PCI IDs instead of blacklisting the whole r8169 module
/etc/modprobe.d/r8168-dkms.conf:# to blacklist the whole r8169 module
/etc/modprobe.d/r8168-dkms.conf:#blacklist r8169
frank@frank ~ $ 
I was born to scratch my head
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: No ethernet connection Linux Mint 18

Post by JeremyB »

Do

Code: Select all

sudo sed -i 's/blacklist r8169/#blacklist 8169/' /etc/modprobe.d/blacklist.conf

Code: Select all

sudo modprobe r8169
See if ethernet works then as the r8168 module only works for a very few ethernet devices. Reinstalling the linux-image-extra restored the r8169 module in the kernel
frankthegerman
Level 2
Level 2
Posts: 74
Joined: Tue Sep 18, 2018 9:00 am

Re: No ethernet connection Linux Mint 18

Post by frankthegerman »

Yesssss!!! Thank you so much! Ethernet is back. Fantastic job.
I was born to scratch my head
Locked

Return to “Networking”