What's new

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.
 
Similar threads
Thread starter Title Forum Replies Date
J Auto mounting internal microSD card of the RT-N66U ? ASUS N Routers & Adapters 5

Similar 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