LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-28-2012, 07:57 PM   #1
michaelinux
Member
 
Registered: Apr 2009
Location: El Salvador
Distribution: Slackware -current
Posts: 166

Rep: Reputation: 17
Restart dhcpcd service in slackware 13.37?


I remember back then using slackware 13.1 i could restart the dhcpcd service with /etc/rc.d/rc.dhcpcd restart, now that script is gone. How can i stop/start/restart dhcp now?
 
Old 06-28-2012, 08:05 PM   #2
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Rep: Reputation: Disabled
dhcpcd by itself should be enough. There are other rc.* scripts that invoke dhcpcd too.
 
Old 06-29-2012, 03:50 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by michaelinux View Post
I remember back then using slackware 13.1 i could restart the dhcpcd service with /etc/rc.d/rc.dhcpcd restart, now that script is gone. How can i stop/start/restart dhcp now?
Slackware never had a "/etc/rc.d/rc.dhcpcd" script in the past. Perhaps you confuse the client daemon (dhcpcd) with the DHCP server daemon (dhcpd) which by the way also never had a rc script in Slackware. I have one available here.

What you usually do is run "/etc/rc.d/rc.inet1 restart" or run "dhcpcd --rebind" if you want the DHCP client daemon to rebind.

Eric
 
Old 06-29-2012, 02:11 PM   #4
michaelinux
Member
 
Registered: Apr 2009
Location: El Salvador
Distribution: Slackware -current
Posts: 166

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by Alien Bob View Post
Slackware never had a "/etc/rc.d/rc.dhcpcd" script in the past. Perhaps you confuse the client daemon (dhcpcd) with the DHCP server daemon (dhcpd) which by the way also never had a rc script in Slackware. I have one available here.

What you usually do is run "/etc/rc.d/rc.inet1 restart" or run "dhcpcd --rebind" if you want the DHCP client daemon to rebind.

Eric
Ooops.. i guess that was in arch then.. hmm i guess my memory is pretty bad.
 
  


Reply

Tags
dhcpcd, restart, services, slackware 13.37



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
Cron service and oracle service stopped unexpectedly. Can't restart oracle. camron Linux - Newbie 6 06-10-2010 06:00 PM
what is the difference between service network reload and service network restart ? markraem Linux - Networking 3 11-21-2007 03:08 PM
How do I set the regulatory daemon to restart when I restart the network service? zahadumy Linux - Networking 0 11-05-2006 11:24 AM
how squid service be start/restart in slackware LinuxLover Slackware 5 10-22-2004 07:16 AM
How to restart a service in slackware? echojihui Slackware 7 08-31-2004 08:03 PM

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

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