Skip to content
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

NTP does not work in ImmortalWrt 23.05.4 #1352

Open
1 task done
hrbustgithub opened this issue Oct 12, 2024 · 3 comments
Open
1 task done

NTP does not work in ImmortalWrt 23.05.4 #1352

hrbustgithub opened this issue Oct 12, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@hrbustgithub
Copy link

hrbustgithub commented Oct 12, 2024

Describe the bug

The default firmware does not include the program ntpd. After opkg install ntpd, the logs report an error.

Sat Sep 28 01:02:19 2024 user.err : jail: failed to load dependencies
Sat Sep 28 01:02:19 2024 daemon.warn odhcpd[1710]: No default route present, setting ra_lifetime to zero!
Sat Sep 28 01:02:20 2024 daemon.notice ntpd[1880]: ntpd exiting on signal 15 (Terminated)
Sat Sep 28 01:02:20 2024 daemon.notice ntpd[3547]: ntpd [email protected] Sun Sep 29 04:17:17 UTC 2024 (1): Starting
Sat Sep 28 01:02:20 2024 daemon.notice ntpd[3547]: Command line: /sbin/ntpd -g -u ntp:ntp -p /var/run/ntpd.pid -n -c /var/etc/ntpd.conf
Sat Sep 28 01:02:20 2024 daemon.notice ntpd[3547]: ----------------------------------------------------
Sat Sep 28 01:02:20 2024 daemon.notice ntpd[3547]: ntp-4 is maintained by Network Time Foundation,
Sat Sep 28 01:02:20 2024 daemon.notice ntpd[3547]: Inc. (NTF), a non-profit 501(c)(3) public-benefit
Sat Sep 28 01:02:20 2024 daemon.notice ntpd[3547]: corporation. Support and training for ntp-4 are
Sat Sep 28 01:02:20 2024 daemon.notice ntpd[3547]: available at https://www.nwtime.org/support
Sat Sep 28 01:02:20 2024 daemon.notice ntpd[3547]: ----------------------------------------------------
Sat Sep 28 01:02:20 2024 daemon.notice ntpd[3547]: DEBUG behavior is enabled - a violation of any
Sat Sep 28 01:02:20 2024 daemon.notice ntpd[3547]: diagnostic assertion will cause ntpd to abort
Sat Sep 28 01:02:20 2024 daemon.info ntpd[3547]: proto: precision = 6.998 usec (-17)
Sat Sep 28 01:02:20 2024 daemon.info ntpd[3547]: basedate set to 2024-09-17
Sat Sep 28 01:02:20 2024 daemon.info ntpd[3547]: gps base set to 2024-09-22 (week 2333)
Sat Sep 28 01:02:21 2024 user.err : jail: failed to load dependencies
Sat Sep 28 01:02:21 2024 daemon.info ntpd[3547]: Listen and drop on 0 v6wildcard [::]:123
Sat Sep 28 01:02:21 2024 daemon.info ntpd[3547]: Listen and drop on 1 v4wildcard 0.0.0.0:123
Sat Sep 28 01:02:21 2024 daemon.info ntpd[3547]: Listen normally on 2 lo 127.0.0.1:123
Sat Sep 28 01:02:21 2024 daemon.info ntpd[3547]: Listen normally on 3 wan 10.35.35.3:123
Sat Sep 28 01:02:21 2024 daemon.info ntpd[3547]: Listen normally on 4 br-lan 192.168.90.1:123
Sat Sep 28 01:02:21 2024 daemon.info ntpd[3547]: Listen normally on 5 lo [::1]:123
Sat Sep 28 01:02:21 2024 daemon.info ntpd[3547]: Listen normally on 6 eth0 [fe80::2276:93ff:fe53:bd47%2]:123
Sat Sep 28 01:02:21 2024 daemon.info ntpd[3547]: Listen normally on 7 wan [fe80::2276:93ff:fe53:bd49%7]:123
Sat Sep 28 01:02:21 2024 daemon.info ntpd[3547]: Listen normally on 8 br-lan [fd3d::1]:123
Sat Sep 28 01:02:21 2024 daemon.info ntpd[3547]: Listen normally on 9 br-lan [fe80::2276:93ff:fe53:bd47%11]:123
Sat Sep 28 01:02:21 2024 daemon.info ntpd[3547]: Listen normally on 10 phy1-ap0 [fe80::2276:93ff:fe53:bd48%12]:123
Sat Sep 28 01:02:21 2024 daemon.info ntpd[3547]: Listen normally on 11 phy0-ap0 [fe80::2276:93ff:fe53:bd46%13]:123
Sat Sep 28 01:02:21 2024 daemon.info ntpd[3547]: Listening on routing socket on fd immortalwrt/immortalwrt#60 for interface updates
Sat Sep 28 01:02:21 2024 daemon.info ntpd[3547]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Sat Sep 28 01:02:21 2024 daemon.info ntpd[3547]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized

ImmortalWrt version

r28061-399f9a1db3

ImmortalWrt release

23.05.4

ImmortalWrt target/subtarget

ramips/mt7621

Device

D-Team Newifi D2

Image kind

Official downloaded image

Steps to reproduce

  1. download the 23.05.4 bin file for D-Team Newifi D2
  2. enter breed and flash bin
  3. reboot device
  4. opkg update and install ntpd.
  5. the error occurs.

Actual behaviour

Expected behaviour

No response

Additional info

No response

Diffconfig

No response

Terms

  • I am reporting an issue for ImmortalWrt, not an unsupported fork.
@hrbustgithub hrbustgithub added the bug Something isn't working label Oct 12, 2024
@1715173329 1715173329 transferred this issue from immortalwrt/immortalwrt Oct 12, 2024
@1715173329
Copy link
Member

ntpd is shipped by busybox by default and you don't need to install any package. The ntpd package is from ISC ntpd which is maintained by upstream OpenWrt. You should check if upstream OpenWrt has the same issue and create an issue there.

@hrbustgithub
Copy link
Author

Thank you very much. But it is true that ntpd does not exist in the list of applications in the default firmware bin. when I get back from my trip I'll test the upstream Openwrt.

@1715173329
Copy link
Member

Opkg list? It won't show up there as it's from busybox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants