I see there is a NTP server (pool.ntp.org) but no obvious way to cause it to update. After 4 hours, I'd like the time & date to not be 3 years old.
marsha
Assuming that the router is connected to the WAN, once you reboot the router it should automatically go out and grab the time. The other option is to set the time manually through the command-line.
Well, it's in AP mode so nothing is connected to the WAN port. Does that affect the NTP action?
Is there a way to just sync the router's time to the PC time? would rather have it set by machine than set with the date command which would be (slightly) less accurate. many other network devices support sync to pc time. Maybe I just don't understand the command to type. haven't been successful with rdate.
Well, it's in AP mode so nothing is connected to the WAN port. Does that affect the NTP action?
I was under the impression that you are supposed to connect the Ethernet cable to the wan port when in ap mode??
The computer would need to run an ntp server.
The syntax for the "date" command looks like this:
Code:date -s "2013-09-20 12:00"
Pardon me for being thick headed, I'm trying to understand what it's doing as well as how to make it work. I'm running win XP home and as far as I know I do not have an ntp server running, maybe it's built in and background. I set the address for the ntp server to be the ip address of my computer and clicked on the NTP-link for setting ntp date. The router is stand alone and is just running a lan, no connect to the internet. The NTP-Link button tried to pull up a page it couldn't connect to and failed. Later on I set my network card with static ip address and manually set the gateway to point to the router in the laptop's tcp settings as I was dinking with the firmware and couldn't access the router. Still unable to connect I power cycled the router, and to my surprise it did poll my laptop and set the time during it's bootup. It will NOT set the time if I have dhcp enabled on the laptop, but since the ip address and gateway was static, the router was able to set the time. It seems to me that whatever the router was doing during bootup should be able to be duplicated to get the router to set the time to the computer currently connected to the admin account...... or at the very least type something into Administration/console to get it to set the date from the locally connected computer. It seems as if it works under specific circumstances, I just don't know how to trip those circumstances at will without disabling dhcp on the laptop and power cycle the router. A simple power cycle of the router will not allow the time to be set if dhcp is enabled on the laptop, even if the laptop was previously connected.
I don't know or understand all the little parts involved, but I would like to. Hopefully I've provided enough information to point out where my understanding is lacking. I know on IRC (internet relay chat) there's a ctcp ping to get the clients time. Maybe it's using the same type of ping and then manipulating the reply to conform with date -s syntax. I wouldn't know how to create that ctcp ping from linux.
Can I tell you guys something? This issue is the main reason I have not updated my firmware for a while. The problems I had trying to get the time and date right (including the strange DST settings) make the inconvenience of having to clear the nvram and re-enter all my setting pale into insignificance. This page either needs fields to enter the date/time manually or a button to force an NTP sync.
Something so basic should just not be this problematic.
There does not have to be a field, just a button so one can get the time from the server with a single click would do. IIRC even setting a local (UK) server was not sufficient. There was not a correct time zone that suited the UK; I had to use GMT (we are GMT +1 ATM) and some kindly-supplied DST settings from another user.The reason why having a field to manually enter the date and time is useless is that you would still need to relog to the webui after every single reboot to re-enter them. The router doesn't have an RTC, that's why it has to rely on NTP to obtain the correct date and time.
There does not have to be a field, just a button so one can get the time from the server with a single click would do. IIRC even setting a local (UK) server was not sufficient. There was not a correct time zone that suited the UK; I had to use GMT (we are GMT +1 ATM) and some kindly-supplied DST settings from another user.
Can I tell you guys something? This issue is the main reason I have not updated my firmware for a while. The problems I had trying to get the time and date right (including the strange DST settings) make the inconvenience of having to clear the nvram and re-enter all my setting pale into insignificance. This page either needs fields to enter the date/time manually or a button to force an NTP sync.
Something so basic should just not be this problematic.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!