Well NTP works, run all this on the iphone, files above:


# pwd
/var/root/ntp/bin

# date
Mon Jan 21 23:39:25 EST 2008

# ./ntpdate ntp.ubuntu.com
21 Jan 23:39:32 ntpdate[377]: adjust time server 91.189.94.4 offset 0.059845 sec

# date
Mon Jan 21 23:39:37 EST 2008

# ./ntpd

# ./ntpdate ntp.ubuntu.com
21 Jan 23:40:03 ntpdate[381]: the NTP socket is in use, exiting

(good error, the daemon is running!)

# ./ntpq -c peers
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 europium.canoni 192.36.133.17    2 u   19   64    1  1183.54  516.585   0.004

Hurray!

# ps aux | grep ntp
root   380   0.0  0.0   273336    488  ??  Ss   11:39PM   0:00.03 ./ntpd


You will also need this in /etc/ntp.conf:


# cat /etc/ntp.conf | grep -v "^#"

driftfile /var/lib/ntp/ntp.drift
statsdir /var/log/ntpstats/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
server ntp.ubuntu.com
restrict default kod notrap nomodify nopeer noquery
restrict 127.0.0.1 nomodify