LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-24-2018, 09:42 AM   #1
Intrinsic
LQ Newbie
 
Registered: May 2018
Posts: 3

Rep: Reputation: Disabled
Wired network issues after recent updates: error on boot, and random disconnects


Relevant system info:

Code:
System:    Host: mintbox Kernel: 4.13.0-41-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.3 Sylvia

Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 03:00.0
           IF: enp3s0 state: up speed: 100 Mbps duplex: full
           mac: 4c:cc:6a:60:23:5e
Issue defined:

On boot I now see the following error:
Code:
Failed to start Raise network interfaces
see 'systemctl status networking.service' for details
About the time this issue appeared the network drive mappings in /etc/fstab stopped mapping on boot (someone helped me with a work around for this already )

Once the machine starts the network works, but a desktop tool tip will randomly notify me that my wired connection has been disconnected, and then a few seconds later it'll state the connection has been established again. The interval of time before this brief disconnect happens is pretty random, anywhere from almost right away to many minutes after boot.

The network starts out with a 1000 Mbps link speed, and will drop down to a 100 Mbps link speed after the connection drops and comes back.


More info and speculation:


I did check to make sure the network cable wasn't damaged or pulling out of the PC or switch. Nothing has physically changed and the managed switch the computer is plugged into is not rebooting or anything like that. I suspect this is a software issue caused by recent updates...I have been installing ALL the updates, but haven't been paying close attention, so I'm not exactly sure when the issue started (a few weeks ago maybe?)

I have been using the 4.13 kernel series for some time now, and for a long time I've not had any of these problems.

Tried kernels 4.15.0-20, 4.4.0-124, and 4.10.0-42 for the heck of it, and they didn't help, so I went back to the 4.13 series

The output I get when running 'systemctl status networking.service' is :
Code:
● networking.service - Raise network interfaces
   Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor prese
  Drop-In: /run/systemd/generator/networking.service.d
           └─50-insserv.conf-$network.conf
   Active: failed (Result: exit-code) since Wed 2018-05-16 17:46:57 PDT; 7min ag
     Docs: man:interfaces(5)
  Process: 851 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1
  Process: 843 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ 
 Main PID: 851 (code=exited, status=1/FAILURE)

May 16 17:46:57 mintbox sudo[937]: pam_unix(sudo:session): session opened for us
May 16 17:46:57 mintbox ifup[851]: mount error(101): Network is unreachable
May 16 17:46:57 mintbox ifup[851]: Refer to the mount.cifs(8) manual page (e.g. 
May 16 17:46:57 mintbox sudo[937]: pam_unix(sudo:session): session closed for us
May 16 17:46:57 mintbox ifup[851]: run-parts: /etc/network/if-up.d/samba-mount e
May 16 17:46:57 mintbox ifup[851]: /sbin/ifup: post-up script failed.
May 16 17:46:57 mintbox systemd[1]: networking.service: Main process exited, cod
May 16 17:46:57 mintbox systemd[1]: Failed to start Raise network interfaces.
May 16 17:46:57 mintbox systemd[1]: networking.service: Unit entered failed stat
May 16 17:46:57 mintbox systemd[1]: networking.service: Failed with result 'exit
If you'd like more info please ask, and any suggestions would be greatly appreciated.
 
Old 05-29-2018, 04:36 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Could you view /etc/network/interfaces and see if the interface is configured there? If it is, comment it out. That will allow network-manager to configure it. Unless you have a cable tester it's difficult to really evaluate the cable quality. Stress on the terminals tends to cause problems over time. Usually if you take a terminal crimp tool and just tighten them up it can work wonders.

I know it seems like everything hardware should remain fixed. But when kernel modules are updated, it can affect the hardware setup. Check that the actual cable (written on the insulation jacket) and make sure it's cat5e or cat6.

Sometimes a problem with a module upgrade is just because it the updated version exploits the hardware capabilities more thoroughly. But I'm relatively sure it's a driver issue. I wish I could help more. I just noticed you hadn't received an answer.
 
Old 06-03-2018, 11:55 AM   #3
Intrinsic
LQ Newbie
 
Registered: May 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
The you for the reply.

/etc/network/interfaces only had this in it:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

I changed the cable out for a new one, and I'm surprised to say it looks like it might not dropping and out a reverting to 100Mbps anymore. Because of the intermittent nature of the issue I have thought this before, so I'm going to wait a few more day before calling it solved. The old cable didn't look damaged in any way so this result is kind of surprising. If it works I'll take it though

EDIT:
A new network cable mostly solved the issue. Even though the old one didn't look physically damaged after it was replace I no longer get the intermittent disconnects and the connection dropping back to 100Mbps. Because effectively everything works the error on boot is much less important, but if someone knows what to do about that error please let me know. Thanks again for the suggestion

Last edited by Intrinsic; 06-10-2018 at 06:22 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound issues in -current since recent updates rpedrica Slackware 1 08-02-2012 01:10 AM
Random Wired Network Disconnect maitreya.maity Linux - Networking 7 10-04-2010 02:21 PM
Wireless/Wired Network disconnects. mplike Linux - Wireless Networking 0 07-18-2008 02:00 PM
Random Disconnects Mulsiphix Linux - Networking 1 12-22-2005 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration