Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2009 12:20:13 +0200
From:      Milan Obuch <freebsd-stable@dino.sk>
To:        freebsd-stable@freebsd.org
Subject:   ntpdate with u3g - synchronisation problem
Message-ID:  <200908191220.13678.freebsd-stable@dino.sk>

next in thread | raw e-mail | index | archive | help
Hi,

I have a box connected via u3g (Huawei E169) running OpenVPN with PKI 
certificates. It needs to synchronise time. I added

ntpdate_enable="YES"
ntpdate_flags="-b <my.ntpd.server.ip>"

into rc.conf. Problem is, ntpdate timeouts, because network starts slowly in 
this case. I need ntpdate to wait somehow until ntp server is reachable. Due 
to USB used to connect 3G modem, ppp is started via devd event. Network start 
is a bit asynchronous, not ordered in rcorder sense.

Could someone shed some lite on this for me? It looks a bit like synchronous 
DHCP - at least I think so.

Any help appreciated.

Regards,
Milan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908191220.13678.freebsd-stable>