Ubuntu: Clock problem when waking from suspend


When waking from suspend, time settings changes to manual, and time on my PC is sometimes 5 days from current time. That causes difficulties using time-related programs, such as chats... When I change to automatically after waking, after 10-15 minutes, time gets normal.

How can I fix this issue?

I'm using 16.04, but i had this problem on earlier versions too.


Install Network Time Protocol daemon and utility programs (ntp).

sudo apt install ntp fake-hwclock  

NTP, the Network Time Protocol, is used to keep computer clocks accurate by synchronizing them over the internet or a local network.

To set the hardware clock to the current system time by syncing the hardware clock with the system clock:

sudo hwclock -w  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »