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 2009-05-19 17:25:58

iazmin
Member
Registered: 2008-09-10
Posts: 55

Delayed/Wrong time zone enerated in ffp.log date

The date generated by fun_plug script does not follow my synchronized date.

Code:

**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) ****
Tue May 19 14:17:25 CST 2009

All my date commands are tally with each other:

Code:

/mnt/usb/ffp/home/root# /ffp/bin/date
Tue May 19 22:11:56 SGT 2009
/mnt/usb/ffp/home/root# date

Tue May 19 22:12:01 SGT 2009
/mnt/usb/ffp/home/root# /bin/date

Tue May 19 22:12:10 SGT 2009
root@nashawa:/mnt/usb/ffp/home/root#

How can I permanently change the date/time? I did use the Web GUI to sync to provided ntp server but nothing give desired result.

Offline

 

#2 2009-05-21 10:58:34

zeroday
Member
Registered: 2007-07-01
Posts: 136
Website

Re: Delayed/Wrong time zone enerated in ffp.log date

there is for sure an issue in fun_plug with time I believe

I'm checking the new CH3MNAS with fun_plug

when using date or date -u both shows ALWAYS UTC time
but when I use /bin/date it is showing my CEST time

Mmm I like the fun_plug but it should not mess with my basic operational functions of the device
or there must be something wrong in the device itself where date decide to show UTC timezone rather than CEST

Fonz, any idea?

Offline

 

#3 2009-05-21 11:23:35

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Delayed/Wrong time zone enerated in ffp.log date

zeroday wrote:

Mmm I like the fun_plug but it should not mess with my basic operational functions of the device
or there must be something wrong in the device itself where date decide to show UTC timezone rather than CEST

Fonz, any idea?

Denis, it doesn't mess with your basic operational functions wink

ffp doesn't configure timezones or changes any other system parameters, unless you ask it to. I.e. although there are some example commands, they are all disabled by default.

Unless your firmware configures the SGT timezone, I'm pretty sure that iazmin has searched the net for the SGT timezone spec, and enabled it himself.

Offline

 

#4 2009-05-21 15:35:25

iazmin
Member
Registered: 2008-09-10
Posts: 55

Re: Delayed/Wrong time zone enerated in ffp.log date

I solved this issue by disabling the ntpd.sh and sync using crontab as shown in http://nas-tweaks.net/CH3SNAS:Tutorials/ntp. However, the "CST" word still persist although the time now really follow my time zone. nevermind it shouldn't be a big problem...

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB