Re: NetworkManager time sync

2010-07-12 Thread Dan Williams
On Mon, 2010-07-05 at 08:41 -0300, Esteban Bordon wrote: > You have to put a script calling ntpdate > in /etc/NetworkManager/dispatcher.d/ You can also get the NTP server that may be passed down from DHCP in the environment of the script on 'up' events. See 'man NetworkManager'. That's of course

Re: NetworkManager time sync

2010-07-11 Thread Bernie Innocenti
El Wed, 07-07-2010 a las 12:20 -0400, Martin Langhoff escribió: > Apparently the ntp protocol supports some server-signing of the > messages -- we could use an OATS key for that. But it looks rickety. Authenticated NTP sounds like a good solution. NTP4 supports public key cryptography based on SS

Re: Anti-theft vs RTC (Was Re: NetworkManager time sync)

2010-07-07 Thread Martin Langhoff
On Tue, Jul 6, 2010 at 2:32 PM, Hal Murray wrote: > It's probably possible to make the anti-theft stuff significantly more robust > in this area.  I think it would be a lot of work. Yes. Much more work than mere conversation. Are you planning to hack on this? Moving a good chunk of olpc-update-q

Re: NetworkManager time sync

2010-07-07 Thread C. Scott Ananian
On Wed, Jul 7, 2010 at 12:20 PM, Martin Langhoff wrote: > On Mon, Jul 5, 2010 at 11:52 PM, Daniel Drake wrote: >> While we have your attention on this topic... >> Do you not think that this is a security issue? In that a thief could >> put a laptop on a network with rigged DNS and have control ov

Re: NetworkManager time sync

2010-07-07 Thread Martin Langhoff
On Mon, Jul 5, 2010 at 11:52 PM, Daniel Drake wrote: > While we have your attention on this topic... > Do you not think that this is a security issue? In that a thief could > put a laptop on a network with rigged DNS and have control over the > time/date on the laptop? We *really* have to get OFW

Anti-theft vs RTC (Was Re: NetworkManager time sync)

2010-07-06 Thread Hal Murray
csc...@laptop.org said: >> While we have your attention on this topic... >> Do you not think that this is a security issue? In that a thief could >> put a laptop on a network with rigged DNS and have control over the >> time/date on the laptop? > A sane security system would let the user contro

Re: NetworkManager time sync

2010-07-05 Thread C. Scott Ananian
On Mon, Jul 5, 2010 at 11:52 PM, Daniel Drake wrote: > On 5 July 2010 21:44, C. Scott Ananian wrote: >> Maybe someone's got a copy of build 653 lying around and they can run >> rpm -q for us. > > While we have your attention on this topic... > Do you not think that this is a security issue? In th

Re: NetworkManager time sync

2010-07-05 Thread Daniel Drake
On 5 July 2010 21:44, C. Scott Ananian wrote: > Maybe someone's got a copy of build 653 lying around and they can run > rpm -q for us. While we have your attention on this topic... Do you not think that this is a security issue? In that a thief could put a laptop on a network with rigged DNS and

Re: NetworkManager time sync

2010-07-05 Thread C. Scott Ananian
On Mon, Jul 5, 2010 at 8:33 PM, Bernie Innocenti wrote: > On Mon, 2010-07-05 at 20:30 -0400, C. Scott Ananian wrote: > >> I wrote that script when I was at OLPC.  It should still be packaged >> somewhere. > > I see olpc-update-ifup in my builds, but nothing related to ntpdate. > > Do you remember

Re: NetworkManager time sync

2010-07-05 Thread Bernie Innocenti
On Mon, 2010-07-05 at 20:30 -0400, C. Scott Ananian wrote: > I wrote that script when I was at OLPC. It should still be packaged > somewhere. I see olpc-update-ifup in my builds, but nothing related to ntpdate. Do you remember if it was part of olpc-utils or olpc-update? -- // Bernie Inno

Re: NetworkManager time sync

2010-07-05 Thread C. Scott Ananian
On Mon, Jul 5, 2010 at 9:03 AM, Bernie Innocenti wrote: > On Mon, 2010-07-05 at 10:33 +0200, Tomeu Vizoso wrote: >> You mean a script placed in /etc/NetworkManager/dispatcher.d/ ? > > Yes, and then invoke hwclock --systohc. > > I was just hoping to find something already written, tested and packag

Re: NetworkManager time sync

2010-07-05 Thread Tomeu Vizoso
On 07/04/2010 12:59 AM, Bernie Innocenti wrote: > Dan, > > we don't have any way to synchronize the clock on the XO... I'd rather > avoid running ntp all the time as it wastes 2MB of RSS. Does > NetworkManager provide a service to automatically call ntpdate when the > interface goes up? You mean a

Re: NetworkManager time sync

2010-07-05 Thread Bernie Innocenti
On Mon, 2010-07-05 at 10:33 +0200, Tomeu Vizoso wrote: > You mean a script placed in /etc/NetworkManager/dispatcher.d/ ? Yes, and then invoke hwclock --systohc. I was just hoping to find something already written, tested and packaged nicely so we could use it both on the XO and SoaS. -- // B

Re: NetworkManager time sync

2010-07-05 Thread Esteban Bordon
You have to put a script calling ntpdate in /etc/NetworkManager/dispatcher.d/ regards, Esteban. 2010/7/3 Bernie Innocenti > Dan, > > we don't have any way to synchronize the clock on the XO... I'd rather > avoid running ntp all the time as it wastes 2MB of RSS. Does > NetworkManager provide a

NetworkManager time sync

2010-07-03 Thread Bernie Innocenti
Dan, we don't have any way to synchronize the clock on the XO... I'd rather avoid running ntp all the time as it wastes 2MB of RSS. Does NetworkManager provide a service to automatically call ntpdate when the interface goes up? -- // Bernie Innocenti - http://codewiz.org/ \X/ Sugar Labs