From owner-freebsd-doc@FreeBSD.ORG Wed Oct 22 00:23:34 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A059263 for ; Wed, 22 Oct 2014 00:23:34 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 03F3B627 for ; Wed, 22 Oct 2014 00:23:33 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 03EE262B92 for ; Wed, 22 Oct 2014 00:23:25 +0000 (UTC) Message-ID: <5446F900.7040709@freebsd.org> Date: Tue, 21 Oct 2014 20:23:28 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: Re: /etc/defaults/rc.conf DHCP omission References: <20141021230806.GE2581@blisses.org> In-Reply-To: <20141021230806.GE2581@blisses.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jBJe2GO0ddkVRtpbjP3XA7XPh2hlJc7x6" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2014 00:23:34 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jBJe2GO0ddkVRtpbjP3XA7XPh2hlJc7x6 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2014-10-21 19:08, Mason Loring Bliss wrote: > Someone just came into Freenode #freebsd asking how to run DHCP. This l= ed to > a brief search of the docs. We could tell him to say ifconfig_some0=3D"= DHCP" > but it wasn't clear where he'd find that on his own. >=20 > It turns out that it's crazily far down the rc.conf(5) man page, and it= 's far > from the first hit if you search for DHCP - in the 10.1-rc2 page it's t= he > twelth hit, and it shows up deep down in the middle of a section. It's > effectively buried. >=20 > Also, /etc/defaults/rc.conf doesn't actually include a DHCP example at = all, > although it does have several example entries: >=20 > #ifconfig_lo0=3D"inet 127.0.0.1" # default loopback device configurati= on. > #ifconfig_lo0_alias0=3D"inet 127.0.0.254 netmask 0xffffffff" # Sample a= lias entry. > #ifconfig_ed0_ipx=3D"ipx 0x00010010" # Sample IPX address family e= ntry. > #ifconfig_ed0_ipv6=3D"inet6 2001:db8:1::1 prefixlen 64" # Sample IPv6 a= ddr entry > #ifconfig_ed0_alias0=3D"inet6 2001:db8:2::1 prefixlen 64" # Sample IPv6= alias > #ifconfig_fxp0_name=3D"net0" # Change interface name from fxp0 to = net0. >=20 > To reiterate something I'd mentioned in another mail, I think it'd be g= ood > for rc.conf to come pre-stocked with a pointer to /etc/defaults/rc.conf= so > new folks know that's there. And to accomodate this situation, it seems= like > a DHCP example should be added to the list, above. As a final suggestio= n, it > seems like /etc/defaults/rc.conf ought to be ordered such that it lists= > critical operational items first, networking stuff being a good example= of > this. >=20 Pre-stocking it might be an idea currently, a fresh install has no /etc/rc.conf file at all, then bsdinstall adds a few lines to it if you configured networking or ZFS etc= =2E It isn't a bad idea though. --=20 Allan Jude --jBJe2GO0ddkVRtpbjP3XA7XPh2hlJc7x6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJURvkDAAoJEJrBFpNRJZKfD30QAJpSJNSILE+hF8UwfC/GBTyv tv7mq2FxQBLWERgr9CW4it54WEyFfPqQ1GDCnPU3j4wgR3lUMjn+qW7IGbejn7bV wpcpWH3MBRXAnm6ph6+ow+WrAUwwjcD1knTVQ6gtNjgac5BCBWgU7eNCj7ipq9UJ 3Qru6QdGG50/xr1yN/xzokbHxh+0s6twwsYqQGfbaEWOxQMFqQGYbjtfQZTDfU8C E/05w7W8rOh7ZrK/SnHaNbBRLKSui3Rp3QDuJlqMWcN520z9LNEMq50m1d1/6/TA 4XYi+8ckIKFZpNmoVRfgJrALp4/PEcxKOSahP/+OCeZWnxZvpxKpeAAObk4seAzG f8JcEpICyql+aRw3w1OTBKgY6RI35UN9/AOhPiISCcDeE6ppkzaiRbKA5heIfM4g j0NSi84oxvL1y7QeRRGOOJ95upq9QoZDbiFjcfx8Cfh9uC9jXBnIbUeGcRU0WJG1 sZ1K5NR/XeAnCgIaAi4K/7nSxKxSgfEgfhPKcWGOcT66Q4oqih23pbhD0bRiX8Jf HUp9NsBJiBPiRL+14iP6mdsv2MVKRn/2QxVHQiz6hDGUoxgPj8K8RmZSmm5f2sq7 ar8y5ncK9vOaakiaAgh5kUvn5/WKL0b2gNXOrNX4LD6jsZTnBke3Q3T3wVSi097N xyeUnXtHfDUT/sOXVozM =bk9m -----END PGP SIGNATURE----- --jBJe2GO0ddkVRtpbjP3XA7XPh2hlJc7x6--