kiddin9 / Kwrt

一分钟在线定制编译 X86/64, NanoPi R2S R4S R5S R6S, 斐讯 Phicomm N1 K2P, 树莓派 Raspberry Pi, 香橙派 Orange Pi, 红米AX6, 小米AX3600, 小米AX9000, 红米AX6S 小米AX3200, 红米AC2100, 华硕ASUS, 网件NETGEAR 等主流软硬路由
https://openwrt.ai
MIT License
7.48k stars 2.99k forks source link

System date and time failure after sudden power cut #949

Open xenstar opened 2 years ago

xenstar commented 2 years ago

Hello

I have an R2S device that I set up in Indonesia and due to load-shedding, the device will also have a power cut.

Once the power is back, and R2S starts, I notice the Bypass app and Adguard can't stop automatically, because the system time is reset to 2016.

image

So to fix this issue, I have to click on sync with the browser, then save and apply.

Then go to Adguard Home, click save and apply, then adguard home will start.

Then I go to bypass, change to another server, and click save and apply, then bypass starts running. (Because if system time is mismatch, TLS will not work)

xenstar commented 2 years ago

Or maybe you have to write a code that it can directly connect with internet e.g ntp.aliyun.com or time.google.com like how op.supes.top is connected everytime.