Cannot change Time in Linux cnc Wheezy 2.7

More
6 years 7 months ago #160502 by Dinuka_Shehan
Cannot change Time in Linux cnc Wheezy 2.7.
so unable to connect internet and fail to download new updates.
can you solve this.
I choose Asia local time when installing.

should I install latest version or reinstall using US time frame may resolve the problem?

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 7 months ago #160506 by BeagleBrainz
Replied by BeagleBrainz on topic Cannot change Time in Linux cnc Wheezy 2.7
setting time
wiki.debian.org/DateTime

You maybe pointing to wrong repos
wiki.debian.org/DebianWheezy

Please Log in to join the conversation.

More
6 years 7 months ago #160507 by Dinuka_Shehan
Set the time manually
When setting the system time manually using date directly, the required time specification format may be confusing (by POSIX convention has to be MMDDhhmmYYYY). However, when using the --set argument date accepts the date and time in many formats. You can read the man page of date, or use the example below for one possible and very useful format. The --set argument examples below is specified in the ISO 8601 standard's extended format as YYYY-MM-DD for Year-Month-DayOfMonth, and time of day HH:MM:SS using 24 hour clock. Leading zeros are significant.

date --set 1998-11-02
date --set 21:08:00


when type this code in terminal


date --set 2020-03-17
date --set 10:25:00

this message receive

date: cannot set date: Operation not permitted

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 7 months ago #160508 by BeagleBrainz
Replied by BeagleBrainz on topic Cannot change Time in Linux cnc Wheezy 2.7
try sudo date --set blahblahblahblah

Please Log in to join the conversation.

More
6 years 7 months ago #160515 by Dinuka_Shehan
sudo date --set 2020-03-17

sudo date --set 12:26:00


success
thank you BeaglrBrainz
can you help on ngcgui problem?

Please Log in to join the conversation.

More
6 years 7 months ago #160625 by bbsr_5a
there is a international standard
this is not used for many countries but it is better to keep it and inform user to type in like YYMMDD
or give a Example in textview that is Clear 2020-03-18 Where day is above 12

Please Log in to join the conversation.

More
6 years 7 months ago #160649 by Dinuka_Shehan
sudo date --set 12:26:00
Is for time change

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 7 months ago #160659 by BeagleBrainz
Replied by BeagleBrainz on topic Cannot change Time in Linux cnc Wheezy 2.7

bbsr_5a wrote: there is a international standard
this is not used for many countries but it is better to keep it and inform user to type in like YYMMDD
or give a Example in textview that is Clear 2020-03-18 Where day is above 12


Why didn’t you give a clear example of what you meant ?
Old Mate knew what I meant and got it done.

Please Log in to join the conversation.

Time to create page: 0.122 seconds
Powered by Kunena Forum