Date: Sat, 8 Jan 2000 02:18:42 -0700 (MST) From: John Reynolds <jjreynold@home.com> To: FreeBSD-gnats-submit@freebsd.org Subject: docs/15980: rc.conf.5 update -- network_interfaces section Message-ID: <200001080918.CAA33948@whale.home-net>
index | next in thread | raw e-mail
>Number: 15980
>Category: docs
>Synopsis: update of rc.conf.5 man page
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 8 01:20:01 PST 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001080918.CAA33948>
