Posts by s3n0

    Hello, instead of restart and everything, I'd like to create a script to reload only its config file (oscam.server) so that I can launch it as a script or I can create a cron.

    Is it possible to do that?

    Hello.


    Why didn't you open a separate TOPIC ?

    This discussion thread is about a different problem !


    What exactly do you mean by reloading "oscam.server" ? Do you mean reload all readers - restart them ? For this, there was a SIGHUP signal for the oscam process, but there was always a problem with it and I don't know if it still works: http://www.streamboard.tv/oscam/ticket/498

    killall -SIGHUP oscam or killall -HUP oscam


    Next, it would be necessary to add the following entries to the "oscam.conf" file (you only care about "reload_readers", so just try to add this one item there):

    Code
    reload_useraccounts           = 1
    reload_readers                = 1
    reload_provid                 = 1
    reload_services_ids           = 1
    reload_tier_ids               = 1
    reload_fakecws                = 1
    reload_ac_stat                = 1
    reload_log                    = 1

    Depending on what you need, you could theoretically also use an Oscam-Webif call with the "wget" command.

    - to reload readers with helping of the OscamWebif:

    wget -q -O - "http://loginname:password@127.0.0.1:8888/readers.html?action=reloadreaders"

    - example for CRON (scheduled every 10 days, at 06:00), for Entitlements refreshment with Oscam-Webif:

    0 6 */10 * *         /usr/bin/wget -q -O - "http://loginname:password@127.0.0.1:8888/readers.html?action=reread&label=reader_sci0"



    Otherwise, if anyone is interested, I also modified my starting bash script (on my Github you will find this script "/etc/init.d/softcam" in the basic version, without modifying auto-restart on crash). I edited this script for a friend esuo2 . The script runs in the background to test if the Oscam crashes, and if so, I'll start the oscam process again. The "fInfiniteLoop()" function runs continuously and verifies every 5 seconds that a process called "oscam" is running.


    I don't understand people who need autorestart when crashing Oscam, because Oscam really can't fall or freeze - if that happens it's bad and the problem needs to be solved!

    Discussions about SKY DE configuration can be found on this forum anywhere. I don't use SKY DE, so I don't advise. For example:

    SKY DE

    https://www.linuxsat-support.c…t/59254/?highlight=SKY+DE


    I don't understand. You want OpenATV ? And now you have OpenVIX ? Where is the problem ? Back up your data, download OpenATV and flash it instead of OpenVIX :).


    Which Enigma do you want softcam (Oscam) for ? For OpenATV or for OpenVIX ?


    I don't know OpenVIX well. Maybe a manual installation procedure would also work for OpenVIX:

    Tutorial : How to install softcam (OSCam/CCCam) manually, if you hate ipk packages

    However, it should work everywhere (the procedure is based on Linux, not for Enigma, so it should work everywhere).


    There are also softcam-feed extensions for OpenATV and some other Enigma. Softcam Feeds Download and install another OpenATV feed server. Then you select which softcam you want and install it as a plugin.

    Check the syntax and sequence of characters used (semicolons, colons, commas, at signs) !

    It depends on them !


    port = 15000@1234:000000;15001@5678:000000;15002@0980:00000A

    # (CAID 1234 connected with port 15000 ; CAID 5678 with port 15001 ; CAID 0980 with port 15002)


    http://www.streamboard.tv/wiki…am.conf#Newcamd_.28TCP.29

    http://www.streamboard.tv/wiki…/Config/oscam.conf#port_6


    Quote

    port

    HakenRot.png parameter is required

    TCP port/DES key/CAID/ident definitions. Each CAID requires a separate port. If you don't specify a DES key for a port, the default DES Key will be used!

    Code
    port = port[{DES key}]@CAID[:ident][,ident]...[;port[{DES key}]@CAID[:ident][,ident]...]...

    Example:

    Code
    port = 15000@1234:000000 # (CAID 1234 connected with port 15000)
    port = 15000@1234:000000;15001@5678:000000 # (CAID 1234 connected with port 15000; CAID 5678 with port 15001)

    Default:

    Code
    port = port@caid:ident

    cosy:


    What about trying an alternative Softcams feed server (it will be included in your Enigma plugins).

    Softcam Feeds

    You can try any Softcams-feed extension as theoretically. But most of them are specific to a particular edition of Enigma (which you haven't mentioned !), as the included IPK packages also strive for compatibility when using the GUI.


    However, if you don't need GUI support in MENU (via RCU), you can use your own bin-file installation.

    Tutorial : How to install softcam (OSCam/CCCam) manually, if you hate ipk packages

    Why do you want to use the IPK package for softcam installation ? IPK packages are limited to a specific chipset and also to a particular Enigma.


    IPK packages are for stupid secretaries whom the director of the company instructed to install a new YouTube plugin for example :-D after brewing coffee. You would certainly be able to handle the manual installation procedure. Anyway, the problem is not installing softcams, but unfortunately their correct configuration!

    What you write Phoenixx can automatically do bash-script, even run directly from the github website of my profile :).


    - the bash script:

    https://github.com/s3n0/e2scri…am-new-version-updater.sh

    - command-line:

    wget -O - -q --no-check-certificate "https://github.com/s3n0/e2scripts/raw/master/oscam-new-version-updater.sh" | bash


    But first I want to know what Enigma he uses. Because there may be minor differences - for example, the difference in the type of softcam trigger used in a particular Enigma, or the difference in non-existent some libraries that are required for Oscam and may be missing in older Enigma (libraries or compatible symbolic links).

    Please, use the translator: https://translate.google.com/


    I'm sorry, but I still don't understand exactly.


    I understand that everything works basically without any problems.


    Only when you start pulling ECM packets with an oscam-client installed on your Linux-PC, from a satellite card that is stored in your oscam-server on a set-top-box, will the satellite channel start to tear on the set-top-box screen ( the one you are currently watching) ? Right ?

    If you're using a Linux PC x64 platform, find out how to compile an Oscam (using svn) and always use the latest Oscam, or find all the fixes for "NDS Videoguard" and you can apply them to the Oscam code if necessary.


    I still don't know what you need or what doesn't work. You did not attach any LOG. You didn't explain the problem. I don't know how to advise you. You wrote that the ECM decodes correctly and that the image sometimes freezes.


    The error can really be anywhere.


    My previous post was just an explanation of the possible cause of the error, which I hope I understood correctly. It was not a way to fix a problem that you didn't describe properly.


    If you are not an experienced user, then explain what does not work and attach the LOG file.

    Recently, however, many users of these cards have been complaining about a similar problem, so I recommend that you first try searching for a similar topic in this discussion forum (or through Google search engine).


    If you are an experienced user and can accurately identify the BUG in your case, you can report it as BUG on the Streamboard website. However, only if you are 100% sure, as the BUG reporting site does not provide support either.


    Most users do not even try to set the NDS Videoguard fixes that are already present in Oscam and will immediately use Multics.

    http://www.streamboard.tv/wiki/OSCam/en/Config/oscam.server - Press CTRL + F (in a web browser) to search for: "guard"

    Why do you use Multics ? Or does classic Oscam not handle NDS crypto mode well ?


    Check out the classic Oscam. What ECM time responses will be there.


    Internet connection is OK ? Or are you writing about a LAN network at home and not an internet connection ?


    What is VPS ? Do you mean VPN network ? If so, is this network connected via the internet ? Try a simple "PING" command to test the time response if ICMP protocol is also allowed in this network.

    Sat000info:


    You are replying to an old post. However, once you have refreshed it, I will also try to answer :).


    Oskracer:


    ECM packets are predetermined by the specific channels (services) you watch on the receiver. EMMs are commands for controlling the firmware in the decoding card or for controlling the CAM module.


    Consequently, you can filter the ECM by disabling or enabling individual "services" that you define in the "oscam.services" file and use it under a specific reader ("oscam.server" - [reader]) as a filter or even as a specific user filter ("oscam.user"). Use an exclamation mark to tell the reader to make the filter inverse.

    http://www.streamboard.tv/wiki/OSCam/en

    http://www.streamboard.tv/wiki…/en/Config/oscam.services

    http://www.streamboard.tv/wiki…fig/oscam.server#services

    http://www.streamboard.tv/wiki…onfig/oscam.user#services


    And I will reply to the previous older post on "au = Locale". It's wrong ! Unfortunately, there is no "Locale" label reader in your configuration ! The correct universal configuration should be "au = 1" for sending EMMs for all available Oscam readers. It is also correct to use the "au = <reader_label>" configuration for a particular single reader. More info here: http://www.streamboard.tv/wiki/OSCam/en/Config/oscam.user#au

    Hello.


    Do you mean the file "oscam.server" at client side or at server side ? :) So is this configuration from an Oscam server or an Oscam client ?


    Well, I will assume that the "oscam.server" configuration file comes from the server side, that is, from the Oscam that shares the decoder card. Since you are writing about Raspberri, "dvbapi" as the internal user will not work - the internal "dvbapi" user would have to have EMM and ECM receive from some source (satellite / terrestrial / cable tuner).


    So the server side setup should be without the "dvbapi" internal user and the oscam installed in Raspberr should act as a server.


    Now it is finally clear to me.


    I don't know your provider, CanalDigital / Nordic ? I don't know which EMMs and whether they have to be blocked at all. Try using the configuration for Nordic CanalDigital, which is here:

    vu solo 4k oscam config for canaldigital norden + viasat

    There is no EMMs blocking, which can also include refresh orders for paid packages for your decoder card serial number. Of course, customize the configuration (sharing + protocol settings you need).


    People, if you don't start to write the details, nobody will ever help you.

    ECM packets in the case of NDS crypto arrive at short intervals, new packets always arrive very quickly. A good internet connection is required. This could also be the cause of the occasional "freezing" of the image if the ECMs are working properly.


    What is the network connection time and what is the ECM processing time in LiveLOG (in Oscam-Webif) ?


    You ask endless questions, but you did not give a single detail that would solve the problem. If you want to continue this way, you can also ask Google search engine. He'll tell you more than I do. Of course you have to study it instead of me. For example:

    https://www.google.com/search?q=oscam+nds+freezing+image

    What exactly does Oscam Webif - LiveLOG say ? Can't you see any problems there ? Otherwise, this NDS Videoguard has always been reporting the last few weeks - like a freezing image, and the decoding works OK.


    It would be helpful if all people wrote all the details. What set-top box manufacturer what model - or even the type of chipset / CPU architecture. Also, the exact svn version used by Oscam would be nice to indicate, also the type of build or the source of that particular Oscam.


    Or describe exactly how the problems started to show up - since when ?

    Unfortunately, E-Channelizer is a commercial product based on the GUI of the well-known DreamboxEdit. E-Channelizer in trial version has very poor functionality. So you can also use DreamboxEdit, which is free for everyone. DreamboxEdit should also be able to run on Linux - via the WINE emulator.

    Hello.


    The client does not know the reader named "Serial:Reader 43" but according to the client configuration (label=.......). In this case, under "au=......" the specified reader name must be used on the same Oscam client. The ideal setting is "au = 1", but it will try to send EMMs to all available readers (to all local readers + including all remote readers) from the Oscam client.


    kalliffen mentions the file "oscam.server" but forgot to write if this configuration file came from the oscam server or oscam client.


    Certainly, however, adding "au = 1" in the client configuration (in the "oscam.user" file on the softcam client side) should help. It is also useful to verify that "au" is not blocked ("audisabled = 1" inside the file "oscam.server" or blocked with other settings) on the oscam server side by some accident.


    Some providers send EMM refresh for entitlements via emm-g and emm-u. If you block them all, of course no EMMs will be sent to the decoder card. Ideally, it would be possible to find a configuration for a particular cryptography as well as for a particular provider, since each provider can use a different card-sharing protection or special principles of recording "entitlements". Conversely, if you enable EMMs that are "unwanted", they can in turn block the decoder card. It really is better if you find a configuration for your provider. I don't know whether blocking emm-u and emm-g will not cause problems when refreshing "entitlements".


    blockemm-unknown = 1

    blockemm-u = 1

    blockemm-g = 1


    More info here (I recommend to read it all):

    http://www.streamboard.tv/wiki/OSCam/en/AU

    Hello.


    In that case, I only find that the dude who invented or compiled the above Cccam deserves the punishment of shame :). I wonder what the reason was to cancel compatibility.


    Linux is getting worse than Windows. I understand dependency on kernel versions, but I don't understand dependency on library versions. Any scared developer can't program some of the code himself, so will he use the features of the 2.0.0 library? :) New libraries are suitable for use in full-featured Linux systems and can be used there for large projects (eg dvb headend). I do not understand when someone in such a small thing as Cccam has to use the latest libraries or a newer Linux kernel system. These developers are a shame to other developers because they absolutely do not think at all.


    This is the same as when we design new applications and games, basically only for the new Android 10 and not older versions. Only apps and drivers for Windows 10 and not for older versions of Windows. Apps and drivers and modules only for linux kernel 5.4 and no other - ie. without compatibility in older versions.


    In the textbook for beginners - developers for Android systems, at the beginning of the book reads:

    Try to keep the compatibility with the oldest version possible! Otherwise, no one will use your app.

    Verify that your links are created correctly:

    ls -al /usr/lib/libcrypt*


    This is what it looks like in OpenATV 6.3 Enigma:

    Code
    root@formuler3ip:~# ls -al /usr/lib/libcrypt*
    lrwxrwxrwx    1 root     root            17 Jun  9 20:28 /usr/lib/libcrypt.so.1 -> libcrypt.so.1.1.0
    -rwxr-xr-x    1 root     root        137664 Jun  9 20:28 /usr/lib/libcrypt.so.1.1.0
    lrwxrwxrwx    1 root     root            18 Jun 10 20:20 /usr/lib/libcrypto.so.0.9.7 -> libcrypto.so.1.0.2
    lrwxrwxrwx    1 root     root            18 Jun 10 20:20 /usr/lib/libcrypto.so.1.0.0 -> libcrypto.so.1.0.2
    -rwxr-xr-x    1 root     root       1774316 Jul 19 19:18 /usr/lib/libcrypto.so.1.0.2


    In order to achieve the above, creating links in the right way is as follows:

    Code
    cd /usr/lib
    ln -s libcrypt.so.1.1.0 /usr/lib/libcrypt.so.1
    
    # then check it again :
    ls -al libcrypt*


    Or try the following commands ... of course only for testing purposes ... create and then delete the "libscrypt.so.2" symbolic link:

    How about applying symbolic links to old-new versions of libraries ? :) Backward compatibility should almost always be maintained. Only new features are added and BUGs are being fixed. There will be little change in the output or use of functions in libraries.


    If it is a set-top-box and not some x86 machine with full Linux, so if there is no conflict of many other dependencies on the old library, then it is sufficient to use symbolic links.


    In the case of set-top boxes and Softcams, it is common practice to use symbolic links to older libraries that are already removed from the system, but sometimes cccam or oscam (or other softcam) still require them.

    Hello.


    How to activate the installed softcam in Enigma depends on the Enigma distribution you use (OpenATV, OpenVIX, OpenPLi, PureE2, BlackHole, etc.). Each Enigme may even have a different trigger procedure (provided you do not use the manual softcam installation method).


    Why do you actually use Cccam ? :-P Why not multi-protocol Oscam, which is very popular today ? :) Of course, oscam also handles the cccam protocol and of course it can act as both a softcam client and a softcam server.