Re: starting and stopping networking

James Miller
2004-01-04T21:28:19Z

On Sun, 4 Jan 2004 caszonyi@rdslink.ro wrote:

> my slack 9.0 has the following lines in /etc/rc.d/rc.inet1 for
> bringing up dhcp
>
> if [ ! "$DHCP_HOSTNAME" = "" ]; then
> DHCP_HOSTNAME="-h $DHCP_HOSTNAME"
> fi
> /sbin/dhcpcd -t 10 ${DHCP_HOSTNAME} -d eth0
>
> where DHCP_HOSTNAME is the host name of the DHCP server
>
> Hope it helps a bit :-)
>
Well, not a whole lot. If I were using Slack, I would just do
/etc/rc.d/rc.inet1 stop and /etc/rc.d/rc.inet1 start. I guess I'm trying
to find out what is the equivalent on Debian. I'll root through the /etc
directory some more and see if I can figure out anything.

Thanks, James