LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-20-2014, 02:53 AM   #1
cowlitzron
Member
 
Registered: Feb 2011
Location: Washington state
Distribution: Devuan Daedalus 5.0, C4C Ubuntu 22.04
Posts: 190

Rep: Reputation: 37
Unhappy Sometimes, I lose DSL connection and couldn't reconnect without rebooting.


I have a desktop computer running Slackware current and am using CenturyLink DSL. I am using NetworkManager. Sometimes the Internet Connection quits, and I am not able to start it up again without rebooting. I tried entering the following in a terminal:

su
cd /etc/rc.d
rc.networkmanager stop
rc.M restart

I also tried "rc.networkmanager restart", and "rc.inetd restart". I still couldn't get the Internet connection restarted that way. Even though at the same time I can get wireless internet working on my laptop which also runs Slackware current with the same DSL provider. When I enter "dhcpcd" in a terminal running as root, I will get the following entry when I can't get the connection going without rebooting.

dhcpcd[15157]: version 6.0.5 starting
dhcpcd[15157]: eth0: soliciting an IPv6 router
dhcpcd[15157]: eth0: rebinding lease of 192.168.0.2
dhcpcd[15157]: eth0: soliciting a DHCP lease
dhcpcd[15157]: eth0: no IPv6 Routers available
dhcpcd[15157]: timed out
dhcpcd[15157]: allowing 8 seconds for IPv4LL timeout
dhcpcd[15157]: eth0: probing for an IPv4LL address
dhcpcd[15157]: timed out
dhcpcd[15157]: forked to background, child pid 15190

I also had this problem when I had Slackware 14. I didn't notice the problem for the month that I ran Siduction with systemd. I would like to keep my desktop on Slackware, but don't want to have to reboot every time I get this connection dropped.
 
Old 10-20-2014, 03:17 AM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
If you're losing IPv4 then it might not be Slackware or dhcpcd, dhcp, or networkmanager. Sometimes certain network cards have a time-out feature built-in that could be activated. When systemctl saw the network daemon die, it relaunched it's networking stack which revived the device.

Don't forget to try and restart rc.netdevice also. That's the main network driver controller script.

You could be also experiencing the first symptoms of a faulty network device if this restarting restores the network stack. I would test with a different PC or NIC if possible. If the network doesn't die then you'll have your answer. If it does, check your CenturyLink Router options for DHCP lease time and set it to the maximum allowable time.
 
Old 10-21-2014, 03:34 AM   #3
cowlitzron
Member
 
Registered: Feb 2011
Location: Washington state
Distribution: Devuan Daedalus 5.0, C4C Ubuntu 22.04
Posts: 190

Original Poster
Rep: Reputation: 37
Thanks for posting ReaperX7.
I did reset the DHCP maximum lease time to 365 days which is close to the maximum allowable time. So, far I have not had a dropped connection since I started this thread, other than on 10/21 on which I successfully got it going by closing networkmanager and starting dhcpcd in a terminal. After, doing a search using Strigi and Dolphin, I discovered I do not have the rc.netdevice script. It is not on the default installation of Slackware 14.1, and is also not available on current, unless the user adds such a script. I will continue to see if lengthening the maximum lease time will let me continue to have an internet connection without rebooting, or running an application that performs the function of the rc.netdevice script.

Last edited by cowlitzron; 10-22-2014 at 02:11 AM. Reason: making a correction
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Microsoft, Motorola Patent Battle: A Lose-Lose-Lose Proposition LXer Syndicated Linux News 1 10-05-2010 09:51 PM
Lose Wireless Connection when Wired connection is disconnected phillywill Linux - Wireless Networking 65 01-21-2010 08:40 PM
How do I manually disconnect/reconnect DHCP DSL internet connection? chaz_bro1972 Linux - Networking 34 06-06-2008 01:17 AM
upgrade kernel in sarge I lose dsl tigeraven Debian 3 09-23-2005 05:06 AM
ADSL reconnect - without rebooting Newman_SCO Linux - Newbie 0 07-31-2003 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:35 AM.

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