Correct Time On The DBox2 ?

Alles rund um das grafische Benutzerinterface Enigma
GAH
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 6. April 2003, 19:10

Correct Time On The DBox2 ?

Beitrag von GAH »

Hi Guys,

Is there any way to get my Nokia Dbox2 to display the correct time for my timezone? Here in Scotland we are one hour behind Germany, and I was wondering if there was any way to offset the time being sent to the box. I was able to do just that when I had a Nokia 9600 with DVB software.

Regards,
GAH
essu
Tuxboxer
Tuxboxer
Beiträge: 2452
Registriert: Montag 21. Oktober 2002, 10:04

Beitrag von essu »

AFAIK the time displayed depends from the service selected. f.i. when i watched iraq tv i had iraq time. so i guess there is no (easy) way to solve your problem
Schon gelesen ???
ENIGMA-DOC
GAH
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 6. April 2003, 19:10

Beitrag von GAH »

Hi Essu,

Thanks for the quick reply. I just thought that I could offset the time by -1 hour in the same way as I could with old Nokia 960 with DVB. That way, watching any European channel would show the correct time for the UK.

Thanks anyway,
GAH
essu
Tuxboxer
Tuxboxer
Beiträge: 2452
Registriert: Montag 21. Oktober 2002, 10:04

Beitrag von essu »

I m not sure if its the same with neutrino, i read about a possibility to set a timezone. just search for "timezone" and you will find it. its mostly in german...
Schon gelesen ???
ENIGMA-DOC
Reichi
Erleuchteter
Erleuchteter
Beiträge: 477
Registriert: Sonntag 7. Oktober 2001, 00:00

Beitrag von Reichi »

well, the developers are working on a timzone-selection for enigma.
So be patient, I think it'll soon be ready and released.
mfg,

Reichi
tmbinc
Developer
Beiträge: 821
Registriert: Freitag 20. Juli 2001, 00:00

Beitrag von tmbinc »

actually, there are two issues:

a.) Not all broadcasters are broadcasting the UTC, as they should according to the etsi specs. I really don't know what they think about when they read "UTC", but somehow they think it's their local time ... they must be really braindead. (sorry)

b.) Enigma is yet unable to change the timezone, which is currently hardcoded in the init-scripts to MET / MEST. You can change the TZ-environment variable in the init-script to the right value. Don't ask me WHICH value, sorry, i'm not a specialist, and we have no zoneinfo-db on the dbox2, so you have to specify the daylight-saving times.

Currently, __ghost__ is working on a timezone selection in enigma, as well as some workaround/correction for the buggy transponders.
Coronas
Developer
Beiträge: 196
Registriert: Dienstag 16. Oktober 2001, 00:00

Beitrag von Coronas »

Hi,

try to include this in the start_enigma in /var/tuxbox just in the line above the /bin/enigma-call. That should do the trick ;)

Code: Alles auswählen

export TZ=GMT0BST,M3.5.0/2,M10.5.0/3
cu
coronas
GAH
Interessierter
Interessierter
Beiträge: 20
Registriert: Sonntag 6. April 2003, 19:10

Beitrag von GAH »

Hi Coronas,

I can't seem to find a file called "start_enigma" in the var\tuxbox folder, or am I looking in the wrong place ?


Regards,
GAH
Coronas
Developer
Beiträge: 196
Registriert: Dienstag 16. Oktober 2001, 00:00

Beitrag von Coronas »

Hi GAH,

If you're out of luck, it's in /etc/init.d - and that's most probably in the read-only part of the image... thus editing is a no-go :( , unless you find some editing-tools for windows (or start building your own image). As I banned MS some time ago from my harddisks, I'm not able to assist you there.
Maybe someone out there knows if the tuxbox-flashtools (think this was the name of the program) are still valid for the current images?

Sorry, m8
Reichi
Erleuchteter
Erleuchteter
Beiträge: 477
Registriert: Sonntag 7. Oktober 2001, 00:00

Beitrag von Reichi »

well it's very easy to do a "workaround" for this ;)
just open a telnet session on your box.
then go into /var/tuxbox.
There you'll find a symlink to the "start_enigma" in your /etc/init.d
Delete this one by typing: rm -rf start_enigma
Now the symlink ist deleted.

Now open a ftp-connection and copy the start_enigma out of /etc/init.d
Make your changes and do a upload via ftp.
but DON'T restart right now!

go back to your telnet session an do a: chmod +x start_enigma
in /var/tuxbox
make a "ls" now.
The file start_engima should now be marked green (executeable)
now you can reset your box by typing: reboot
mfg,

Reichi
alexW
Developer
Beiträge: 631
Registriert: Donnerstag 24. Januar 2002, 12:21

Beitrag von alexW »

striker1 hat geschrieben:well it's very easy to do a "workaround" for this ;)
How about this:

Code: Alles auswählen

cd /var/tuxbox/
cp -f /etc/init.d/start_enigma .
now everything is done with only 2 lines
incredible how easy this could be..
Reichi
Erleuchteter
Erleuchteter
Beiträge: 477
Registriert: Sonntag 7. Oktober 2001, 00:00

Beitrag von Reichi »

you see, I'm not really used to use linux
... :-?

jetz hab ich mich so angestrengt und du verdirbst mir die ganze Freude *duck* :wink: :wink:
mfg,

Reichi