ntpdate with u3g - synchronisation problem

Milan Obuch freebsd-stable at dino.sk
Wed Aug 19 10:20:27 UTC 2009


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


More information about the freebsd-stable mailing list