cvs commit: src/etc Makefile network.subr src/etc/rc.d hostname netif network1 nisdomain

Martin Blapp mb at imp.ch
Tue Apr 22 23:15:35 PDT 2003


hi,

> On Fri, 18 Apr 2003, Mike Makonnen wrote:
> > I've been meaning to do this for a while. This is the first phase in making rc.d
> > networking more useful after system startup. I plan to add functionality like
> > being able to bring up and take down individual interfaces or classes of
> > interfaces. I also want to enhance aliases so that removing one from the list
> > doesn't mean you have to renumber them all.
>
> One more request is to make dhclient immediately go into the background if
> there is no link on an interface.  I have a small local patch that enables
> this and it would be great to see this functionality in the tree.  It does
> an ifconfig | grep status: on each interface in the loop if it is enabled
> for dhcp.  If there is no link, it starts dhclient in the background
> since you are guaranteed that it will time out eventually.  This fixes
> booting my laptop while traveling.

Please don't do it that way. The option -nw is ok for dhcp startup,
but it breaks natd at startup time.

I'm now trying to get my interface polling patch comitted, which does
the same thing Nate proposes, but not at the script level.

http://people.freebsd.org/~mbr/patches/dhclient-interfacepolling.diff

Martin


More information about the cvs-src mailing list