Template:FAQ/Questions/gumstix set its time

How does the gumstix set its time?
The gumstix platform uses ntpdate to set time from the ntp server that your DHCP server advertises, if your DHCP server advertises an ntp server.

If your DHCP server does not advertise an ntp server, then the gumstix does not set it's time unless you tell it to. In this case, the gumstix wil start ticking at midnight 1/1/1970 GMT each time you boot it.

The place it calls out to ntpdate by the way is in /usr/share/udhcpc/default.script

If you want to sets it's time from a network source when the network interface comes up, add an &quot;up&quot; line to /etc/network/interfaces rather than doing it in that dhcp-specific script.