How to update your keys automatically

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dowlinr
    Top Poster +
    • Nov 2008
    • 226

    #1

    How to update your keys automatically

    This is based on the pli image, didn't work on my mates running nabilo as it didn't have crontab.

    In windows open notepad and paste the following line into it (obviously replacing the url of a softcam file that gets updated):
    Code:
    wget -qO /var/keys/SoftCam.Key URL_OF_SOFTCAM_FILE
    Save the file as softcamkey.sh
    Ftp the softcamkey.sh file to /var/tuxbox/config/enigma/scripts
    If the scripts directory isn't there create it.

    Telnet to your box and enter your username and password.
    Type
    Code:
    crontab -e
    You will now be faced with a text editor.
    Press the "a" key which will allow you to append text to the line.

    On the first line type
    Code:
    00 4 * * * /var/tuxbox/config/enigma/scripts/softcamkey.sh
    Now press Esc and type :wq
    (colon write and quit)

    That's it your done. The key file will update at 4 am every morning.
  • opsmonkey
    V.I.P. Member
    • Nov 2008
    • 5379

    #2
    thats great mate but cock all opens with keys
    Last edited by opsmonkey; 17 July, 2009, 03:22.

    Comment

    • dowlinr
      Top Poster +
      • Nov 2008
      • 226

      #3
      Digitv and rai still do, you're right, not a lot left on keys. It was cheesing me off updating the keys for digitv manually so decided to do something about it. Thought it might be useful to someone.

      Comment

      • Curious123
        V.I.P. Member
        • Apr 2008
        • 2591

        #4
        This could be handy for some people. I loaded the SatanKey updater on my box and I just run that when I want to update my keys. I use the Pli image and what I would really like is a plugin script that would automatically reboot my dm600 at a set time everyday. The Nabilo team do a number of scripts for their image just a shame we can't export them into different images.

        Comment

        • dowlinr
          Top Poster +
          • Nov 2008
          • 226

          #5
          If you want a reboot script just change the text in the file from
          Code:
           wget -qO /var/keys/SoftCam.Key URL_OF_SOFTCAM_FILE
          to
          Code:
          reboot
          Then save the file as reboot.sh

          Ftp it to your box and follow the instructions for crontab.
          Crontab will should look like this:
          Code:
          00 4 * * * /var/tuxbox/enigma/scripts/reboot.sh
          change the first two values for time of day you want to reboot, first value is minutes and second is hours.

          So the above line will run the reboot script at 4am, if you want to reboot at say 1:15 am use 15 1 * * *

          Comment

          • cauliflower69
            Senior Member
            • Nov 2008
            • 261

            #6
            Been using a similar script for my Dreambox for a while very useful

            Comment

            Working...