NTP

Want new functionality in Bubba? Discuss it here.
Locked
moggleif
Posts: 4
Joined: 02 Aug 2007, 04:12

NTP

Post by moggleif » 18 Aug 2007, 15:05

NTP should be installed on shipment, of course as a cronjob.
Or will there be problem because worldwide costumers?

Maybe a webinterface to pick timezone and ntp-server?

Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Post by Cheeseboy » 18 Aug 2007, 15:28

Hi,

It would be nice if it came out of the box, but it wasn't that hard to remedy thanks to a helpful member of this forum...
http://excito.org/forum/viewtopic.php?t=132

Cheers

Nik

tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post by tor » 18 Aug 2007, 16:08

Hi moggleif and Cheeseboy,

Of course have we thought on providing NTP out of the box. The thing that stopped us however is that we cant be certain that a user has constant internet access. But either do it as a cron-job or as a service that has to be enabled in the UI could perhaps solve that problem.

/Tor
Co-founder OpenProducts and Ex Excito Developer

moggleif
Posts: 4
Joined: 02 Aug 2007, 04:12

Post by moggleif » 18 Aug 2007, 18:21

Cheeseboy: I have installed it and that's why I posted it as a feature request. I believe that everyone wants to know what time it is and like to have it automatically synchronized.

Tor: I think that 99% of the bubba customers has internet connection 24/7, don't you?

Ubi
Posts: 1547
Joined: 17 Jul 2007, 09:01

Post by Ubi » 19 Aug 2007, 04:38

Why run ntp as cron when the ntpd is perfectly capable of doing this for you in a much smarter fashion?

koenig
Posts: 1
Joined: 13 Aug 2007, 06:10

Post by koenig » 28 Aug 2007, 08:35

Cheeseboy wrote: It would be nice if it came out of the box, but it wasn't that hard to remedy thanks to a helpful member of this forum...
http://excito.org/forum/viewtopic.php?t=132
I tried that but the command

Code: Select all

apt-get ntpdate
failed on me; there was no such package. Do I have to add some repositories to the apt configuration or should this work just out of the box?
[/code]

tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post by tor » 29 Aug 2007, 02:09

HI koenig,

NTP is not present in our repository so you have to enable the Debian sources before you install NTP. (And dont forget to disable them afterwards)

A short howto on installing packages from Debian can be found here: http://excito.org/forum/viewtopic.php?t=421

/Tor
Co-founder OpenProducts and Ex Excito Developer

mountaindude
Posts: 57
Joined: 25 Aug 2007, 11:56

Post by mountaindude » 31 Aug 2007, 03:02

And I can confirm that the short instructions at http://excito.org/forum/viewtopic.php?t=132 worked like a charm...

But you do need to edit the Debian source files, like tor mentions.

dsp76
Posts: 76
Joined: 15 Apr 2007, 14:18

Post by dsp76 » 31 Aug 2007, 03:11

Hi,
Ubi wrote:Why run ntp as cron when the ntpd is perfectly capable of doing this for you in a much smarter fashion?
... could you please elaborate a bit more about it? Why is it smarter? :-)

Thanks
dsp76

Okay - explanation to myself: ntpd is a daemon constantly running, thus its not required to repeatedly issue a command.

Correct explanation?

Locked