ntpdate on boot problem

Warren Block wblock at wonkity.com
Sat Nov 5 23:43:10 UTC 2011

On Sat, 5 Nov 2011, Robert Simmons wrote:

> On Sat, Nov 5, 2011 at 6:55 PM, Warren Block <wblock at wonkity.com> wrote:
>> On Sat, 5 Nov 2011, Robert Simmons wrote:
>>> Is there a way to make sure that the interface is UP and working
>>> before running ntpdate at boot on a box with a static IP address?
>> Yes, it is.  FreeBSD 8-STABLE and 9 have /etc/rc.d/netwait just for this.
> Thanks, could you elaborate as to how I use netwait at boot to run ntpdate?


netwait_ip="" # IP address to ping to verify network is up
netwait_if="em0" # interface to use

Also there's netwait_timeout, which defaults to 60 in 

More information about the freebsd-questions mailing list