Posts by joeuser

    I don't know if any tutorial (but there might be one on here somewhere...)


    You can try connecting to the oscam web interface to see what is going on:

    Code
    http://<box ip address>:8888

    Which linux distribution are you using?
    What is the output from./simplebuild debinstall?
    What terminal are you using?


    Sent from my KFTT using Forum Fiend v1.3.3.


    - - - Updated - - -


    Was on tablet earlier and couldn't see image. That "shit" is escape codes which are there to format the screen for the menu. Your terminal is not recognizing them correctly.

    Yes, I looked at the oscam-emu/osemu code and it looks like it only supports AU through the dvbapi interface and not through stream relay only connection. I was thinking to add the functionality to stream relay, but not sure it is worth the time/effort if TVHeadend will be updated. (Of course they also have to add DES decryption for it to fully work and I am not sure where they stand on that...)


    And yes there is not much debug info in oscam-emu/osemu especially in stream relay section. It is on my todo list, but not a priority and I don't have much free time for it now...

    I have not had much time to play with auto update. But I did stream from TVHeadend to TSReader with powervu plugin and auto update is working. Hopefully this week I will have some time to play. :)


    - - - Updated - - -


    So while debugging a bit, I found one problem. While the url generated by the scripts works for decrypting/playing the stream from TVHeadend, it was not sending emm info. Finally I noticed that alhough TVHeadend wasn't complaining (even in debug logs), it did not parse the "emm=1" properly. To get it to work, you need to add another "&" between "emm=1" and the trailing sid info for oscam. (":0:0:4")


    So to get the emm pids to be sent, the url needs to be changed to something like:

    Code
    http://pvu:pvu@192.168.1.10:17999/stream/service/5207215882cb76f456a5d65ecfba2124?profile=PowerVU&descramble=0&emm=1&:0:0:4


    Here are updated scripts to automatically generate the correct urls.


    VLC Playlist:


    Enigma2 userbouquet:

    Oscam-emu now supports powervu without streamrelay (for CSA encrypted channels only....)


    I finally got around to test this on my Alien 2 triplex and it is working with three images I tested (hdmu, openspa, and pkt 5.)





    Key oscam.conf settings:


    Of course you need the right keys on your SoftCam.Key file.


    Attached is the latest oscam-emu (with minimal config.)

    Most likely not a problem, but you can look above under useful links for dishpointer. On Dishpointer, there is an option "show obstacle (line of sight checker)" which can show you the max height obstacles can be at selected distances from the dish.

    He does not know what you are using the script on (hint: " I don't have the HW to test this..." ) so he wants to make a completely generic/compatible script. Since he could not test, he tried to point out all the possible reasons a script "may" not work on "some" machines.


    Key is that it works on your box.

    What exactly does it say when you telnet to the box and run the command?


    No, localhost should be find. If you want to test, you can telnet and run just the wget command.

    Code
    wget -O - http://localhost/web/powerstate


    No, we just need to look for the word "false" somewhere in the response.

    can you telnet to the box and run:

    Code
    bash -x /root/powerstate.sh


    Output should

    Code
    bash -x powerstate.sh
    + wget -O - -q http://localhost/web/powerstate
    + grep -i false
    false   </e2instandby>
    + touch /media/hdd/keepalive.log

    look like

    You can try from a webrowser:

    Code
    http://<ip of box>/web/powerstate


    Did you change permissions on powerstate.sh to 755 (read,write,execute)?
    What is in the cron now? YOu have to make cron point to the right directory where you put powerstate.sh (if not in /root)...

    If it works from PC but not laptop then I guess you have some problem with your laptop config... What is different???

    Not sure this is the best way, but you can try something like this script:


    powerstate.sh

    Bash
    #!/bin/sh
    if (wget -O - -q http://localhost/web/powerstate|grep -i true) then
        touch /media/hdd/keepalive.log
    fi


    Then change the crontab file to:

    Code
    */4 * * * * /root/powerstate.sh 2>&1 > /dev/null


    You may have to modify a little depending on your system. From command prompt, try just:

    Code
    wget -O -  http://localhost/web/powerstate


    To see what the output is....

    Are you sure oscam is running?
    You need to check the oscam.conf file and see if it is listening on a different (non-standard) port than 8888.
    Defaults are:

    Code
    [webif]
    httpport                      = 8888
    httpallowed                   = 127.0.0.1,192.168.0.0-192.168.255.255


    Or maybe your local network address is not in the above range?

    You can try one of the backup images posted here with already configured epg, skins, cam, etc. Just need to do a minor config (probably can be done mostly through remote or webif.)
    The ALien 2 does not have an internal HDD, but you can add a USB HDD or record to a network drive (some NAS or pc.)

    Looks like you cut and pasted too much for the logcleanup script. You need to remove the top lines:

    Code
    #############################################
    scriptname = LogCleanup.sh
    #############################################