Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Time and Date correctly using NTP service (timedatectl) #741

Open
heis2201 opened this issue Oct 5, 2016 · 7 comments
Open

Set Time and Date correctly using NTP service (timedatectl) #741

heis2201 opened this issue Oct 5, 2016 · 7 comments

Comments

@heis2201
Copy link
Contributor

heis2201 commented Oct 5, 2016

Looks like Volumio2 does not enable NTP by default.
Noticed that time was not set correctly, so had to run
timedatectl set-timezone America/New_York and then
timedatectl set-ntp true

Maybe we should include the first step as an input field in the GUI and then enable ntp.service by default

@macmpi
Copy link
Contributor

macmpi commented Oct 20, 2016

Would definitely be nice to have some UI in System pref panel to properly set date/time/timezone indeed, as great new timed features (Sleep and Alarm) are difficult to set without known time reference.
Seems UTC by default.
Thanks!

@xipmix
Copy link
Contributor

xipmix commented Oct 25, 2016

See also #373

@heis2201
Copy link
Contributor Author

heis2201 commented Oct 25, 2016

Not a programmer here, so likely that I don't get the challenge described in #373 but

timedatectl list-timezones > export-tz.txt gives you a complete list of available timezones that can be used with timedatectl set-timezone ...

Why not have a select box with this entire list and upon Save timezone the selected string is passed on to a little bash script that does

1.) sudo timedatectl set-timezone selected_string.
2.) timedatectl set-ntp true

@biva
Copy link

biva commented Mar 15, 2017

Hello, I tried the above operations ('timedatectl set-timezone Europe/Berlin'), but I get an error: "Failed to set time zone: Access denied"
I used the password "Volumio".
So I can't change the timezone: what am I doing wrong?
Thanks!

@macmpi
Copy link
Contributor

macmpi commented Mar 15, 2017

how about sudo dpkg-reconfigure tzdata?

@biva
Copy link

biva commented Mar 15, 2017

Great, that works! Thank you @macmpi !

@macmpi
Copy link
Contributor

macmpi commented Mar 24, 2017

but #741 (comment) is more systemd-friendly for setting this up in a future UI widget

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants