• November 01, 2024, 02:27:34 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Problem with NTP setting (lost Time)  (Read 8841 times)

emanet

  • Level 1 Member
  • *
  • Posts: 4
Problem with NTP setting (lost Time)
« on: January 01, 2015, 11:44:28 PM »

Hello,
I have two routers DIR-655,
- 1x as host router connected to the modem
- 1x as AP (Access Point)

I set everything regarding this topic (http://forums.dlink.com/index.php?topic=40856.0) and works fine.

Currently I would like set NTP on both to maintain a correct time. The host router works fine but not the AP router...
I tried Dlink default NTP server, NTP of my NAS, but nothing work properly. The time is lost after a power supply switch off...

Firmware: 2.05B1

Have you an idea to fix this issue?

Thanks in advance!
Kind regards.
Logged

Kakashi::.

  • Level 3 Member
  • ***
  • Posts: 270
Re: Problem with NTP setting (lost Time)
« Reply #1 on: January 02, 2015, 12:27:34 AM »

The second router (set up in AP mode) won't be able to sync time using NTP.  This function works by sending the NTP request throught the WAN port, which in this configuration has no connectivity (otherwise you will be double NATing) you will need to set up time manually for this router in AP mode configuration.

Hope this helps!
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Problem with NTP setting (lost Time)
« Reply #2 on: January 02, 2015, 09:08:42 AM »

Link>Welcome!

I have found that you can temporarily connect the WAN port of the 2nd 655 router to the LAN port of the 1st 655 router and gain correct time, then disconnect the cable. However you'll loose correct time if the 2nd 655 is rebooted.  Or manually set the time on the 2nd 655 router.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

emanet

  • Level 1 Member
  • *
  • Posts: 4
Re: Problem with NTP setting (lost Time)
« Reply #3 on: January 04, 2015, 06:51:10 AM »

Thanks for your comments!
It is more clear for me...

But normally I can use the functionality NTP of my NAS...? and this case I don't need to have the second router connected on WAN port...

If you confirm, I will work harder to try to use my NAS as NTP host...
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Problem with NTP setting (lost Time)
« Reply #4 on: January 04, 2015, 10:08:39 AM »

The WAN port always needs to be used for any TIme or NTP fuctions.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

Kakashi::.

  • Level 3 Member
  • ***
  • Posts: 270
Re: Problem with NTP setting (lost Time)
« Reply #5 on: January 04, 2015, 04:51:36 PM »

Thanks for your comments!
It is more clear for me...

But normally I can use the functionality NTP of my NAS...? and this case I don't need to have the second router connected on WAN port...

If you confirm, I will work harder to try to use my NAS as NTP host...

Not sure if I understand correctly what you are asking, but in case you are asking about the configuration differences between the NAS and the 2nd router running in AP mode, the difference is simple,  the NAS only has a LAN (some may have two) port(s) which provides only one connection to the only network it's known to it, the Local Network, all traffic heading away from it's local network is sent to it's local gateway (which usually it's a router's IP address or a L3 switch Interface), in the other hand, the router setup in AP mode, although the configuration allows for it to be in the same network as the 1st router, (by link of their LAN ports), the LAN configuration lacks the ability to define a "Default Gateway", this due to the fact that its routing table is still well aware of its two different network interfaces (LAN and WAN) so, its default action for all traffic generated by it self for functions (like NTP) is to use it's own WAN port whenever it needs to sent traffic to the outside world.
If you by any chance have a NAS that provides a service to use as a Local NTP server, this also would only work for other network clients, but not the 2nd router configured in AP mode... for the same reasons explained above. 

I hope this makes it clear... if not, fire away your questions... I'll think of a better way of explaining it.
Logged

emanet

  • Level 1 Member
  • *
  • Posts: 4
Re: Problem with NTP setting (lost Time)
« Reply #6 on: May 05, 2015, 11:04:09 AM »

Thanks for your comments!
It is more clear for me...

But normally I can use the functionality NTP of my NAS...? and this case I don't need to have the second router connected on WAN port...

If you confirm, I will work harder to try to use my NAS as NTP host...

Not sure if I understand correctly what you are asking, but in case you are asking about the configuration differences between the NAS and the 2nd router running in AP mode, the difference is simple,  the NAS only has a LAN (some may have two) port(s) which provides only one connection to the only network it's known to it, the Local Network, all traffic heading away from it's local network is sent to it's local gateway (which usually it's a router's IP address or a L3 switch Interface), in the other hand, the router setup in AP mode, although the configuration allows for it to be in the same network as the 1st router, (by link of their LAN ports), the LAN configuration lacks the ability to define a "Default Gateway", this due to the fact that its routing table is still well aware of its two different network interfaces (LAN and WAN) so, its default action for all traffic generated by it self for functions (like NTP) is to use it's own WAN port whenever it needs to sent traffic to the outside world.
If you by any chance have a NAS that provides a service to use as a Local NTP server, this also would only work for other network clients, but not the 2nd router configured in AP mode... for the same reasons explained above. 

I hope this makes it clear... if not, fire away your questions... I'll think of a better way of explaining it.

Thanks for your comment.
I come back to you to try to go ahead with this request. Each time I lose power supply on my AP, I lose time... I lived with that, but it is wearying...

If I understood properly, my router set in AP (not connected with WAN), it cannot use NTP protocol to set automatically time?!
Somebody has an other solution to set automatically time?

Br,
Emanuel
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Problem with NTP setting (lost Time)
« Reply #7 on: May 05, 2015, 11:22:51 AM »

Correct, Time on the router when in AP mode relies on the use of the WAN port. If your main host router is using time, it should be able to get time. Time on AP mode router would not be considered critical as any time is passed thru the AP from the main host router or any WAN side time services, to the connected clients. If your only wanting to keep time on the AP mode router, well mainly you'll have to set it manually each time the AP is rebooted or power cycled.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

emanet

  • Level 1 Member
  • *
  • Posts: 4
Re: Problem with NTP setting (lost Time)
« Reply #8 on: May 05, 2015, 12:24:42 PM »

I use time on AP to manage Wireless ON during a period of day. It is not critical but wearying to set always the time manually...
Unfortunately, if there is not other way, I will do like that...

Thanks for your answers!
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Problem with NTP setting (lost Time)
« Reply #9 on: May 05, 2015, 12:32:46 PM »

Maybe at some point you might want to change out the 655 for a actual dedicated DAP model that has better TIME configurations and settings. DAPs handle the time better for these modes. Good Luck.

Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.