[Rule-list] netdate

Marco Fioretti m.fioretti at inwind.it
Tue May 28 06:39:14 EEST 2002


netdate sounds really interesting.
Where does it come from? Does it exists in rpm form?

	Ciao,
		Marco Fioretti

----- Forwarded message from chris clark <clarkcd at myrealbox.com> -----


I've also modified:
/etc/sysconfig/network-scripts/ifup-post

to include the following:
-----------------------------------------------------------------
/usr/sbin/netdate -v tick.usno.navy.mil tock.usno.navy.mil
/sbin/clock -w

IP=`/sbin/ifconfig ppp0 | grep inet | cut -d ":" -f2 | cut -d " " -f1`
echo $DEVICE up IP $IP `date +"at %H:%M:%S %Z day %j of %Y   %s"`>>/var/log/ppplog

-----------------------------------------------------------------

netdate is only about 10k and it's nice to know my machine always has the correct time.


-- 
We have to pursue this subject of fun very seriously if we
want to stay competitive in the 21st century. -George Yeo,
     Singapore's Minister of State for Finance.

_______________________________________________
Rule Project HOME PAGE:  http://www.rule-project.org/rule/
Original Rule Development Site http://savannah.gnu.org/projects/rule/Rule-list at mail.freesoftware.fsf.org
http://mail.freesoftware.fsf.org/mailman/listinfo/rule-list



This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here