Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Aug 1999 09:30:03 -0700 (PDT)
From:      "Jasper O'Malley" <jooji@webnology.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: conf/12984: No dhclient support in /etc/rc*
Message-ID:  <199908051630.JAA87261@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/12984; it has been noted by GNATS.

From: "Jasper O'Malley" <jooji@webnology.com>
To: card@csi.uvsq.fr
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: conf/12984: No dhclient support in /etc/rc*
Date: Thu, 5 Aug 1999 10:28:50 -0500 (CDT)

 On Thu, 5 Aug 1999, Remy Card wrote:
 
 > 	3.2-RELEASE contains dhclient but the startup scripts (/etc/rc*) do
 > not include any support for it.  Thus, it is not possible to use DHCP to
 > set the IP address without modifying these scripts.
 
 Sure it is. /etc/rc.network looks for the file /etc/start_if.${ifn} for
 each interface ${ifn} listed in rc.conf, and runs it if present. If you
 want to use dhclient to lease an address on fxp0, for instance, make a
 file /etc/start_if.fxp0 with the following lines in it:
 
     #!/bin/sh
     /sbin/dhclient fxp0
 
 The patch looks okay, too, though. There's something appealing about being
 able to simply stick ifconfig_fxp0="DHCP" in rc.conf, and not have to muck
 with a start_if script. I'd suggest calling the new rc.conf variable
 something like dhcpc_program, instead of just dhcp_program, to avoid
 confusion with a possible future DHCP server program variable.
 
 Cheers,
 Mick
 
 
 
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908051630.JAA87261>