Hi,
i've tried to get an ntp server running on the router.
when the server runs a while i get:
Oct 9 21:57:47 (none) syslog.info -- MARK --
Oct 9 21:58:03 (none) kern.info ntpd[2367]: adjusting local clock by 4.410640s
Oct 9 21:58:34 (none) kern.info ntpd[2367]: adjusting local clock by 4.407322s
Oct 9 21:59:04 (none) kern.info ntpd[2367]: adjusting local clock by 4.321437s
Oct 9 21:59:35 (none) kern.info ntpd[2367]: adjusting local clock by 4.458682s
Oct 9 22:03:38 (none) kern.info ntpd[2367]: adjusting local clock by 4.651436s
Oct 9 22:07:16 (none) kern.info dropbear[2353]: exit after auth (root): Exited normally
Oct 9 22:07:38 (none) kern.info ntpd[2367]: adjusting local clock by 4.819689s
Oct 9 22:11:41 (none) kern.info ntpd[2367]: adjusting local clock by 4.957727s
Oct 9 22:15:16 (none) kern.info ntpd[2367]: adjusting local clock by 4.989818s
Oct 9 22:17:48 (none) syslog.info -- MARK --
Oct 9 22:19:21 (none) kern.info ntpd[2367]: adjusting local clock by 5.048912s
Oct 9 22:20:49 (none) kern.info ntpd[2367]: adjusting local clock by 5.149886s
so like you see the time drift is getting larger, or it looks like the ntp server isn't setting the time..
The server i used is openntp, and it uses the adjtime systemcall. I googled a bit and found, that the most time functions on linux/mips are broken until 2.4.22.
So is it possible to build a current kernel? (and not the old 2.4.20?)