Since I upgraded to 7.7.1, a few weeks ago, my Touch was pretty much on
time without the need for NTP. Then, last week, all of sudden, it lost
3 minutes. Time to reinstall NTP ;-)

I decided to update the tarballs with the latest fixes to the init
file, all the rest remained unchanged.

If you use the pre-compiled binary, here are the instructions :

Let's push ntpclient to the Touch.
--------------------------
scp ntp.touch-3.tar.gz [email protected]:/tmp
---------------------------

Now, we need to log to the Touch and finish the installation
-----------------------------------
ssh [email protected]
cd /
tar -xvzf /tmp/ntp.touch.tar.gz
-----------------------------------

At this point, we need to edit the config file to set a proper NTP
server. I personally use vi, you can also use any other means to do it.
Worse case, move the file to the hard drive, access it via notepad over
the samba windows share and put it back.
-------------
vi /etc/init.d/ntpclient
-------------

Now, just start ntp...
----------------
/etc/init.d/ntpclient start
----------------

If you want ntpclient to be automagically started at boot, you will
need to modify /etc/init.d/rcS and add something like :
----------------------------------------
# Start Samba
if [ -x /etc/init.d/samba ]; then
/etc/init.d/samba start &
fi

+ /etc/init.d/ntpclient start &

# Start squeezeplay
/etc/init.d/squeezeplay start
----------------------------------------

Have fun...

Jean


+-------------------------------------------------------------------+
|Filename: ntp.touch-3.tar.gz                                       |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=13054|
+-------------------------------------------------------------------+

-- 
jean2
------------------------------------------------------------------------
jean2's Profile: http://forums.slimdevices.com/member.php?userid=33946
View this thread: http://forums.slimdevices.com/showthread.php?t=87588

_______________________________________________
Touch mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/touch

Reply via email to