From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23067 invoked by alias); 28 Jul 2014 09:27:34 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 23056 invoked by uid 89); 28 Jul 2014 09:27:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: ip2.televic.com Received: from ip2.televic.com (HELO ip2.televic.com) (81.82.194.222) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 28 Jul 2014 09:27:32 +0000 Received: from SRV-VS06.TELEVIC.COM ([10.0.0.46]) by SRV-VS06.TELEVIC.COM ([10.0.0.46]) with mapi; Mon, 28 Jul 2014 11:27:25 +0200 From: =?iso-8859-1?Q?Lambrecht_J=FCrgen?= To: "ecos-discuss@ecos.sourceware.org" Date: Mon, 28 Jul 2014 09:27:00 -0000 Message-ID: <53D6177C.1070902@televic.com> References: <53AD2B74.1040609@televic.com> In-Reply-To: <53AD2B74.1040609@televic.com> user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Subject: Re: [ECOS] NTP not working when no NTP server available at startup X-SW-Source: 2014-07/txt/msg00008.txt.bz2 Hi, this item has been fixed in the application: the list of NTP servers must be static, because it is used by eCos.. This is even mentioned in the documentation, but still the application=20 engineer was convinced it was an eCos bug that I had to fix. Finally I=20 fixed his application... Kind regards, J=FCrgen On 06/27/2014 08:36 AM, Lambrecht J=FCrgen wrote: > Hi, > > we have the problem that NTP is not working when there is no ntp server > available at startup. > > However this is what I read on the ecos pages > (http://ecos.sourceware.org/docs-3.0/ref/net-sntp-operation.html) > > "If SNTP unicast mode is enabled via the CYGPKG_NET_SNTP_UNICAST option, > the SNTP client can additionally be configured with a list of specific > NTP servers to query. The general algorithm is as follows: if the system > clock has not yet been set via an NTP time update, then the client will > send out NTP requests every 30 seconds to all configured NTP servers. > Once an NTP time update has been received, the client will send out > additional NTP requests every 30 minutes in order to update the system > clock. These requests are resent every 30 seconds until a response is > received." > > We use a list of NTP servers, but we don't see the 30s repeat when a FYI: we made the repeat time shorter than the eCos default > server does not answer. > > Should this work? > > Thanks for any answer, > J=FCrgen > --=20 J=FCrgen Lambrecht R&D Associate Mobile: +32 499 644 531 Tel: +32 (0)51 303045 Fax: +32 (0)51 310670 http://www.televic-rail.com Televic Rail NV - Leo Bekaertlaan 1 - 8870 Izegem - Belgium Company number 0825.539.581 - RPR Kortrijk -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss