[Solved] No timezone and bad time in luci

At this point it looks like LuCI is just broken somehow

You shouldn't have to install anything else. Busybox should be handling all of this as far as I understand.

It works for you after installing ntpd so maybe busybox is broken too

root@OpenWrt:~# /etc/init.d/ntpd disable
root@OpenWrt:~# /etc/init.d/ntpd stop
root@OpenWrt:~# /etc/init.d/sysntpd enable
root@OpenWrt:~# /etc/init.d/sysntpd restart
root@OpenWrt:~# pgrep -f -a ntpd
2780 /bin/sh /etc/rc.common /etc/init.d/sysntpd running
root@OpenWrt:~# date
Sun Aug 23 08:41:12 UTC 2020

I have made two different build from scratch, based on the openwrt-19.07 branch...

I will look from master branch and also from the official image from snapshot...

ls -h -l $(opkg files busybox | grep -e ntpd)
root@OpenWrt:~# ls -l $(opkg files busybox | grep -e ntpd)
-rwxr-xr-x    1 root     root          2163 Aug 18 16:22 /etc/init.d/sysntpd
-rwxr-xr-x    1 root     root            45 Aug 18 16:22 /usr/sbin/ntpd-hotplug

19.07 branch is the most stable and has the least problems. Something strange happened to your build. I recommend you start over with

rm .config
make distclean
scripts/feeds update -a
scripts/feeds install -a
make menuconfig

instead of changing branch


for a more extreme reset of your build tree
git checkout v19.07.3
and then the rest

Recompile BusyBox with enabled ntpd applet:

# ls -l $(opkg files busybox | grep -e ntpd)
-rwxr-xr-x    1 root     root          2163 Aug 13 14:56 /etc/init.d/sysntpd
lrwxrwxrwx    1 root     root            17 Aug 23 11:49 /usr/sbin/ntpd -> ../../bin/busybox
-rwxr-xr-x    1 root     root            45 Aug 13 14:56 /usr/sbin/ntpd-hotplug
1 Like

Checking out the old v.19.07.3 release instead of the current HEAD of the 19.07 branch would be suboptimal. Newer fixes to 19.07 would be left out.

1 Like

I made a fresh rebuild and a complete flash...
Looks like my flashing error was the problem...
Fixed ! thanks for your time and your helpfull advices !

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.