LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-24-2008, 09:16 PM   #1
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Ubuntu Mate 18.04, Mint 19.1
Posts: 360

Rep: Reputation: 45
Question DSL Ethernet re-connecting


How in Slackware 12.1 with KDE 3.5.9 using that KNemo tool connecting with a standard DSL modem, do I renew the DHCP IP address to be able to reconnect online when I had shutoff the dsl modem or not had it on during the boot up process? And yes all 4 lites are on with my Westell DSL modem from Verizon. I did check the options for use with; "ifconfig" command, but there is no renew, or restart listed, (like ipconfig /renew in XP) I did find a thread post about; "dhclient eth0" to renew the IP address, or just re-start the DHCP client service manually ? What way works best ?
 
Old 12-24-2008, 09:31 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Log in as root and run
Code:
/etc/init.d/network restart
 
Old 12-24-2008, 09:39 PM   #3
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,292
Blog Entries: 24

Rep: Reputation: 4251Reputation: 4251Reputation: 4251Reputation: 4251Reputation: 4251Reputation: 4251Reputation: 4251Reputation: 4251Reputation: 4251Reputation: 4251Reputation: 4251
Quote:
Originally Posted by stress_junkie View Post
Log in as root and run
Code:
/etc/init.d/network restart
Not under Slackware...

Try
Code:
/etc/rc.d/rc.inet1 restart
maybe...

Last edited by astrogeek; 12-24-2008 at 09:40 PM.
 
Old 12-26-2008, 09:44 AM   #4
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
"dhcpcd eth0" should get you a new ip address without restarting the network services.

Brian
 
Old 12-26-2008, 08:06 PM   #5
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Ubuntu Mate 18.04, Mint 19.1
Posts: 360

Original Poster
Rep: Reputation: 45
Question

So then do I enter; "dhcpcd eth0" in a konsole terminal as root user just after I turn on my DSL modem, or wait for 3-4 lites to be on first? And thanks for the help. My idea is to kill the DHCP client process, (dhcpcd) and then re-start that service when I turn on the DSL modem.
 
Old 12-26-2008, 09:58 PM   #6
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Quote:
Originally Posted by james2b View Post
So then do I enter; "dhcpcd eth0" in a konsole terminal as root user just after I turn on my DSL modem, or wait for 3-4 lites to be on first?
Try it both ways
Quote:
And thanks for the help. My idea is to kill the DHCP client process, (dhcpcd) and then re-start that service when I turn on the DSL modem.
Then you are better off doing "/etc/rc.d/rc.inet1 restart" as that will kill a running dhcpcd process, and so will save you a step.

Brian
 
Old 12-26-2008, 10:30 PM   #7
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Ubuntu Mate 18.04, Mint 19.1
Posts: 360

Original Poster
Rep: Reputation: 45
Thumbs up

I did try that dhcpcd eth0 in konsole as root, and it said; "already running", but then it did re-connect my DSL online just fine, thanks.
 
  


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
Need help connecting to dsl builder1 Slackware 22 03-25-2007 10:49 PM
Connecting to Internet with new DSL benrose111488 Linux - Software 8 09-15-2006 04:04 PM
connecting laptop to pc via dsl d1l2w3 Linux - Networking 2 01-10-2005 03:43 PM
having trouble connecting with dsl jgams Linux - Networking 12 11-06-2004 10:20 PM
Connecting with DSL Simsala Linux - Networking 0 08-18-2001 09:55 PM

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

All times are GMT -5. The time now is 08:24 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