Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#1183 - [rc.conf] need to pass options to dhcpcd
Attached to Project:
Arch Linux
Opened by Chris Rainey (marin_linuxer) - Saturday, 24 July 2004, 18:38 GMT
Last edited by Judd Vinet (judd) - Tuesday, 27 July 2004, 15:19 GMT
Opened by Chris Rainey (marin_linuxer) - Saturday, 24 July 2004, 18:38 GMT
Last edited by Judd Vinet (judd) - Tuesday, 27 July 2004, 15:19 GMT
|
DetailsHi
In a moment of lapsed judgement, I installed Gentoo to see what they're up to. <gasp> ... Indeed, I noted that their network config script had a very useful section for adding options to the dhcpcd call. I think this would be a valuable addition to Arch's rc.conf for those of us using dhcp with ntpd. Namely, the dhcpcd option '-N' which prevents dhcpcd from overwriting the default(and possibly customized) /etc/ntp.conf script. The -N option prevents the default behavior of dhcpcd from clobbering the existing ntp.conf with time server info it may or may not recieve from the dhcp server. Again, those of us with consumer router's, which don't provide this info, get our ntp.conf pounced at startup by this behavior. Here is the snip'd section from Gentoo's '/etc/conf.d/net' script: ############################################################################## # NEW-STYLE IFCONFIG examples # --------------------------- # This uses /sbin/ifconfig and /sbin/route to set the network up. # It is suitable for most home users. ############################################################################## # To use DHCP on eth0, simply uncomment the following line: ifconfig_eth0=( "dhcp" ) # For passing custom options to dhcpcd use something like the following. This example reduces the timeout for retrieving an address from 60 seconds (the default) to 10 seconds. Note that this might be too short for some servers, so the default is encouraged unless you know what you're doing. dhcpcd_eth0="-N -t 10" |
This task depends upon
Comment by Judd Vinet (judd) -
Tuesday, 23 November 2004, 23:03 GMT
There is now a /etc/conf.d/dhcpcd file where you can set this.