[gentoo-user] Re: another headless device-question: In search of the LAN

2014-09-30 Thread James
meino.cramer at gmx.de writes: Unfortunately, ntp-client is configured via rc-update (added to default) but after plugging in LAN the interface eth0 comes up and I have access via ssh...but the date is set to the beginnig of the UNIX epoch. I have to call ntp-client by hand. Meino,

Re: [gentoo-user] Re: another headless device-question: In search of the LAN

2014-09-30 Thread meino . cramer
James wirel...@tampabay.rr.com [14-09-30 14:24]: meino.cramer at gmx.de writes: Unfortunately, ntp-client is configured via rc-update (added to default) but after plugging in LAN the interface eth0 comes up and I have access via ssh...but the date is set to the beginnig of the UNIX

Re: [gentoo-user] Re: another headless device-question: In search of the LAN

2014-09-30 Thread Neil Bothwick
On Tue, 30 Sep 2014 14:34:28 +0200, meino.cra...@gmx.de wrote: ...the system has no built-in RTC which still runs if the system is powered off. After power is up and eth0 is alive, the time/date has to be set via ntp-client. The rest already working. I called /etc/init.d/ntp-client

Re: [gentoo-user] Re: another headless device-question: In search of the LAN

2014-09-30 Thread wraeth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 30/09/14 22:37, Neil Bothwick wrote: The trouble with any program that polls regularly, as I assume chrony does, is that you have a window between the interface coming up and the clock being set. It makes more sense to me to use postup() to

Re: [gentoo-user] Re: another headless device-question: In search of the LAN

2014-09-30 Thread wraeth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 30/09/14 22:39, wraeth wrote: FWIW, there's a dispatcher script you can use (at least with NM) that calls chrony and sets it to online mode. Sorry, to clarify: when NetworkManager comes online, it can execute scripts placed in

Re: [gentoo-user] Re: another headless device-question: In search of the LAN

2014-09-30 Thread meino . cramer
wraeth wra...@wraeth.id.au [14-09-30 14:44]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 30/09/14 22:39, wraeth wrote: FWIW, there's a dispatcher script you can use (at least with NM) that calls chrony and sets it to online mode. Sorry, to clarify: when NetworkManager comes

Re: [gentoo-user] Re: another headless device-question: In search of the LAN

2014-09-30 Thread Poison BL.
On Tue, Sep 30, 2014 at 8:34 AM, meino.cra...@gmx.de wrote: James wirel...@tampabay.rr.com [14-09-30 14:24]: Meino, Make sure your system time (hwclock) is properly set upon bootup. Since you are running on an embedded hardware board, I'd look at those docs and find a forum as to the