From owner-freebsd-stable@FreeBSD.ORG Wed Aug 19 10:20:27 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91858106568C for ; Wed, 19 Aug 2009 10:20:27 +0000 (UTC) (envelope-from freebsd-stable@dino.sk) Received: from loki.netlab.sk (ns3.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 0ED358FC51 for ; Wed, 19 Aug 2009 10:20:26 +0000 (UTC) Received: from via.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Wed, 19 Aug 2009 12:19:13 +0200 id 0002E00F.4A8BD1A1.00012CA4 From: Milan Obuch To: freebsd-stable@freebsd.org Date: Wed, 19 Aug 2009 12:20:13 +0200 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908191220.13678.freebsd-stable@dino.sk> Subject: ntpdate with u3g - synchronisation problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Aug 2009 10:20:27 -0000 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 " 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