the Real Time Clock (RTC) or CMOS clock) stores the values of: Year, Month, Day, Hour, Minute, and Seconds.It does not have the ability to store the time standard (localtime or UTC), nor whether DST is used. the software clock) keeps track of: time, time zone, and DST if applicable.
The Linux kernel keeps track of the system clock by counting timer interrupts.
The --set argument examples below is specified in the ISO 8601 standard's extended format as YYYY-MM-DD for Year-Month-Day Of Month, and time of day HH: MM: SS using 24 hour clock. To set the time automatically you need access to an NTP server.
Your local network may provide such a server but most people need to access an NTP server via the internet.
It updates normally with a (Ralink based) dongle though.
I only got as far as identifying that UDP communication (used to update NTP) was not working as expected. 16 u - 1024 0 0.000 0.000 [email protected]:~ $ sudo ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== ntp1.karneval.c 1.213 2 u 19 64 357 50.221 1.170 0.706 *stratum2-2. 1.71 2 u 55 64 377 49.913 -2.280 1.722 -s1de 1.36 3 u 49 64 377 46.850 -3.015 0.606 hu 1.108 2 u 25 64 377 68.430 2.838 0.820I left Pi 2 with official dongle (Broadcom chip) on for 5 hours and time is still incorrect. I have a freeze after sudo ntpd -qg when using official dongle.