Re: [chrony-users] How to detect internet becoming available |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] How to detect internet becoming available
- From: Andrei Borzenkov <arvidjaar@xxxxxxxxx>
- Date: Sat, 11 Sep 2021 13:10:01 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=Gp9SO0bqpt4P9KpubA54vjhnp3GLw+6oLZBBX8BXKtQ=; b=DRf16K6R6uVkm0kWY4CwHDE3Ijh8//r1DGLx0VC26cRm6Ue2fJ4ULhPlYKZbP/s+hU N/t4YdyKUxzM7Fc9apjWEJpcZ48rREbYTz5sho6PbJXI0GEeqUkuyJ7/OZGt5JCQmszn qmum/jH8OdJEkStAstNchzHMJ43i3uFShJSPHlDloiTpzf1J1NDn8qzggr/xnAAX+74R UWOUTchnrmLP1to5+hBQXbMAtdC/DterAqUqpW+akmtVFEomyXJY+OvK6Q+LxgvrsDQN jGSIn2N3eFtNGXSIkFL+S2mirubs2mLDrxi+wAmGR3fSDMcgc9GkRzcYYQIIXe39Ygym nN1A==
On 11.09.2021 13:02, Uwe Fechner wrote:
> Hello,
>
> we have an Linux ARM board that can be connected to the internet
> using a wired connection.
>
> Chrony is started at boot time.
>
> After a power failure it can happen that our board starts up BEFORE
> internet becomes available, for example because the router it is
> connected to has a higher startup-and-sync time than our board.
>
> How can I inform chrony that internet is available?
>
Why? chrony should recover when time sources become reachable.
> I know I can use the command "chronyc online", but how can I trigger
> that without using network manager?
>
Do you mean your sources are offline after boot? Is your board shut down
when it gets power failure indication or it is simply switched off?
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.