oscam start and stop instantly

There is 1 reply in this Thread which was already clicked 525 times. The last Post () by s3n0.

  • Hi.


    How do you use (start and stop) Oscam ?


    Do you use "/etc/init.d/softcam" script ? Or did you install your Oscam with a .deb package and then start / stop via the GUI MENU (that is, through the Python code - under Enigma2 - for example under Softcam Panel) ?


    Maybe Merlin has the same problem as with the newer OpenATV:


    The Softcam startup method in OpenATV is performed by immediate stopping and then immediate starting - without a wait loop. The init.d script is called with the "stop" argument and immediately without waiting again with the "start" argument. However, some "init.d" softcam scripts have a problem with this.


    Simply put - the script code fails to make the required stop / start Oscam in time. As a result of the unfinished first softcam "init.d" running script with the "start" argument, a copy of the script and this second script are called immediately, the first script still being executed and the second just running. The first run of the script with the "stop" argument will stop after the second init.d script with the "start" argument has been run and the first script will stop Softcam again. This is a complicated problem with some "init.d" Oscam scripts.


    So first, I recommend trying to run your Oscam manually - in Shell / command-line. If Oscam starts up, test if OscamWebif is active and working. If it works, the problem is probably with the Oscam launch. It depends on which method of starting the process (daemon) is used for your Oscam.

OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!