Setup ntp in AC Ryan

From wiki.breedveld.net
Jump to: navigation, search

Setup ntp to your local or external ntp server

ipkg-opt install ntp

Change Time Zone in /etc/profile

export TZ="MET-1METDST"

Change your ntp server in

/opt/etc/ntp/ntp.conf

To immediate sync after boot, add in /opt/etc/init.d/S77ntp before starting the ntp daemon

/opt/bin/ntpdate <your ntp server>

Make the init link for automatic startup

cd /etc/init.d 
mount -n -o remount,rw /
cp /opt/etc/init.d/S77ntp ./

Do not make a symlink, they are ignored in de startup script

Start manualy

/opt/etc/init.d/S77ntp

Check if it's working

ntpq -p