Changing Plug system time

Support for your TonidoPlug
dglp
Veteran Tonidoid
Veteran Tonidoid
Posts: 61
Joined: Mon Feb 03, 2014 3:58 am

Changing Plug system time

Postby dglp » Tue Mar 24, 2015 1:27 pm

My TP seems to be 12 hours out of sync with local time.
Where can I adjust that clock?

marioscube
Guru Tonidoid
Guru Tonidoid
Posts: 341
Joined: Sat Apr 14, 2012 5:42 pm
Location: Netherlands

Re: Changing Plug system time

Postby marioscube » Sat Mar 28, 2015 10:11 pm

login to your plug with http://IP:10001

then goto Tonidoplug Admin (in dropdown user menu)

login

on the first page you probably have to change the timezone

dglp
Veteran Tonidoid
Veteran Tonidoid
Posts: 61
Joined: Mon Feb 03, 2014 3:58 am

Re: Changing Plug system time

Postby dglp » Sun Mar 29, 2015 12:27 am

Thanks for that tip.
The time shown on that page is 15 hours earlier than the actual time (not counting the imminent change to BST!)

So it looks like I have to select a timezone on the other side of the planet in order to get the clock to read correctly.

???

And even that has no effect on the time stamp for the files I create.
It looks like the Admin panel has nothing to do with setting the time and date for new files created on Tonido.

marioscube
Guru Tonidoid
Guru Tonidoid
Posts: 341
Joined: Sat Apr 14, 2012 5:42 pm
Location: Netherlands

Re: Changing Plug system time

Postby marioscube » Sun Mar 29, 2015 7:15 pm

To change the time (and date) click on the calendar icon in the admin menu you visited (if you followed my post).

To check if the Tonidoplug Operating System (debian squeeze) uses the rift time:
- SSH into your plug (when on windows use putty, on Linux/OSX use terminal)
- login as root or other user
- type "date" at the command line

this link might then provide some help:
http://www.cyberciti.biz/faq/howto-set-date-time-from-linux-command-prompt/

dglp
Veteran Tonidoid
Veteran Tonidoid
Posts: 61
Joined: Mon Feb 03, 2014 3:58 am

Re: Changing Plug system time

Postby dglp » Sun Mar 29, 2015 7:37 pm

That works.

So, the difference between using the PuTTY/SSH method and the GUI TonidoPlug Admin Login method is that the former works, and the latter only mimics some aspect of working.

marioscube
Guru Tonidoid
Guru Tonidoid
Posts: 341
Joined: Sat Apr 14, 2012 5:42 pm
Location: Netherlands

Re: Changing Plug system time

Postby marioscube » Mon Mar 30, 2015 9:05 am

I usually "play system administrator" on my plug through SSH. I treat the Tonido software as a valuable add-on.

This has the advantage that I learn some linux. Handy when you need to troubleshoot your plug.

dglp
Veteran Tonidoid
Veteran Tonidoid
Posts: 61
Joined: Mon Feb 03, 2014 3:58 am

Re: Changing Plug system time

Postby dglp » Mon Mar 30, 2015 9:13 am

I'm tempted.. but have only got one plug, and rely on it working all the time!

dglp
Veteran Tonidoid
Veteran Tonidoid
Posts: 61
Joined: Mon Feb 03, 2014 3:58 am

Re: Changing Plug system time

Postby dglp » Sun Mar 26, 2017 7:29 pm

Still getting this date shift occasionally - and am giving myself a reminder about the format puTTY/Tonido requires to make it change.

Log in as root
Use the plug password

Tonido likes this format:
date -s "27 March 2017 01:10:00"

but doesn't like
timedatectl set-time '2015-11-23 08:10:40'

marioscube
Guru Tonidoid
Guru Tonidoid
Posts: 341
Joined: Sat Apr 14, 2012 5:42 pm
Location: Netherlands

Re: Changing Plug system time

Postby marioscube » Mon Mar 27, 2017 5:05 am

timedatectl is part of systemd-services package.

That package is not available on Debian Squeeze, the Tonidoplug2 OS. ;)

The Tonidoplug2 is just to old to support a newer version of Debian (with systemd).

peratar
Rookie Tonidoid
Rookie Tonidoid
Posts: 1
Joined: Mon Jun 12, 2017 7:34 am

Re: Changing Plug system time

Postby peratar » Wed Jun 14, 2017 3:49 pm

marioscube wrote:I usually "play system administrator" on my plug through SSH. I treat the Tonido software as a valuable add-on.

This has the advantage that I learn some linux. Handy when you need to troubleshoot your plug.


"Play system administrator" it is a very good phrase! :lol:


Return to “TonidoPlug Support”

Who is online

Users browsing this forum: Google [Bot] and 7 guests