LAN - Frequent disconnects (Realtek RTL8111/8168/8411)

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
CyberCodeDroid
Level 1
Level 1
Posts: 8
Joined: Wed Feb 22, 2017 10:30 am

LAN - Frequent disconnects (Realtek RTL8111/8168/8411)

Postby CyberCodeDroid » Mon Mar 20, 2017 3:25 am

Hello,
Please your advice as to the script, which rebooted the LAN connection in the specified time, repeatedly?
Sincerely CCD.
Last edited by CyberCodeDroid on Wed Mar 22, 2017 2:54 am, edited 2 times in total.
English is not my mother tongue; please excuse any errors on my part.

User avatar
jimallyn
Level 16
Level 16
Posts: 6410
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: Restart LAN connection in the specified time

Postby jimallyn » Mon Mar 20, 2017 3:42 am

I'm going to guess that your LAN connection gets disconnected on a regular basis?
Image

“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan

CyberCodeDroid
Level 1
Level 1
Posts: 8
Joined: Wed Feb 22, 2017 10:30 am

Re: Restart LAN connection in the specified time

Postby CyberCodeDroid » Mon Mar 20, 2017 5:17 am

Yes. Sometimes irregularly.
English is not my mother tongue; please excuse any errors on my part.

User avatar
jimallyn
Level 16
Level 16
Posts: 6410
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: Restart LAN connection in the specified time

Postby jimallyn » Mon Mar 20, 2017 4:26 pm

I'm not sure what script you are talking about. You mean a script to automatically restart your LAN connection periodically? I don't know of any script like that. Besides, there is something causing the connection drops you are experiencing, and there is almost certainly a fix for it. A script like that would just be an ugly work-around. I don't know if I can solve your problem; I am not a networking expert. But there are experts here who can probably help you. The first thing you will need to do is open a terminal, maximize the window to avoid cut-off lines, enter inxi -Fxz, press enter, then copy/paste the output from that command into your next post here. That will tell the experts about your computer, your operating system, your desktop environment, and other things they will need to help solve your problem.
Image

“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan

CyberCodeDroid
Level 1
Level 1
Posts: 8
Joined: Wed Feb 22, 2017 10:30 am

Re: Restart LAN connection in the specified time

Postby CyberCodeDroid » Tue Mar 21, 2017 3:59 am

Code: Select all

~ $ inxi -Fxz
System:    Host: PC Kernel: 4.8.0-42-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.2.7 (Gtk 3.18.9-1ubuntu3.2)
           Distro: Linux Mint 18.1 Serena
Machine:   System: Gigabyte product: N/A
           Mobo: Gigabyte model: B75M-D3H v: x.x
           Bios: American Megatrends v: F15 date: 10/23/2013
CPU:       Dual core Intel Pentium G2030 (-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11972
           clock speeds: max: 3000 MHz 1: 2945 MHz 2: 2990 MHz
Graphics:  Card: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           GLX Renderer: Mesa DRI Intel Ivybridge Desktop
           GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes
Audio:     Card Intel 7 Series/C210 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.8.0-42-generic
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 02:00.0
           IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 3256.7GB (4.2% used)
           ID-1: /dev/sda model: TS256GSSD340K size: 256.1GB
           ID-2: USB /dev/sdb model: EFRX size: 3000.6GB
Partition: ID-1: / size: 232G used: 25G (12%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 472M used: 219M (49%) fs: ext2 dev: /dev/sda1
           ID-3: swap-1 size: 3.15GB used: 0.45GB (14%) fs: swap dev: /dev/dm-3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 211 Uptime: 1:12 Memory: 1790.0/2883.1MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.461) inxi: 2.2.35
English is not my mother tongue; please excuse any errors on my part.

CyberCodeDroid
Level 1
Level 1
Posts: 8
Joined: Wed Feb 22, 2017 10:30 am

Re: LAN - Frequent disconnects (Realtek RTL8111/8168/8411)

Postby CyberCodeDroid » Wed Mar 22, 2017 2:55 am

Please help. I changed the topic title.
English is not my mother tongue; please excuse any errors on my part.

ColdBoot
Level 3
Level 3
Posts: 196
Joined: Thu Feb 16, 2017 10:40 pm

Re: LAN - Frequent disconnects (Realtek RTL8111/8168/8411)

Postby ColdBoot » Wed Mar 22, 2017 8:42 am

This happened to me several times recently only not in Mint. In every single case the culprit was with the failing router port. It may also be in the 4.8 kernel you are using. With the same network chip on board and 4.4 kernel I have no issues. Switch back to kernel 4.4 and if the problem persists, try to replace the router(if that is what is attached to your LAN port).
Linux Mint Cinnamon 18.1
Intel G1820, DDR3 8GB, Nvidia GT720(2GB)

CyberCodeDroid
Level 1
Level 1
Posts: 8
Joined: Wed Feb 22, 2017 10:30 am

Re: LAN - Frequent disconnects (Realtek RTL8111/8168/8411)

Postby CyberCodeDroid » Fri Mar 24, 2017 4:24 am

Changing the kernel did not help. Still the same. But more than 70% improvement though not aesthetically helped restart it via crontab every 5 minutes. Another proposal to solve than happy welcome.
English is not my mother tongue; please excuse any errors on my part.


Return to “Cinnamon”

Who is online

Users browsing this forum: No registered users and 1 guest