Advertising disclosure. wickedpsyched.net has financial partnerships with online casino operators. Some pages include sponsored content, and we may earn a commission if you follow a link to a partner site. 18+ only. Please gamble responsibly.
Syncing the clock was oddly satisfying. Time is the easiest thing to lose track of at the casino, so turn on session reminders and decide in advance when you will stop, whatever the reels are doing.
| Attachment | Date | Size |
|---|---|---|
| ntp.tgz | 21/01/08 8:45 pm | 647.33 KB |
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