Tuxas home pageOpenWrt NTP client script and OpenWrt package for setting system time from NTP servers for systems which do not have a crystal oscillator (but some happily drifting clock) and no battery backup.
An arbitrary number of NTP servers may be specified in the configuration file. On startup, the ntpclient init script picks a random server and sets up cron to run ntpclient -s frequently. In case of connection failure it randomly picks another server from the list and continues.
This package is basically the same as ntpclient, but does not provide rate.awk and adjtimex. This makes the package slightly smaller. The package provides a init script, instead of a hotplug script.
This package provides the same configuration file as ntpclient, and is compatible to the luci-app-ntpc web based configuration package.
This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has ABSOLUTELY NO WARRANTY.
Download the tarball containing all necessary sources for
your OpenWrt (Kamikaze) buildroot from here.
This will create your own ntpclient-noxtal ipk package.
For those, who just wish to test on top of an existing ntpclient
installation, here is the init script itself:
/etc/init.d/ntpclient
Copy this script to /etc/init.d/ntpclient and execute:
chmod +x /etc/init.d/ntpclient
rm /etc/hotplug.d/iface/20-ntpclient
rm /etc/config/ntpclient
/etc/init.d/ntpclient enable
reboot