Posts by s3n0

    What is your Enigma distribution and build (the Enigma2 core version) ?


    Some Linux systems in some Enigmas do not include the full-featured "wget" tool and you need to modify it or use other arguments and switches for this tool.

    I can also check the functionality of wget remotely - if you believe me, write me on Skype and then give me a TeamViewer ID + password and I can look at your Shell.


    Or write this to Shell, to find out its version:

    wget --help

    It is quite possible that your wget comes from truncated Linux (maybe it's just part of the BusyBox set, as basic tools and commands for small versions of Linux). For example in OpenATV 6.4 enigma is used GNU Wget 1.20.3 (full Linux version, not as a BusyBox component).

    That's nonsense. You should see the XML-encoded "status" from Oscam-Webif. Try it in Shell as well, with the help of wget, with std-out (argument -O -). You must use user:password details also. If you are not logged in to your Oscam-Webif, it will not work (status is denied if you are not logged in).

    Code
    USR="your_login_name"
    PAS="your_login_password"
    wget -q -O - --no-check-certificate --no-cache --no-cookies "http://${USR}:${PAS}@127.0.0.1:8888/oscamapi.html?part=status"

    Here is a second example ... maybe it will be a better script for your needs.


    The function in the script returns "0" if at least one number is less than 20, otherwise the function returns "1".


    Thus, if at least one client accesses Oscam within 20 seconds, the function returns the value "0", otherwise the function returns "1".


    Open the Oscam API in a web browser ... simply open the following website (XML document):

    http://192.168.x.x:8888/oscamapi.html?part=status

    Then find the data you need and use it.


    Sitting on the example script above can also be simplified. However, I deliberately wrote it as before, if you wanted to use REGEX expressions on a block of certain data found between two words (strings) from the part of the "sed" command in front. Theoretically, it should be sufficient to use only the back of the above "sed" command:

    .............. | sed -rn 's/.*srvid="([0-9]*)".*/\1/p'


    Or you can search for all "idle time" data idle="0" in the "connected client" blocks client type="c", and if they are all greater than cca 10 seconds (depending on the type of card encoding, as some encodings do not require a repeated request from the decoder card !) then Oscam is asleep:

    .............. | sed -rn '/type="c"/,/client>/ {s/.*idle="([0-9]*)".*/\1/p}'

    OK, so try the following script to find out the queried satellite channels (Serv-ID).

    If the sum of all surveyed satellite channels is zero, then Oscam is asleep.


    In my opinion, however, the test method using the is_standby function from my previous script is sufficient. This is_standby function tests whether the set-top box is in standby mode (when no one is watching any TV channels).

    It is probably best to use Oscam on both set top boxes. The main Oscam will share like a server and the other Oscam will be in the position of a client. You set up the Oscam server (for sharing) in the "oscam.conf" file (add the config entries for cccam protocol or newcamd server/proxy) and then add another user in the "oscam.user" file.


    On the Oscam client side, all you have to do is add a remote reader to the "oscam.server" file.


    However, you should have at least a basic experience with setting up an Oscam, because otherwise it will be a long time for you to set up.


    Detailed information on setting items in Oscam configuration files can be found here:

    https://wiki.streamboard.tv/wiki/OSCam/en


    You can also find many exemplary configuration files for Oscam share (for LAN network) on the internet ... also you will find something on this discussion forum as well.

    Do you have the correct configuration files used there? You should first write to a friend what you are trying to achieve if you want someone to help you. Because this is probably an incorrect Oscam configuration (in the configuration files).


    In the LOG file you have everything written that is bad or what you need to check. Read it all nicely. Next, find on the Internet or in this forum what and how you need to set up.


    There is a specific problem with the initialization of your card - nagra encoding, which requires the rsa key and also the box key. According to the ATR code, this is a card with CAID 1802. I don't even know your provider and I haven't seen your configures, so I definitely can't advise you more. Oscam is already running ... now you have to know how to set your Oscam correctly. Otherwise it won't work. Is your Oscam compiled with NAGRA support (oscam --build-info) ?


    If you know nothing at all about Oscam or DVB technology, then start from scratch. A person who can compile code should also have knowledge of working in Oscam or DVB technology.

    Hi.


    You must specify the OScam configuration directory, for example: ./oscam -c /etc/tuxbox/config/oscam and then... all configuration files must be located inside this configuration directory /etc/tuxbox/config/oscam/<config-files-here>.


    Otherwise, the non-exists config directory that was set when compiling Oscam via the "Simplebuild-Ver.3" script will be used, and that is: "not_set" directory. I don't know if this is a Simplebuild script compilation error or if it's a different error, but specifying the path to your Oscam configuration directory should solve this problem.


    Use the following command-line:

    oscam --help


    Or read the following web-page:

    https://wiki.streamboard.tv/wiki/OSCam/en/ShellCommands


    However, this should be solved by your Oscam launcher when booting Linux. For example, it should be a startup script called "softcam" - placed here: /etc/init.d/softcam. You set it access rights: chmod a+x /etc/init.d/softcam and then create a sym-link to run this script when booting Linux: update-rc.d softcam defaults 90


    For more info or for download the shell-script example, please check this:

    https://github.com/s3n0/e2scripts/blob/master/softcam

    The cause of the problem can be anywhere. For example, if you use https instead of http. Do you put http:// in front of the IP address in the address bar of your web browser at all ? Most web browsers require it !

    Nope.

    He wrote that Open Webif works.

    And also that Oscam Webif doesn't work.

    When I try webif it finds the vu and connects but when I try the oscam webinterface I get error 403 Forbidden Access Denied.


    Does the connection to the Linux Shell (console) work via SSH or Telnet protocol ? For example with the help of a PUTTY application ?


    Is Oscam running and working ? Try this in Shell:

    Code
    ps | grep -i 'oscam' | grep -v grep | head -n 1 | grep -o '/.*$'    # feature-poor `ps` command from BusyBox (for example in OpenPLi)
    
    #### or :
    
    ps -f --no-headers -C oscam | head -n 1 | grep -o '/.*$'            # full-featured `ps` command from Linux OS (for example in OpenATV)
    
    #### please also try the following command - to verify if Oscam-Webif realy works
    #### if nothing appears on the console, then Oscam-Webif or Oscam probably don't work
    wget -q -O - "http://127.0.0.1:8888/files.html?file=oscam.version"

    https://wiki.streamboard.tv/wi…ig/oscam.conf#httpallowed

    Code
    [webif]
    httpallowed       = 127.0.0.1,192.168.0.0-192.168.255.255,10.0.0.0-10.255.255.255


    /// EDIT :

    Don't forget to set a password for higher security:

    Code
    [webif]
    httpuser         = my_login_name
    httppwd          = any_password

    Of course, it doesn't matter if, in addition to Oscam-Webif, you don't have a password set for Enigma2 Open-Webif and Enigma2 Shell (root access).

    Do you have the option to compile the source code in the console ? I mean in the installed Linux system under your NAS. It would probably be best to download and install and compile Oscam directly under your Linux system (via the SVN). If I don't know what system you have there (uname -a !!!!!!) then I won't advise you this time either. Sorry.

    https://github.com/oscam-emu/o…u/wiki/Building-OSCam-Emu


    Or you should prepare it on some Linux machine (destkop-PC) - compile it on it, using a cross compiler.

    https://stackoverflow.com/ques…nu-autotools-for-armv5tel


    Try please this command in the Shell (I need more info about your CPU):

    cat /proc/cpuinfo


    I found that a similar CPU also contains a Coolstream HD1 (NEVIS) set-top box, so try to find and download and use OscamEmu's binary file or installer for the mentioned set-top box.

    https://wiki.tuxbox-neutrino.o…Hardware:Coolstream#CPU_2

    Hello.


    Try connecting to the console and try to find out the machine name:

    uname -m

    ...or:

    uname -a


    Well, it looks like you have a Cortex-A53 there and it's a 64-bit ARM processor. However, it can also run in 32-bit mode. https://developer.arm.com/ip-p…ssors/cortex-a/cortex-a53 So it depends on what mode your firmware is running in NAS QNAP. It will probably be 64-bit mode (arm_v8, arm64, Aarch64).


    Then all you have to do is look for a binary for the appropriate architecture (for example Aarch64), which already has the required modules / libraries included (ssl + libusb for example). And test its functionality.

    Quote

    2.1.200427

    A directory browser has been added - for the purpose of selecting a user-defined picon folder.

    - !!! please be careful when deleting and creating folders in the directory browser !

    - !!! you are responsible for any loss of important data, after accidentally deleting the directory !

    However, there is also a newer version (current version is 2.1.200524). You can also update it to new version - directly in the configuration of the Chocholousek Picons plugin. If you need some other directory that you have used in Enigma, you can change it in the configuration by browsing it.