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
Tracking tkt for "set system time from browser time" [user devices bring IIAB clock up to date, e.g. when ntp & RTC not available] #1680
Comments
@tim-moody, to document optional disabling of this auto-time-fixing feature in http://FAQ.IIAB.IO, what should we write? @avni, please see the revised testing procedure @ iiab/iiab-admin-console#204 (comment) |
@avni please see Item 2.d.ii. in today's (May 30, 2019) http://minutes.iiab.io In short...we'd really like you to help make sure Randy Tate & all in Uganda are happy with IIAB's experimental new feature whereby RPi/IIAB servers' clocks are now auto-set by nearby iPhones, Androids, etc — this works when the IIAB is not using ntp i.e. truly offline — and the IIAB's clock appears more than 2 min behind the times etc. Note the RPi/IIAB's clock is never moved backward, only forward, per the current implementation. So there will occasionally be a risk that its clock will "permanently" jump ahead too many hours/days/years if a nearby phone has its clock set wrong (!?) So...after you've tested this feature (instructions @ #1680) please also try disabling the feature entirely as follows, e.g. if deployments/schools want a more unhackable-if-often-tardy clock:
RSVP @avni please if possible! Then we can document to http://FAQ.IIAB.IO with your impressions well prior to IIAB 7.0's release around June 20th. PS @tim-moody does Linux's |
@avni thanks for please testing the above on your new Raspberry Pi 4 Friday night (in ~48h from now) if you can! |
@avni can you follow the instructions @ iiab/iiab-admin-console#204 (comment) prior to IIAB 7.0's release, to test out & confirm that auto-sync'ing of RPi 4's clock works, when a nearby iPhone begins browsing? |
Did the 10 minute turn-off test today. Some interesting results. Prior to shutting off: After restarting, prior to browsing: After browsing: |
Useragent: AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Safari/605.1.15 |
Did another 10 minute test with iOS. Same results: after turning on: pi@box:~ $ date after accessing via iPhone iOS Safari: |
@avni thanks so much for having confirmed that RPi IIAB clocks are updated automatically by nearby (recent?) iPhones and MacBook both, when the standard browser on those client devices are used! If a mischievous kid abuses this feature (e.g. any kid can set the school's clock to 2030, or just an hour forward...saved by the bell ;) please note you can turn off this entire feature in http://box.lan/admin >
|
|
The following paragraph was just added to IIAB 7.0's DRAFT Release Notes:
|
any mobile devices can be tried. |
Small Correction: on Raspbian
@avni @tim-moody let's test this some day, just to be 100% sure! |
FYI @avni's evidence suggests that
Curious Aside: RPi's will almost always boot 17min past the hour, as a consequence of the above (: Ref: #1855 "Debug/fix fake-hwclock so that it records time properly on RPi shutdown?" |
@tim-moody does RPi's clock get updated by browsers coming in over Ethernet/localhost too? (Or just browsers coming in over WiFi?) |
I can't reproduce /etc/fake-hwclock.data failing to update with a reboot. As a data point could someone compare the behavior between reboot, shutdown, poweroff? |
any access to the page |
This design/operations tkt is very useful to help gather feedback on how "offline" communities are facing laggardly clock issues, with or without an RTC (real-time clock) installed. So I'm keeping it open and moving it to the IIAB 7.1 Milestone to help us keep refining this feature and its associated documentation. |
Certainly good enough for now! |
iiab/iiab-admin-console#204
Refs:
#71 Needless routines on Rpi (RTC, TZ)
#657 3 different RPi3 RTC's (DS3231) don't retain the time on IIAB 6.5/master
The text was updated successfully, but these errors were encountered: