Upgrading / Installing
If you are upgrading the firmware, make sure that you have saved / backed up / recorded any important data, for example:
- The Bouquets (using DreamboxEdit under Wine)
- Your Timers
- The Crontab File (crontab -l)
- The LNB / Diseq configuration
- Any scripts you have installed on the internal flash
LTImage Download and Install
Download the latest image for your dreambox from the LT Team website: http://www.ltteam.org/
Switch on your Dreambox, whilst holding down the down button on the front panel - the display will say **STOP**. Note the IP address displayed.
Connect to the IP address from your PC using a web browser, i.e. http://ip.add.re.ss/
Select firmware upgrade in the web browser page, and point at the nfi file you have downloaded, and press 'Flash!'.
Be patient ...
With the later versions of the image, it is necessary to use a swapfile. I use one on the compact flash, which is automatically mounted in /media/cf.
dd if=/dev/zero of=/media/cf/swapfile bs=1024 count=65544To make things permanent, create /etc/rc3.d/S99swap:
#!/bin/shEnsure that it can be executed with:
chmod a+x /etc/rc3.d/S99swapTuning In
Once the web browser has indicated that the download is complete, return to the Dreambox, and press the front panel power button off/on. The dreambox will now boot.
Select the wizard, and configure your LNB setup, then configure your network. Once complete, press the Menu button, and go to Setup / Servce Searching, and leave the dreambox for a while, searching for available channels.
For UK Freesat, plug your card into the front of the machine, then go to the LT Menu, and download / install MGCamd and NewCS. Select these in the LT Menu 'EMU' section.
Radiotimes, and EPG Grabber
LT provides an EPG downloader. You provide it with an XML file, containing the channels you wish to download, and the python script visits the appropriate guide provider (e.g. Radio Times), and downloads the data.
This method is quite slow, as by default, every possible channel is downloaded. I have created my own scripts, which parse the currently selected bouquets and generate a minimal download.
Alternatively, someone has managed to produce an OpenTV decoder, and has created E2LoadEPG. It can be downloaded from: http://www.ambrosa.net/, and installed.
cd /media/hdd/downloadThe program is a suite of python scripts, with a binary application to do the actual download. There are five files which require editing.
tar xvzf /media/hdd/download/e2_loadepg-0.52.tgz
First File: /media/cf/e2_loadepg/e2_loadepg.conf
DOWNLOAD_MODULES=bskybsatSecond File: /media/cf/e2_loadepg/dl_modules/bskybsat-channel_list.conf
The script provides the option of selecting which EPGs to download. This actually needs to be automated (parsing lamedb and favorites like I do with my approach), however in the meanwhile, you need to set each channel you wish to get a guide for to a '1'.
# bbc 1 e mids , id=2105Third File: /usr/bin/enigma2.sh
2105=0,bbc 1 e mids
# bbc 1 east (e) , id=2106
2106=0,bbc 1 east (e)
# bbc 1 east (w) , id=2073
2073=0,bbc 1 east (w)
Following a download, the enigma application is re-started, and this is when it reads the EPG from /media/hdd/epg.dat. I can't find a way of pointing it at the compact flash, however using the hard disk will not force it to keep spinning, as the file is read on startup, then deleted.
Editing the enigma2.sh script to include a 'ln' command makes the EPG available on each reboot:
#!/bin/shFourth file: /media/cf/e2_loadepg/dl_modules/bskybsat.conf
[ -f /media/cf/ext.epg.dat ] && ln -s /media/cf/ext.epg.dat /media/hdd/epg.dat
The fourth file contains the actual download configuration - the transponder needs to be changed so that the program can switch to the right channel to download the EPG. There are two channels I have found that work: "EPG Background Audio" and "IEPG data 1" - if the channel does not have an audio stream playing the background audio you normally hear when navigating the EPG on a sky box, it probably won't have the EPG data.
#Last File: crontab (using 'crontab -e')
# Set to EPG Background Audio
2 2 * * * python /media/cf/e2_loadepg/e2_loadepg.pyA Manual Run
python /media/cf/e2_loadepg/e2_loadepg.pyAnd check the log file: