What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Auto start of ntpd for router without WAN

srinivasvaradaraj

Regular Contributor
I have a quick question. I have an N66U that is hooked up in a router mode but is acting as an AP only. The router has the modem connected to the LAN port and DHCP is off on the router itself. The only issue I have is that the router doesn't sync time automatically on startup. I have to manually go to administration > system > apply for it to restart time. The following message is then recorded in the logs and time syncs correctly. I was wondering if there was a way to kick start this at startup on stock firmware.

notify_rc : restart_time

Thanks.
 
I have a quick question. I have an N66U that is hooked up in a router mode but is acting as an AP only. The router has the modem connected to the LAN port and DHCP is off on the router itself. The only issue I have is that the router doesn't sync time automatically on startup. I have to manually go to administration > system > apply for it to restart time. The following message is then recorded in the logs and time syncs correctly. I was wondering if there was a way to kick start this at startup on stock firmware.

notify_rc : restart_time

Thanks.

The original firmware doesn't offer a user interface to manually restart services. You could however run ntpclient yourself to set your device's clock.

Code:
ntpclient -h pool.ntp.org -s

Also, the original firmware lacks any official way to run your own commands at boot time.
 
Indeed, that's what I thought, I was wondering if the rc_ scripts detection was based on WAN IP being present or WAN port having a true link or if its just the presence of default route. Just curious.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top