LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Restart dhcpcd service in slackware 13.37? (https://www.linuxquestions.org/questions/slackware-14/restart-dhcpcd-service-in-slackware-13-37-a-4175413923/)

michaelinux 06-28-2012 07:57 PM

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?

TommyC7 06-28-2012 08:05 PM

dhcpcd by itself should be enough. There are other rc.* scripts that invoke dhcpcd too.

Alien Bob 06-29-2012 03:50 AM

Quote:

Originally Posted by michaelinux (Post 4714575)
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

michaelinux 06-29-2012 02:11 PM

Quote:

Originally Posted by Alien Bob (Post 4714814)
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. :(


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