Date: Tue, 21 Oct 2014 20:23:28 -0400 From: Allan Jude <allanjude@freebsd.org> To: freebsd-doc@freebsd.org Subject: Re: /etc/defaults/rc.conf DHCP omission Message-ID: <5446F900.7040709@freebsd.org> In-Reply-To: <20141021230806.GE2581@blisses.org> References: <20141021230806.GE2581@blisses.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 2014-10-21 19:08, Mason Loring Bliss wrote: > Someone just came into Freenode #freebsd asking how to run DHCP. This led to > a brief search of the docs. We could tell him to say ifconfig_some0="DHCP" > but it wasn't clear where he'd find that on his own. > > 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 the > twelth hit, and it shows up deep down in the middle of a section. It's > effectively buried. > > Also, /etc/defaults/rc.conf doesn't actually include a DHCP example at all, > although it does have several example entries: > > #ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. > #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. > #ifconfig_ed0_ipx="ipx 0x00010010" # Sample IPX address family entry. > #ifconfig_ed0_ipv6="inet6 2001:db8:1::1 prefixlen 64" # Sample IPv6 addr entry > #ifconfig_ed0_alias0="inet6 2001:db8:2::1 prefixlen 64" # Sample IPv6 alias > #ifconfig_fxp0_name="net0" # Change interface name from fxp0 to net0. > > To reiterate something I'd mentioned in another mail, I think it'd be good > 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 suggestion, 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. > 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. It isn't a bad idea though. -- Allan Jude [-- Attachment #2 --] -----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-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5446F900.7040709>
