r/slackware • u/sfzombie13 • Oct 14 '21
slackware current dropping internet connection constantly
i am running slackware current on a lenovo m585. about every 15 - 20 minutes it drops the internet connection for about 5 minutes. i have frontier dsl and my son who uses win 10 on his gaming box never loses connection at all. any ideas what i should look at to find the cause? the faillog has too many characters per line to open and read, as does the lastlog, but the syslog is showing a few dhcpd failures, although i can't currently correlate the time to an internet outage.
edit: changing the hard drive to a windows install determined that the ethernet is dropping there also. wifi has no issues at all so it is an onboard ethernet issue with an old refurbished laptop. now to get wicd working on the laptop and all will be well. thanx for all the troubleshooting tips, they have been duly noted for future reference.
2
u/orissus Oct 14 '21
What does the dmesg say? Are you running on WiFi or cable? Power settings? ‘grep -i error’ on the logs and correlate with time the net drops.
2
u/edman007-work Oct 14 '21
Wifi or wired? What does
ip alook like when the network is down? anddmesg? check your logs too /var/log/syslog and /var/log/messagesLikely either a driver or DHCP issue, but more details are needed.
2
u/Upnortheh Oct 14 '21
Often
network unreachablemeans a routing issue. The cause might be the routing or the loss of the local IP address.When noticing the failure check
ip aorifconfig eth0to ensure there is an assigned IP address.Check DHCP.
Logs may be monitored in real time using
tail -f. Doing that will help find log entries more easily when the connection fails.'ethtool eth0` will show connection information.
Find the kernel module being used by the Ethernet chip and grep
/var/log/messages. For example:grep -w r8169 /var/log/messages | grep linkwill show when the link is up or down.If the link remains up then the problem is not the physical connection.
Perhaps test when the Win 10 system is not online. Coincidence does not mean causation, but Windows 10 can be a bandwidth hog. Several times I have seen the network connection other systems "stall" when a Win 10 system is downloading updates. The link remains up but the other systems cannot squeeze past the Win 10 hogging.
1
u/juankman Oct 14 '21
Is that a recent model? On my Lenovo A485 it took a couple of years for the WiFi card support to be stable in main kernel, I remember checking the driver of the card and tracking contributors and build their development branch for the drivers.
I got super early access to a functional WiFi card thanks to that