Re: [chrony-dev] chrony reports offline even there is internet |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
On Thu, 19 Aug 2010 10:42:59 +0200
Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
> On Thu, Aug 19, 2010 at 10:20:10AM +0200, Miroslav Lichvar wrote:
> > On Thu, Aug 19, 2010 at 01:02:03PM +0530, J. Bakshi wrote:
> > > OK, thanks a lot for the clarification. I'll set a daemon then which
> > > check the presence of internet and then restart chrony.
> >
> > You might also want to try the latest git version, it retries name
> > resolving until it gets a non-temporary failures or success.
>
> Actually it should work with 1.24 too. Is /etc/resolv.conf empty
> before the network is up? NetworkManager doesn't clean the file on
> reboot/shutdown so you might need to add/modify an init script to
> clean the file early in the boot sequence.
>
Thanks. I don't have network manager. My configuration is based on ifplugd+guessnet ; so it auto detects the lan setup :-) But I fell chrony actually starts before the net connection, hence it comes back into action when I restart chrony later when have the net.
---
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.