Ok, I ended up using timed at your suggestion. I never knew that was there. It's *MUCH* easier to use than NTP. And it works GREAT!
Here's how I did it, for anyone that is interested. I'm using local apps support. Of course there's really no reason to do this unless you're using local apps. 1) I copied /etc/localtime to /tftpboot/lts/ltsroot/etc/localtime so that my network boot nodes have the same timezone as the server (EDT). 2) I added the following line to my /etc/networks file: bootnet 192.168.16.0 3) I started the timed server (as the master): /usr/sbin/timed -M -n bootnet I also added it to my /etc/rc.d/rc.local so that it starts every time. 4) I copied the /etc/networks file to /tftpboot/lts/ltsroot/etc/networks. This way the network boot nodes have the same setup. 5) I added the following line to the rc.local file in the /tftpboot/lts/ltsroot/etc directory: /usr/sbin/timed -n bootnet This must be after the NFS directories are mounted, so it has a /usr/sbin/timed file to use. And that's it. Reboot the network boot node and it's all good in the hood. Both nodes have the same time & timezone. Thanks for the help everyone. I can die happy now. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 27, 2001 3:51 PM To: [EMAIL PROTECTED] Subject: [Ltsp-discuss] System time on network booted nodes Hi > First, I'm running LTSP 2.07 - please don't tell me I need to upgrade to > 2.09pre2. I just got everything else set up and working. Are you running local apps? If NO then nothing ever uses the local ws time. If YES then run timed which will keep the local ws synced to the server. I think rdate does the same thing. (don't know what time server it uses) I think ntptime is a bit heavyweight, but also does the same. > How do I set the time on a network booted node? I can't run the 'date' > command because there's no superuser. I can't put it in the rc.local startup > script since there's no way to get the current time. Why no superuser? eg from my /tft../ltd/../etc/inittab 1:35:respawn:/bin/sh -login How about telnet? > Also, when I run 'date' on the network booted node, I get the following: > > Thu Sep 27 09:57:03 /etc/localtime 2001 > > Now the /etc/localtime doesn't exist. I tried copying the /etc/localtime on > my boot node to /tftpboot/lts/ltsroot/etc/localtime and that makes it > display EDT instead on the network node, but the time doesn't match the time > in the BIOS. /etc/localtime must be the "localtime" file (which sets TZ) ie for Perth I use a file that says GMT+8 BIOS time depends on UTC or localtime. If UTC then biostime+TZ = wstime. > Ultimately, I'd like to have the network nodes have the same time as the > boot node. My application is dependent on the time being the same. Clearly differenciate time and timezone 08:00:00 Perthtime is 00:00:00 GMT James _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.openprojects.net _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.openprojects.net