This is an excerpt from a dhcpcd.conf file that I used six years ago. I
have no record of what release dhcpcd was at the time. I can't find in
any of the man pages the use of the "prepend" option or of the
<interface "[device name]" {stuff}>, as they both appear in the excerpt.
> interface "wlan0"{
> prepend domain-name-servers 127.0.0.1;
> request subnet-mask, broadcast-address, time-offset, routers,
> domain-name, domain-name-servers, host-name;
> require subnet-mask, domain-name-servers;
> }
Does this format still work? The dhcpcd.conf man page says something to
the effect that all options following <interface [name]> will be parsed
only for that device. Do these options, then, appear on following lines
and apply to [name] until another line with <interface> appears? Or
would it have to be a series of lines like
interface [name] request <stuff>
interface [name] require <stuff>
Because it worked, I want to incorporate these things into my current
dhcpcd.conf file. In fact, there was only the above and a set of
options for "eth0" in my old file. The default file installed when I
built dhcpcd has a lot of other "stuff" in it, but none of this. Has
dhcpcd matured that much in 6 years?
Thanks,
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page