NSLU2-Linux
view · edit · print · history

OpenSlug.InstallOpenNtpd History

Hide minor edits - Show changes to markup

August 07, 2008, at 03:13 AM by stanley_p_miller -- added spelling change tzdata
Added line 73:

For 3.10 tzdata-america changed to tzdata-americas

May 15, 2007, at 07:59 AM by Caysho -- tzdata
Changed line 28 from:
  1. ipkg install tzdata-<your-continent> * Replaced timezone with tzdata - Caysho 04 April 2007
to:
  1. ipkg install tzdata-<your-continent>
April 04, 2007, at 11:35 AM by Caysho --
Changed line 18 from:
  1. ipkg install timezones-<your continent>
to:
  1. ipkg install tzdata-<your continent>
Changed lines 28-29 from:
  1. ipkg install timezones-<your-continent> * If possible use tzdata-<your continent>
  2. ipkg install tzdata-<your-continent> <== For 3.10 * Replaced timezone with tzdata for 3.10 - Caysho 04 April 2007
to:
  1. ipkg install tzdata-<your-continent> * Replaced timezone with tzdata - Caysho 04 April 2007
April 04, 2007, at 11:33 AM by Caysho -- More timezones > tzdata changes
Changed line 28 from:
  1. ipkg install timezones-<your-continent>
to:
  1. ipkg install timezones-<your-continent> * If possible use tzdata-<your continent>
Changed lines 61-71 from:

timezone-africa
timezone-america
timezone-antarctica
timezone-arctic
timezone-asia
timezone-atlantic
timezone-australia
timezone-europe
timezone-indian
timezone-pacific

to:

tzdata-africa
tzdata-america
tzdata-antarctica
tzdata-arctic
tzdata-asia
tzdata-atlantic
tzdata-australia
tzdata-europe
tzdata-indian
tzdata-pacific

April 04, 2007, at 11:19 AM by Caysho -- Changed timezone-<your continent> to tzdata-<your continent>
Changed line 29 from:
  1. ipkg install timezone-<your-continent> <== For 3.10
to:
  1. ipkg install tzdata-<your-continent> <== For 3.10 * Replaced timezone with tzdata for 3.10 - Caysho 04 April 2007
March 16, 2007, at 11:43 PM by mwester -- Declared obsolete, in hopes someone will fix
Added lines 3-8:

NOTE: This page is very out-of-date, and needs a thorough overhaul before it should be considered usable again. ~mwester 16 March 2007

March 13, 2007, at 11:43 AM by Michael -- Update ipkg install command for 3.10
Added line 23:
  1. ipkg install timezone-<your-continent> <== For 3.10
November 14, 2006, at 12:03 AM by Mark Glines -- the ipkg packages are timezone-foo, not timezones-foo
Changed lines 54-64 from:

timezones-africa
timezones-america
timezones-antarctica
timezones-arctic
timezones-asia
timezones-atlantic
timezones-australia
timezones-europe
timezones-indian
timezones-pacific

to:

timezone-africa
timezone-america
timezone-antarctica
timezone-arctic
timezone-asia
timezone-atlantic
timezone-australia
timezone-europe
timezone-indian
timezone-pacific

October 12, 2005, at 01:36 PM by Jelle -- note for native feed not working
Changed lines 65-77 from:

Your timezone entry can be found in the directory: /usr/share/zoneinfo/<your continent>/

to:

Your timezone entry can be found in the directory: /usr/share/zoneinfo/<your continent>/


wget: server returned error 404

At this moment (10/10/05), the ipkg install openntpd is kinda cracked (wrong feed), so to get it to work you should:

  1. mv /etc/ipkg/native-feed.conf /etc/ipkg/native-feed.conf.saved
  2. ipkg install openntpd
  3. mv /etc/ipkg/native-feed.conf.saved /etc/ipkg/native-feed.conf

- Jelle

September 24, 2005, at 07:55 PM by stanley_p_miller_qaz -- adding tickadj to the rcX.d directories
Changed lines 37-38 from:
to:

To get tickadj to be applied on my 2.5 system I had to run the command:

cd /etc/init.d
update-rc.d tickadj defaults

You can see the operation of the Openntpd program much better if you run it from the command line with these commands.

ps aux | grep ntpd (find any running copy of ntpd)
kill #### (where #### is the process id of the first ntpd listed)
repeat the above ps command to make sure all have been stopped
ntpd -d -s (run, set time immediately, show all output on the console)
Exit the running ntpd with a Ctrl-C


September 21, 2005, at 02:33 AM by stanley_p_miller_qaz -- added note on finding timezone
Changed lines 39-40 from:

timezones for this command:

to:

Continent and timezone for this command:

Added line 52:

Your timezone entry can be found in the directory: /usr/share/zoneinfo/<your continent>/

September 21, 2005, at 02:12 AM by stanley_p_miller_qaz -- added timezones
Changed lines 36-51 from:

-- oaks

to:

-- oaks

timezones for this command:

timezones-africa
timezones-america
timezones-antarctica
timezones-arctic
timezones-asia
timezones-atlantic
timezones-australia
timezones-europe
timezones-indian
timezones-pacific

September 10, 2005, at 01:11 PM by oaks --
Changed lines 32-34 from:

I had problems with time still drifting away after following this guide. The problem was the initial tickadj value of 10000. Adding the boot script 'tickadj' helped me. It takes the tick value from '\etc\defaults\rcS' (in my case 10101)

ln -s /etc/init.d/tickadj /etc/rcS.d/S20tickadj

to:

I had problems with time still drifting away after following this guide. The problem was the initial tickadj value of 10000. Adding the boot script 'tickadj' helped me. It takes the tick value from '\etc\default\rcS' (in my case 10101)

ln -s /etc/init.d/tickadj /etc/rcS.d/S20tickadj

-- oaks

September 10, 2005, at 01:11 PM by oaks -- tickadj boot script should be added
Changed lines 29-34 from:

If ntpd does not start, verify that you have a root-owned directory /var/shared/empty, and that you have a ntpd user in /etc/passwd with /var/shared/empty as homedir.

to:

If ntpd does not start, verify that you have a root-owned directory /var/shared/empty, and that you have a ntpd user in /etc/passwd with /var/shared/empty as homedir.


Note for OpenSlug 2.5-beta: I had problems with time still drifting away after following this guide. The problem was the initial tickadj value of 10000. Adding the boot script 'tickadj' helped me. It takes the tick value from '\etc\defaults\rcS' (in my case 10101)

ln -s /etc/init.d/tickadj /etc/rcS.d/S20tickadj

August 15, 2005, at 10:02 PM by blaster8 -- Making things a bit more informative
Changed lines 1-5 from:

Installing openntpd on OpenSlug!

OpenNTPD is very nice to run to keep your clock up to snuff. But installing it is going to be confusing if you do not do the correct steps.

You might want to check that your clock is somewhat accurate before installing, as openntpd can't adjust the clock in large steps. It adjusts the clock with ~0.1 seconds every 4.5 minutes, so if your clock is two minutes off it'll take ages before the clock is accurate. \\

to:

Installing OpenNTPD on OpenSlug!

OpenNTPD is very nice to run to keep your clock up to snuff. It's main advantages over the 'official' NTPD daemon is it does the same thing in one fifth as much code, meaning less RAM usage, and a much lower chance of security holes. But installing it is going to be confusing if you do not follow the correct steps.

You might want to check that your clock is somewhat accurate before installing, as OpenNTPD can't adjust the clock in large steps. It adjusts the clock with ~0.1 seconds every 4.5 minutes, so if your clock is two minutes off it'll take ages before the clock is accurate. \\

August 14, 2005, at 04:29 PM by repvik --
Changed lines 3-4 from:

OpenNTPD is very nice to run to keep your clock up to snuff. But installing it is going to be confusing if you do not do the correct steps:

to:

OpenNTPD is very nice to run to keep your clock up to snuff. But installing it is going to be confusing if you do not do the correct steps.

You might want to check that your clock is somewhat accurate before installing, as openntpd can't adjust the clock in large steps. It adjusts the clock with ~0.1 seconds every 4.5 minutes, so if your clock is two minutes off it'll take ages before the clock is accurate.
$ date MMDDHHMMCCYY (Example: 080514002005, for 14:00, the 5th of August 2005)

Deleted line 16:
Added line 19:
Deleted line 26:
August 14, 2005, at 04:22 PM by repvik --
Added line 11:
  1. hwclock --systohc
Changed lines 22-23 from:
to:
  1. hwclock --systohc
August 14, 2005, at 03:24 PM by repvik --
Changed line 19 from:
  1. mkdir /var/shared ; mkdir /var/shared/empty
to:
  1. unset TZ (Or reboot. TZ will not be set once /etc/localtime exists)
August 14, 2005, at 01:10 PM by blaster8 -- Added an extra step to the 2.6-beta instructions
Added line 19:
  1. mkdir /var/shared ; mkdir /var/shared/empty
August 13, 2005, at 05:18 PM by benny -- correction symlink command (forgot /etc/localtime)
Changed line 9 from:
  1. ln -s /usr/share/zoneinfo/<your continent>/<Your timezone>
to:
  1. ln -s /usr/share/zoneinfo/<your continent>/<Your timezone> /etc/localtime
Changed line 18 from:
  1. ln -s /usr/share/zoneinfo/<your continent>/<Your timezone>
to:
  1. ln -s /usr/share/zoneinfo/<your continent>/<Your timezone> /etc/localtime
August 13, 2005, at 04:16 PM by repvik --
Changed lines 11-12 from:
to:
  1. reboot
August 13, 2005, at 04:15 PM by repvik --
Changed lines 3-4 from:

OpenNTPD? is very nice to run to keep your clock up to snuff. But installing it is going to be confusing if you do not do the correct steps:

to:

OpenNTPD is very nice to run to keep your clock up to snuff. But installing it is going to be confusing if you do not do the correct steps:

August 13, 2005, at 04:01 PM by repvik --
Deleted line 7:
  1. ipkg install openntpd
Changed lines 10-11 from:
  1. reboot
to:
  1. ipkg install openntpd
Deleted line 15:
  1. ipkg install openntpd
Changed lines 18-19 from:
  1. reboot
to:
  1. ipkg install openntpd
August 12, 2005, at 07:07 PM by blaster8 -- Minor cleanup (will add so more later)
Changed lines 3-4 from:

openntpd is very nice to run to keep your clock up to snuff. But installing it is going to be confusing if you do not do the correct steps:

to:

OpenNTPD? is very nice to run to keep your clock up to snuff. But installing it is going to be confusing if you do not do the correct steps:

Changed lines 15-16 from:

For OpenSlug >2.6-beta

to:

For OpenSlug >2.6-beta (or HEAD)

Changed line 24 from:

If ntpd does not start, verify that you have a root-owned directory /var/shared/empty, and that you have a ntpd user in /etc/passwd with /var/shared/empty as homedir.

to:

If ntpd does not start, verify that you have a root-owned directory /var/shared/empty, and that you have a ntpd user in /etc/passwd with /var/shared/empty as homedir.

August 12, 2005, at 02:02 PM by repvik --
Changed lines 1-2 from:

Installing OpenNTPd? on OpenSlug!

to:

Installing openntpd on OpenSlug!

August 12, 2005, at 02:02 PM by repvik -- Explain the install a bit
Added lines 1-24:

Installing OpenNTPd? on OpenSlug!

openntpd is very nice to run to keep your clock up to snuff. But installing it is going to be confusing if you do not do the correct steps:

For OpenSlug 2.3-beta, 2.4-beta, 2.5-beta:

  1. ipkg install ntp-tickadj
  2. ipkg install openntpd
  3. ipkg install timezones-<your continent>
  4. ln -s /usr/share/zoneinfo/<your continent>/<Your timezone>
  5. reboot

Verify that ntpd is running (ps aux)

For OpenSlug >2.6-beta

  1. ipkg install openntpd
  2. ipkg install timezones-<your-continent>
  3. ln -s /usr/share/zoneinfo/<your continent>/<Your timezone>
  4. reboot

Verify that ntpd is running (ps aux)

If ntpd does not start, verify that you have a root-owned directory /var/shared/empty, and that you have a ntpd user in /etc/passwd with /var/shared/empty as homedir.

view · edit · print · history · Last edited by stanley_p_miller.
Based on work by Caysho, mwester, Michael, Mark Glines, Jelle, stanley_p_miller_qaz, oaks, blaster8, repvik, and benny.
Originally by repvik.
Page last modified on August 07, 2008, at 03:13 AM