Skip to main content
Topic: How to set time, with internet and without internet? (Read 1066 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to set time, with internet and without internet?

I had my bios chip damaged yesterday. So wrong time=no internet allowed by sites. So no searching for commands in the internet. I had a hard time fixing it. There was this command I used, hwcl something. What was it?

Also if I have internet, how do I incorrect the time?

 

Re: How to set time, with internet and without internet?

Reply #1
date -s "9 SEP 2020 8:00:00"
hwclock --systohc

Or install ntp package and his service and run it.