Need Help : How to correctly setup time with Ntpclient ?

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
badboy94
DD-WRT Novice


Joined: 26 Mar 2007
Posts: 2

PostPosted: Tue Mar 27, 2007 23:10    Post subject: Need Help : How to correctly setup time with Ntpclient ? Reply with quote
Hi all,

I'm using DD-WRT v24 Beta (03/23/07) vpn with an WRTG54 V1.1.

I'm trying to adjust time settings with putty using ntpclient command with this syntax :

ntpclient -lsh 0.fr.pool.ntp.org
nvram commit
reboot


But it doesn't work. I've noticed that there is an offset of 2 hours between the real time and the time given by the wrt54g.

For example when it's Wed Mar 28 01:05:30 UTC 2007

Date and time by the router is Tue Mar 27 23:05:30 UTC 2007

I've checked too the time_zone value with this command :
nvram get time_zone and it actually shows -02 1 3

In the setup tab/basic setup/time settings I've tried diffent values for the two options :

1) Check or uncheck "Use local time"
2) Select different time zone for example
UTC-02:00 / last Sun Marc - last Sun Oct
UTC+02:00 / last Sun Marc - last Sun Oct

3) save and reboot


But nothing change i've always a difference of two hours between the router and the real time.

I've also tried too change from UTC time to GMT time but i'dont know if there is a parameter for this case.

Could anyone please help me ? I don't understand why i cannot fix the clock with the correct settings.

I've also tried too change from UTC time to GMT time but i'dont know if there exists a parameter for this case.

Thank you for your help

BB94
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum