From jjreynold@cx587235-a.chnd1.az.home.com  Sat Jan  8 01:18:45 2000
Return-Path: <jjreynold@cx587235-a.chnd1.az.home.com>
Received: from cx587235-a.chnd1.az.home.com (cx587235-a.chnd1.az.home.com [24.11.88.170])
	by hub.freebsd.org (Postfix) with ESMTP id 63765150EB
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  8 Jan 2000 01:18:45 -0800 (PST)
	(envelope-from jjreynold@cx587235-a.chnd1.az.home.com)
Received: from whale.home-net (whale [192.168.1.2])
	by cx587235-a.chnd1.az.home.com (8.9.3/8.9.3) with ESMTP id CAA72123
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 8 Jan 2000 02:18:43 -0700 (MST)
	(envelope-from jjreynold@dolphin.home-net)
Received: (from jjreynold@localhost)
	by whale.home-net (8.9.3/8.9.3) id CAA33948;
	Sat, 8 Jan 2000 02:18:42 -0700 (MST)
	(envelope-from jjreynold@mailhost.home-net)
Message-Id: <200001080918.CAA33948@whale.home-net>
Date: Sat, 8 Jan 2000 02:18:42 -0700 (MST)
From: John Reynolds <jjreynold@home.com>
Sender: jjreynold@cx587235-a.chnd1.az.home.com
Reply-To: jjreynold@home.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: rc.conf.5 update -- network_interfaces section
X-Send-Pr-Version: 3.2

>Number:         15980
>Category:       docs
>Synopsis:       update of rc.conf.5 man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan  8 01:20:01 PST 2000
>Closed-Date:    Thu Jan 13 05:12:00 PST 2000
>Last-Modified:  Thu Jan 13 05:12:38 PST 2000
>Originator:     John Reynolds <jjreynold@home.com>
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:

3.4-STABLE CVSup'ed as of Sat Jan  8 02:14:48 MST 2000

>Description:

Since DHCP was brought into the tree, rc.network was capable of launching
DHCP via

  ${dhcp_program} ${dhcp_flags} ${ifn}

for a given network $ifn.

To trigger this, you set the rc.conf variable

  ifconfig_<ifn>

to DHCP like so:

  ifconfig_<ifn>="DHCP"

But this is not documented in the man page for rc.conf. One will only find it
by grepping rc.network.

>How-To-Repeat:

  n/a

>Fix:
	
Apply the following patch to rc.conf.5

--- /usr/src/share/man/man5/rc.conf.5	Thu Dec  2 21:37:23 1999
+++ rc.conf.5	Sat Jan  8 02:09:46 2000
@@ -282,6 +282,15 @@
 .Ed
 Then note that alias4 would \fBnot\fR be added since the search would
 stop with the missing alias3 entry.
+
+You can bring up an interface with DHCP by setting the 
+.No ifconfig_ Ns Em interface
+variable to "DHCP". For instance, if your 
+.Qq Ar ed0
+device was to be initialized via DHCP, you might have something
+like:
+.Bd -literal
+ifconfig_ed0="DHCP"
 .It Ar ppp_enable
 (bool) If set to
 .Ar YES ,



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: asmodai 
State-Changed-When: Thu Jan 13 05:12:00 PST 2000 
State-Changed-Why:  
Fixed in rev 1.60 and rev 1.27.2.23 of rc.conf.5 with a slightly modified 
patch. 

Thanks! 
>Unformatted:
