![]() |
How do I set the date and time on the phone? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: PostmarketOS on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=124) +---- Thread: How do I set the date and time on the phone? (/showthread.php?tid=9124) |
How do I set the date and time on the phone? - realrichardsharpe@gmail.com - 02-11-2020 There seems to be no app to do it under phosh. I tried date from the terminal but I got EPERM. Date said: 'date: can't set date: Operation not permitted. OK, sudo worked and then I was able to set the date, I think RE: How do I set the date and time on the phone? - quixote - 02-14-2020 I've been trying it using sudo. Seems to set the date and time for the session, but then even if I use Code: hwclock --systohc ![]() RE: How do I set the date and time on the phone? - pinerokc - 03-03-2020 (02-14-2020, 02:49 PM)quixote Wrote: I've been trying it using sudo. Seems to set the date and time for the session, but then even if I use After I manually set the time from a terminal command line: sudo date '2020-03-03 20:17' I changed the time zone to mine by replacing the symlink for /etc/localtime to change it from /usr/share/zoneinfo/Europe/Amsterdam to my time zone, EST: sudo rm /etc/localtime sudo ln -s /usr/share/zoneinfo/EST /etc/localtime That survived a reboot. HTH |