I am running busy box on an embedded platform. I would like to set the date on the box properly each time I reboot the hardware. I have no way to save the time persistently, so am reduced to setting the time each time. I have LAN connectivity for it, but no SSH. My current hack for this is to redirect the output of 'date' to a file on my PC, access that file from my hardware platform through tftp, and then somehow parse the file, use its contents and then to set the date. I have no idea how to get the string from the file and then set it using the 'date' command. Any help would be appreciated. Any other way to set the date would be get. I have tried using ntpd, but that fails due to lack of internet connectivity 
Trying to set date on a Linux based machine from another machine
date;busybox
Using a cron job, you could write a file to your /tftp directory with a granularity of 1 minute.* * * * * date +%m%d%H%M%Y.%S > /tftp/currdate.txt 2>/dev/nullThe contents of that file are a single value, which is formatted conveniently in the same format the date command needs to set the date/time.bash$ cat currdate.txt102600052011.00On the busybox side of things, you could just tftpget the file, and process itcat currdate.txt | while read date; do    date $datedoneIf HTTP is an option, you could set up a php script that just returned the date when called, and have your script on the busybox side poll that URL, and process the result.  The granularity of the date would be closer, in that case.With TFTP, you'll be within 1 minute.  Hopefully that's close enough.