Express guide how to install OScam on (L)Ubuntu linux OS. Guide can be used also for RaspBerry Pi 3 board.
Attention: Here is updated tutorial 2019: OScam installation on Raspberry Pi (Raspbian Stretch, Debian or Ubuntu)
OScam building and installation:
$ sudo -i # aptitude update # aptitude upgrade # aptitude install subversion cmake build-essential libssl-dev libpcsclite1 libpcsclite-dev dialog libusb-1.0-0-dev # svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn # cd oscam-svn # mkdir build # cd build # cmake .. # make # exit $ sudo make install $ sudo chown myuser:myuser /usr/local/etc/ -R - upload your OScam configs to /usr/local/etc $ sudo oscam
Service startup script:
$ sudo -i # vi /etc/init.d/oscam
#! /bin/sh ### BEGIN INIT INFO # Provides: Oscam # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Oscam init script # Description: Launch oscam at startup ### END INIT INFO DAEMON=/usr/local/bin/oscam DEAMON_OPTS="-b -r 2" PIDFILE=/var/run/oscam.pid test -x ${DAEMON} || exit 0 . /lib/lsb/init-functions case "$1" in start) log_daemon_msg "Starting OScam" start-stop-daemon --start --quiet --background --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} -- ${DAEMON_OPTS} log_end_msg $? ;; stop) log_daemon_msg "Stopping OScam" start-stop-daemon --stop --exec ${DAEMON} log_end_msg $? ;; force-reload|restart) $0 stop $0 start ;; *) echo "Usage: /etc/init.d/oscam {start|stop|restart|force-reload}" exit 1 ;; esac exit 0
# chmod 775 /etc/init.d/oscam # update-rc.d oscam defaults
If you want to skip building of OScam you can download binary file “oscam” for RBPi3 ARM CPU here and put it into folder /usr/local/bin. OScam SVN version 11272 (7.7.2016)
Now you can access your OScam on http://IPAddress:8888 and continue with configuration.
If you want connect your satellite receiver to the newly installed OScam server – click here for tutorial.
i have a question. at the point “exit … sudo make install”, I always get “make: *** No rule to make target ‘install’. Stop.” and i have really absolutely no idea what is going on there… can you help me?
I Try it on a Cubietruck with a Debian Xenial Rom.
Hi, You probably you didn’t passed necessary dependencies to build configuration file.
😥 same problem…
i have a same problem. please give me the best solution…
cd /root/oscam-svn/build/
sudo make install
I tested it with 11272 but the problem is that i cant get oscam to the backgroud after i start the script with “oscam start”.
im on Ubuntu 16.04.1
Any ideas ?
I don’t understand your question. Are you trying to run OScam as a service on background or you want to see it on foreground? You just need to follow my tutorial and after update-rc.d run command “service oscam start” or “service oscam stop” and then look into logs or open web interface localhost:8888.
Hello’I think that the powerfull cccam servers are those from satelit.cards,and they also provide free cccam test.But tis is just my opinion.
Greate tutorial!! worked perfect.
nice job
please explain how update after release new version oscam
Hi, just checkout/pull again latest source code from svn, make/compile and replace older oscam (path: /etc/init.d/oscam) with new one.
so in short to update:
cd oscam-svn
svn update
cd build
make install
or to revert back to 11272 version
cd ~/oscam-svn
svn update -r 11272
cd build
make install
hello
could you give the best solution for my problem:
exit … sudo make install”, I always get “make: *** No rule to make target ‘install’. Stop
what should i do for the problem above
Was the “make” command successfully proceeded?
Seems like you’re in wrong folder…
“make” successfull proceeded
in folder /root/oscam-svn/build
please ask your email
root@ubuntu:~# cd oscam-svn
root@ubuntu:~/oscam-svn# cd build
root@ubuntu:~/oscam-svn/build# make install