Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 2003 01:47:02 -0400
From:      Mike Makonnen <mtm@identd.net>
To:        src-committers@FreeBSD.org
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc/rc.d dhclient netif
Message-ID:  <20030629054703.QLUJ20810.pop015.verizon.net@kokeb.ambesa.net>
In-Reply-To: <200306290534.h5T5Yfwk060549@repoman.freebsd.org>
References:  <200306290534.h5T5Yfwk060549@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 28 Jun 2003 22:34:41 -0700 (PDT)
Mike Makonnen <mtm@FreeBSD.org> wrote:

> mtm         2003/06/28 22:34:41 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     etc/rc.d             dhclient netif 
>   Log:
>   Implement individual operations on static and dhcp interfaces. Previously
>   network interfaces could only be turned on and off as a group (all
>   static interfaces or all dhcp interfaces).
>   

This will undoubtedly need more work as people try this out and find things they
would like done differently, etc. However, to begin with you should be able to
do this now:
# /etc/rc.d/netif stop rl0
# /etc/rc.d/dhclient stop dc0
... do something...
# /etc/rc.d/netif start rl0
# /etc/rc.d/routing static
# /etc/rc.d/dhclient start dc0

Running the static routing (rc.d/routing) is necessary after you bring a
staticly configured interface back up.

At the moment, you can only specify one interface to start/stop but it's easy
enough the make it accept more. I'll do that in the next few days.

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm@identd.net | D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9
mtm@FreeBSD.Org| FreeBSD - The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030629054703.QLUJ20810.pop015.verizon.net>