[SOLVED] No ethernet connection Linux Mint 18

Questions about cabled networking
Forum rules
Before you post please read how to get help
Post Reply
frankthegerman
Level 1
Level 1
Posts: 25
Joined: Tue Sep 18, 2018 9:00 am

[SOLVED] No ethernet connection Linux Mint 18

Post by frankthegerman » Tue Sep 18, 2018 9:12 am

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 frankthegerman on Sun Sep 23, 2018 12:34 pm, edited 1 time in total.
I was born to scratch my head

User avatar
Pierre
Level 17
Level 17
Posts: 7411
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: No ethernet connection Linux Mint 18

Post by Pierre » Tue Sep 18, 2018 9:18 am

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

Re: No ethernet connection Linux Mint 18

Post by frankthegerman » Tue Sep 18, 2018 10:01 am

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 19
Level 19
Posts: 9158
Joined: Fri Feb 21, 2014 8:17 am

Re: No ethernet connection Linux Mint 18

Post by JeremyB » Fri Sep 21, 2018 7:33 am

Post results for

Code: Select all

lspci -nnk | grep -iA3 net

frankthegerman
Level 1
Level 1
Posts: 25
Joined: Tue Sep 18, 2018 9:00 am

Re: No ethernet connection Linux Mint 18

Post by frankthegerman » Sun Sep 23, 2018 8:34 am

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 19
Level 19
Posts: 9158
Joined: Fri Feb 21, 2014 8:17 am

Re: No ethernet connection Linux Mint 18

Post by JeremyB » Sun Sep 23, 2018 8:40 am

Does sudo modprobe -v r8169 have any results?

frankthegerman
Level 1
Level 1
Posts: 25
Joined: Tue Sep 18, 2018 9:00 am

Re: No ethernet connection Linux Mint 18

Post by frankthegerman » Sun Sep 23, 2018 11:06 am

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 19
Level 19
Posts: 9158
Joined: Fri Feb 21, 2014 8:17 am

Re: No ethernet connection Linux Mint 18

Post by JeremyB » Sun Sep 23, 2018 11:11 am

Try

Code: Select all

sudo apt install --reinstall linux-image-extra-4.4.0-135-generic
Reboot

frankthegerman
Level 1
Level 1
Posts: 25
Joined: Tue Sep 18, 2018 9:00 am

Re: No ethernet connection Linux Mint 18

Post by frankthegerman » Sun Sep 23, 2018 11:13 am

is happening as we speak...
I was born to scratch my head

frankthegerman
Level 1
Level 1
Posts: 25
Joined: Tue Sep 18, 2018 9:00 am

Re: No ethernet connection Linux Mint 18

Post by frankthegerman » Sun Sep 23, 2018 11:20 am

And even after switching off wifi and rebooting still no sign of the wired connection...
I was born to scratch my head

JeremyB
Level 19
Level 19
Posts: 9158
Joined: Fri Feb 21, 2014 8:17 am

Re: No ethernet connection Linux Mint 18

Post by JeremyB » Sun Sep 23, 2018 11:23 am

Show new results for

Code: Select all

lspci -nnk | grep -iA3 net

frankthegerman
Level 1
Level 1
Posts: 25
Joined: Tue Sep 18, 2018 9:00 am

Re: No ethernet connection Linux Mint 18

Post by frankthegerman » Sun Sep 23, 2018 11:46 am

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

Re: No ethernet connection Linux Mint 18

Post by frankthegerman » Sun Sep 23, 2018 11:49 am

...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 1
Level 1
Posts: 25
Joined: Tue Sep 18, 2018 9:00 am

Re: No ethernet connection Linux Mint 18

Post by frankthegerman » Sun Sep 23, 2018 11:51 am

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 19
Level 19
Posts: 9158
Joined: Fri Feb 21, 2014 8:17 am

Re: No ethernet connection Linux Mint 18

Post by JeremyB » Sun Sep 23, 2018 12:12 pm

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

Re: No ethernet connection Linux Mint 18

Post by frankthegerman » Sun Sep 23, 2018 12:23 pm

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 19
Level 19
Posts: 9158
Joined: Fri Feb 21, 2014 8:17 am

Re: No ethernet connection Linux Mint 18

Post by JeremyB » Sun Sep 23, 2018 12:28 pm

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

Re: No ethernet connection Linux Mint 18

Post by frankthegerman » Sun Sep 23, 2018 12:33 pm

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

Post Reply

Return to “Ethernet”