SmallNetBuilder Forums
Go Back   SmallNetBuilder Forums > Wireless Networking > ASUS Wireless > ASUS N Routers & Adapters

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-06-2013, 04:51 AM
axti axti is offline
New Member
 
Join Date: Feb 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
axti is just starting out
Default NTP and WiFi scheduling issue

Hi,
NTP (network time protocol) and WiFi scheduling do not work on my RT-N66U.

The RT-N66U is configured as WiFi-AP (i.e. router disabled), connected to a Cisco cable modem. I configured a port forwarding rule in the Cisco (port 123) to allow NTP traffic to reach the RT-N66U at local LAN IP (fixed IP, 192.168.0.9). Not sure that this is really required, but I think it doesn't hurt.

Internet connection for computers connected to the RT-N66U works fine, no problems at all.

If the RT-N66U is turned on (or at every re-boot), time/date is lost and reset to Jan 1 2011. This seems to be common behaviour, according to information I got through various internet forums. But then NTP should pick the correct time/date - which does not work.
I configured pool.ntp.org as the ntp server (I also tried others, even fixed IP addresses). Even if I hit "Apply" on that page, nothing happens - time/date stays at Jan 1 2011. I also extended the Cisco's port forwarding rule to ALL ports for test purposes - no change.
I can set the time/date through telnet, but this is only a temporary workaround until next re-boot. I really need ntp to schedule WiFi...
Scheduling WiFi does not work also. The time periods I configure through the corresponding web page have no effect, i.e. the WiFi will not turn off at the configured time (time/date set correctly through telnet at this time).
Maybe this is a side effect of the ntp issue, maybe time/date set through telnet is not used for WiFi scheduling - I don't know.

WiFi schedulue DID work a couple of days ago when the RT-N66U was configured as router (at that time I had a different cable modem without routing function). So maybe WiFi scheduling is only an issue when used as WiFi-AP.

Firmware used: 3.0.0.4.270 and 3.0.0.4.260

Any help would be appreciated!

Thanks.

axti
Reply With Quote
  #2  
Old 02-06-2013, 06:48 AM
Advis Advis is offline
New Member
 
Join Date: Jan 2013
Posts: 7
Thanks: 3
Thanked 1 Time in 1 Post
Advis is just starting out
Default

I can vouch for NTP working in router mode under firmware 3.0.0.4.260. I have never used WiFi scheduling though. From what you describe it almost certainly sounds like a bug in ASUSWRT when you are in AP only mode.

I would contact ASUS support and describe what you have written in this thread to them. Hopefully they will agree and get a fix in a future release.

The only other thing I can suggest you try is the Merlin firmware available through the relevant section in this forum. The author updated the Busybox component to deal with a daylight savings problem with NTP so you might get lucky and get it fixed through that.
Reply With Quote
  #3  
Old 02-06-2013, 08:40 AM
axti axti is offline
New Member
 
Join Date: Feb 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
axti is just starting out
Default

Thanks for replying, Advis.

Just found

http://forums.smallnetbuilder.com/sh...22&postcount=2

Quote:
Originally Posted by RMerlin View Post
THe router has no internal clock. Therefore the date will always be back to December 31st after a reboot, until the time the router can establish an Internet connection to setup the time in its OS through NTP. This only works in Router mode however, it won't work in AP mode where there is no WAN interface.
This confirms that ntp is working only in router mode, not AP mode.

Is this also true for Asuswrt-Merlin firmware...? And what about WiFi scheduling? Does it work with Asuswrt-Merlin?

I think I need to give Asuswrt-Merlin a try...

axti
Reply With Quote
  #4  
Old 02-06-2013, 10:06 AM
RMerlin's Avatar
RMerlin RMerlin is offline
Very Senior Member
 
Join Date: Apr 2012
Location: Canada
Posts: 10,129
Thanks: 54
Thanked 5,608 Times in 2,304 Posts
RMerlin is just starting out
Default

Quote:
Originally Posted by axti View Post
Thanks for replying, Advis.

Just found

http://forums.smallnetbuilder.com/sh...22&postcount=2



This confirms that ntp is working only in router mode, not AP mode.

Is this also true for Asuswrt-Merlin firmware...? And what about WiFi scheduling? Does it work with Asuswrt-Merlin?

I think I need to give Asuswrt-Merlin a try...

axti
Scheduling requires working NTP (for obvious reasons, unless you still live in December 2011 )

I haven't changed anything there. I might eventually look at making NTP work while in AP mode, but no promises.
__________________
Asuswrt-Merlin: Customized firmware for Asus routers
Github: github.com/RMerl - Twitter: RMerlinDev
See the sticky post for more info.
Reply With Quote
  #5  
Old 02-06-2013, 10:21 AM
axti axti is offline
New Member
 
Join Date: Feb 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
axti is just starting out
Default

Quote:
Originally Posted by RMerlin View Post
Scheduling requires working NTP (for obvious reasons, unless you still live in December 2011 ).
Hm - for me, scheduling should work as soon as the time/date is set correctly, either by NTP or manually (through telnet, then "date -s YYYY.MM.DD-hh:mm:ss").

Is there anything wrong how I set the time manually? I'm no Linux expert...do I need root access to set time/date to make WiFi scheduling working?

Do you know some more details why NTP is not working in AP mode? The process is up and running (ntpclient, checked by ps command) and the box has internet access...

Thanks.

axti
Reply With Quote
  #6  
Old 02-06-2013, 12:25 PM
RMerlin's Avatar
RMerlin RMerlin is offline
Very Senior Member
 
Join Date: Apr 2012
Location: Canada
Posts: 10,129
Thanks: 54
Thanked 5,608 Times in 2,304 Posts
RMerlin is just starting out
Default

Quote:
Originally Posted by axti View Post
Hm - for me, scheduling should work as soon as the time/date is set correctly, either by NTP or manually (through telnet, then "date -s YYYY.MM.DD-hh:mm:ss").

Is there anything wrong how I set the time manually? I'm no Linux expert...do I need root access to set time/date to make WiFi scheduling working?

Do you know some more details why NTP is not working in AP mode? The process is up and running (ntpclient, checked by ps command) and the box has internet access...

Thanks.

axti
It's just how Asus decided to implement it in the current FW architecture. I haven't looked close enough yet to see if there was a technical reason for it to work that way, or if it would be possible to change.

AP mode related stuff hasn't been a priority for me at this point. I have focused my time on the router mode as this is the most commonly used configuration. Maybe at some later point I'll have time to take a closer look at it.
__________________
Asuswrt-Merlin: Customized firmware for Asus routers
Github: github.com/RMerl - Twitter: RMerlinDev
See the sticky post for more info.
Reply With Quote
  #7  
Old 02-08-2013, 03:16 AM
axti axti is offline
New Member
 
Join Date: Feb 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
axti is just starting out
Default

Update:

ASUS has responded to my request:

They say they tested the function and can not confirm my problem. The device is considered defect and I should replace it...

According to what I've learned from RMerlin, ASUS does not seem to know their devices very well...

axti
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 03:01 AM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  353
stevech  150
KGB7  119
Kel-L  105
sfx2000  98
azazel1024  98
john9527  83
sinshiva  78
fistv  74
F5ing  69
RMerlin  5607
stevech  329
ryzhov_al  266
TeHashX  217
L&LD  192
RogerSC  190
sinshiva  143
joegreat  127
jlake  122
sfx2000  121
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  48993
Old [Fork]...  21523
Old Asus locking...  10561
Old ASUS...  8664
Old Asuswrt-Merli...  3790
Old Asuswrt-Merli...  3093
Old Thinking of...  2286
Old 376.44 -...  1824
Old [ALERT]...  1802
Old MERLIN:...  1767
Old Asuswrt-Merli...  224
Old [Fork]...  140
Old Asus locking...  125
Old Connection...  58
Old [HOW TO]...  50
Old ASUS...  50
Old 376.44 -...  40
Old Use the same...  35
Old Asuswrt-Merli...  32
Old Sticking...  30


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2006-2014 Pudai LLC All Rights Reserved.