Clock sync when wireless enabled?


My clock keeps getting out of sync.


I got ntpdate from the angstrom repo and I run:


$sudo ntpdate time.nist.gov


Very often to re-synchronize. It would be nice if there was a way, every time I click the taskbar icon to enable wireless, that ntpdate is automatically run once a valid wireless connection is reached.
 
try out ntpd. That queries a timeserver regularly, and instead of changing the time, it changes the speed of the clock, so that after a few queries it should keep in sync.
 
Back