neutrino timefix

ellie1998

Inactive User
Joined
May 7, 2005
Messages
5,744
Reaction score
927
Location
here
Looks like the dream doesn't change time like the dbox2 :(

unzip the time.zip
ftp the install.tar to /var/etc
reboot the box
then reboot it again

Then next summer
blue
blue
7
select summer

update just did my brothers box and it only needed one reboot.
 
Last edited:
Thanks for this... Just going round the house winding back all the clocks and found me Dreambox needed doing!
 
my time was wrong took me months to fix it finally got it sorted this morning
 
just tried this wont let me transfer file to dreambox, says could not create file, anyone got any ideas
 
Last edited:
Ellie,

I think "export TZ=Europe/London" should work for summer or winter.

I've only just changed mine so unable to test until next March.

Wiggy
 
'553 could not create file' i get this wen i try to upload to var/etc

need help.
 
Ellie,

I think "export TZ=Europe/London" should work for summer or winter.

I've only just changed mine so unable to test until next March.

Wiggy

Will put all 3 in the next release, if yours works next march then we will use just your one after that.

Never had this messing about with the dbox2
 
'553 could not create file' i get this wen i try to upload to var/etc

need help.

means your trying to write to a read only part
/etc/ is wrong
/var_init/etc/ is wrong
/var/etc/ is correct

If you can't write to /var/etc/ then your /var has gone read only and you will need to reflash your image anyway.
 
Ellie,

I think "export TZ=Europe/London" should work for summer or winter.

I've only just changed mine so unable to test until next March.

Wiggy

Does look good:
/etc/init.d > date
Sun Oct 25 20:48:19 CET 2009
/etc/init.d > export TZ=Europe/London
/etc/init.d > date
Sun Oct 25 19:48:36 Europe/London 2009

Needs to be edited in:
/etc/init.d > grep TZ /etc/init.d/rcS
#export TZ=CET-1CEST,M3.5.0/2,M10.5.0/3

for the next image build?
http://www.digitalworldz.co.uk/images/smilies/banana.gif
 
Does look good:
/etc/init.d > date
Sun Oct 25 20:48:19 CET 2009
/etc/init.d > export TZ=Europe/London
/etc/init.d > date
Sun Oct 25 19:48:36 Europe/London 2009

Needs to be edited in:
/etc/init.d > grep TZ /etc/init.d/rcS
#export TZ=CET-1CEST,M3.5.0/2,M10.5.0/3

for the next image build?
http://www.digitalworldz.co.uk/images/smilies/banana.gif

You can put it into /var/etc/init
/etc/init.d/rcS is in the readonly part of the image.

The last fix which also came from wiggy worked fine for the summer, rather than get possibly caught out next spring will include all 3 options then if wiggys fix is good for winter and summer will adopt just that next March.
 
You can put it into /var/etc/init
/etc/init.d/rcS is in the readonly part of the image.

The last fix which also came from wiggy worked fine for the summer, rather than get possibly caught out next spring will include all 3 options then if wiggys fix is good for winter and summer will adopt just that next March.

There seem to be a few places where the variable is set - but not sure which one is key here:

/etc > grep TZ *
grep: exports: No such file or directory
grep: localtime: No such file or directory
profile: export TZ=CET-1CEST,M3.5.0/2,M10.5.0/3

/etc > grep TZ /var/etc/*
/var/etc/head.ko:TZ
/var/etc/init:#export TZ=GMT0BST,M3.5.0/2,M10.5.3/3
/var/etc/init:export TZ=Europe/London
/var/etc/init.orig:export TZ=GMT0BST,M3.5.0/2,M10.5.3/3

why can't we use date -s or date & then test this now?

Not sure of the syntax yet:

/etc > date
Sun Oct 25 23:27:50 CET 2009
/etc > date 1
date: invalid date '1'
/etc > date -s 0000001
Sun Nov 30 00:01:00 CET 2008
/etc > date -s 0000001
Fri Nov 30 00:01:00 CET 2007
/etc > date -s 0000001
Thu Nov 30 00:01:00 CET 2006
/etc > date -s 0000011
Wed Nov 30 01:01:00 CET 2005
/etc > date -s 0000011
Tue Nov 30 01:01:00 CET 2004
/etc > date -s 1000011
Thu Sep 30 01:01:00 CEST 2004
/etc > date -s 1000011
Thu Sep 30 01:01:00 CEST 2004
/etc > date -s 1000011
Thu Sep 30 01:01:00 CEST 2004
 
/etc > export TZ=GMT0BST,M3.5.0/2,M10.5.0/2
/etc > date -s 10250359
Sun Oct 25 03:59:00 GMT 2009
/etc > date -s 10250259
Sun Oct 25 02:59:00 GMT 2009
/etc > date -s 10250159
Sun Oct 25 01:59:00 GMT 2009
/etc > date -s 10250059
Sun Oct 25 00:59:00 BST 2009
/etc > date
Sun Oct 25 00:59:15 BST 2009
 
I looked again the TZ setting.

Code:
You don't have permission to view the code content. Log in or register now.

Standard = GMT (0 offset)
dst = BST
start = Month 3, week 5 (last), day 0 (sunday), time 2am
end = Month 10, week 5 (last), day 3 (Wednesday), time 3am

Spot the mistake?

Either change to
Code:
You don't have permission to view the code content. Log in or register now.
or wait till Wednesday.

I think Europe/London should give same results but that depends on if it's supported in busybox.

Wiggy
 
Last edited:
/etc > export TZ=GMT0BST,M3.5.0/2,M10.5.0/2
/etc > date
Sun Oct 25 01:59:07 GMT 2009
/etc > date -s 03250159
Wed Mar 25 01:59:00 GMT 2009
/etc > date -s 03290159
Sun Mar 29 01:59:00 GMT 2009
/etc > date
Sun Mar 29 01:59:05 GMT 2009
/etc > date
Sun Mar 29 01:59:55 GMT 2009
/etc > date
Sun Mar 29 03:00:02 BST 2009

/etc > date -s 03290159
Sun Mar 29 01:59:00 Europe/London 2009
/etc > date
Sun Mar 29 01:59:57 Europe/London 2009
/etc > date
Sun Mar 29 02:00:03 Europe/London 2009
/etc > date
Sun Mar 29 02:00:08 Europe/London 2009
 
I looked again the TZ setting.
Spot the mistake?

I think Europe/London should give same results but that depends on if it's supported in busybox.

Wiggy

Aye - I noticed that & had corrected for it in my testing.

Europe/London doesn't seem to get the BST/GMT transitions.

My testing has hopefully setup a framework to test these transitions. March GMT->BST transition is a quick check - the October transition is somewhat more long winded - looks like you can't set the time to 25/10/2009 01:59 BST you have to set to 01:00 & let it clock through the hour - but there may be a way I missed...
 
The October transition is somewhat more long winded - looks like you can't set the time to 25/10/2009 01:59 BST you have to set to 01:00 & let it clock through the hour - but there may be a way I missed...

Scratch that - can only set to 00:59

Sun Oct 25 01:59:00 GMT 2009
/etc > date -s 10250100
Sun Oct 25 01:00:00 GMT 2009
/etc > date -s 10250059
Sun Oct 25 00:59:00 BST 2009
 
Back
Top