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

This tutorial explains how to install a softcam (OSCam or CCcam) manually — useful if you would rather not use IPK packages.

Connecting to Your Box with PuTTY

  1. Find the IP address of your set-top box — check your Wi-Fi router under LAN clients, or look in the GUI menu of the box.
  2. Download PUTTY.EXE to your Windows desktop (if you are on Windows): linuxsat-support.com/filebase/file/142/
  3. Start PuTTY, enter the IP address of your box, choose the Telnet or SSH connection type, and open the connection. Log in as root; the password is empty by default (just press Enter).
  4. You are now connected to the command line (Shell) on your box. Continue with the instructions below.

Remove the Current OSCam IPK Package

If you already have OSCam installed as an IPK package, you must first stop the service and uninstall the entire IPK package with the following commands (in PuTTY):

Code
top | grep cam                       # to display running processes containing the term "cam", then cancel displaying with CTRL+C
killall -9 <softcam_process_name>

opkg list-installed | grep cam       # you get a list of installed packages that contain the word "cam"
opkg remove <softcam_package_name>   # remove the installed softcam package (oscam/cccam) which you want to replace

Installing the Softcam (OSCam) Manually

1. Identify Your Chipset / CPU Architecture

First, find out what chipset / CPU architecture your box uses: mipsel, armv7, aarch64, sh4, etc. You can also obtain this via the Shell:

uname -m

…or…

[ -d /etc/dpkg ] && dpkg --print-architecture || opkg print-architecture

2. Download the Correct OSCam Binary

Download the OSCam binary you need, depending on the chipset / architecture. If it comes as an archive (.rar / .zip / .7z / .tar.gz), unpack it first. Then upload the binary file to your box via FTP.

3. Open a Connection

If you haven't already, open a Telnet / SSH connection to your box (using PuTTY).

4. Set Permissions and Test

First, set the execute attribute on the binary file, then test whether it works — for example by displaying its information with --help. If it doesn't work, you probably downloaded the wrong binary for a different chipset.

(Note: in Total Commander, via the built-in FTP client, you can set the file attributes to 755 instead of using chmod a+x /path/file in the Shell.)

Code
chmod a+x /usr/bin/oscam
/usr/bin/oscam --help

5. Install the Auto-Start Script

Download the auto-start script, set its run level and enable the execute attribute. Here is the sequence of commands for the Shell:

Code
wget -O /etc/init.d/softcam --no-check-certificate https://github.com/s3n0/e2scripts/raw/master/softcam
chmod a+x /etc/init.d/softcam
update-rc.d softcam defaults 90  # to remove: update-rc.d -f softcam remove
reboot

That's all.

Notes

The standard run level of Linux on most Enigma editions is 3, so we use just the /etc/rc3.d directory — this single run level is sufficient. You can check the current run level with:

runlevel

If the update-rc.d command does not work, use the following command instead:

ln -sf /etc/init.d/softcam /etc/rc3.d/S90softcam

…and to remove it in future, use:

rm -f /etc/rc3.d/S90softcam

If the softcam binary also contains the Webif module, you can verify it is working via the web interface:

  • OSCam Webif: http://box_IP_address:8888
  • CCcam Webif: http://box_IP_address:16001

Unfortunately, in some cases the binary also depends on particular versions of the libraries and modules present in the Linux system, so not every binary will work even if it is designed for your chipset.

If you use OpenATV / OpenPLi, or another Enigma image with similar softcam support (Softcam management), use the wget command to download the softcam file (with the appropriate extension) to the /etc/init.d folder.

Important Note for CCcam

If you need to use this /etc/init.d/softcam script for CCcam, edit the script: in the USER SETUP section at the beginning, change the variables needed for CCcam (or modify as required).

Reference

https://www.linuxsat-support.com/cms/attachment/168198-installing-softcams-on-enigma2-2021-03-24-zip/

More Articles

OSCam-EMU Device Compatibility List !!!

Navigation

  1. Donate
  2. Articles
  3. FileBase
  4. Forum
  5. Gallery
  1. Contact
  2. My Account
  3. Forum Rules & ToS
  4. Privacy Policy
  5. Cookie Policy
  6. Legal Notice

Current Location

This site uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.