DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-11-03 22:03:13

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Different times.?

Hi,

We have just had our clocks go back an hour in the UK.

The date and time via the web interface is correct, but the date command via telnet shows one hour ahead.

I'm pretty much a newbie with linux but have

1 * * * * /usr/sbin/sntp -r -P no uk.pool.ntp.org

in my crontab

I have run that command manually and got 'NTP Server connected successfully!!!'

Unfortunately any file created/amended takes the incorrect date.

How do I get command line date to match the web interface date please.?

TIA


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#2 2010-11-04 01:43:59

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: Different times.?

Did you modify /etc/TZ to a full TZ value as indicated here? http://search.cpan.org/~zefram/DateTime … SystemV.pm

For example, Eastern Time is
/ # cat /etc/TZ
EST5EDT,M3.2.0,M11.1.0


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#3 2010-11-04 02:02:14

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: Different times.?

sntp, which updates the time (using the NTP protocol) has nothing to do with the time-zone.
You should update your time TZ settings from the web interface or do something like these:
http://dns323.kood.org/forum/viewtopic.php?id=5991
http://nas-tweaks.net/CH3SNAS:Tutorials/ntp


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#4 2010-11-04 10:01:36

Biscotte
Member
Registered: 2007-05-21
Posts: 81

Re: Different times.?

DNS 323 clock setting is dud.  FW 1.08 requires you to manually input the dates for time changes.  Synchronisation facility provided does not work either.     It is all desperately amateur.     Good ole D-Link

(and by the way my son is looking for a well paid IT programming job . . . probably need not apply(?)). 

Of course everything else in the world corrects time automatically - such as cooker, alarm clock, car dashboard clock and so on. 
I don't have the knowledge to write or to run programmes to keep the clock correct.

My answer - some of the year I set up for central EUSSR time and the rest of the year British time.  This I do when I remember or when the sync programme I use fails. 

sighs 

Biscotte

Offline

 

#5 2010-11-04 11:40:30

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Re: Different times.?

Thank you,

I only had GMT-0BST in my file.
Using your link I copied the example for the UK and now have the correct time.

I used GMT0BST,M3.5.0/1,M10.5.0

FunFiler wrote:

Did you modify /etc/TZ to a full TZ value as indicated here? http://search.cpan.org/~zefram/DateTime … SystemV.pm

For example, Eastern Time is
/ # cat /etc/TZ
EST5EDT,M3.2.0,M11.1.0


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#6 2010-11-04 11:49:23

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Re: Different times.?

I have settings in fun.plug.local but I am not sure when they run.

I believe I have the correct setting in the TZ file now for any future changes.

scaramanga wrote:

sntp, which updates the time (using the NTP protocol) has nothing to do with the time-zone.
You should update your time TZ settings from the web interface or do something like these:
http://dns323.kood.org/forum/viewtopic.php?id=5991
http://nas-tweaks.net/CH3SNAS:Tutorials/ntp


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#7 2010-11-04 13:00:33

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: Different times.?

gasman wrote:

I have settings in fun.plug.local but I am not sure when they run.

/ffp/etc/fun_plug.local is executed once at boot time, just before the /ffp/start scripts.


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#8 2010-11-04 14:29:59

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Re: Different times.?

Ah, OK thanks for that.

I seem to recall I had problems with lots of TWSI ? errors and amended this a while back to avoid these.?

Hopefully I will not need to change this again.

Thanks again to all who replied, and your patience with a newbie.

scaramanga wrote:

gasman wrote:

I have settings in fun.plug.local but I am not sure when they run.

/ffp/etc/fun_plug.local is executed once at boot time, just before the /ffp/start scripts.


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#9 2010-11-04 19:39:01

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: Different times.?

This thread may be useful for you.

http://dns323.kood.org/forum/viewtopic.php?id=6022

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB