Post

Compile OScam on Ubuntu (UPDATED: 05.01.2020)

Compiling Oscam on Ubuntu is quite easy, nothing to be afraid about. I use 18.04.1 LTS, but it also works on older and newer versions. There might be some changes in packages needed, please be aware of this.

You need to connect to your PC using telnet/ssh (use small little app called putty). Select all lines at the same time and copy paste them in putty. OS will start to install packages. I cleaned up the list (there should be no errors), some might be not needed at all, but it doesnt hurt really.

apt-get install cvs subversion autoconf libccid automake libtool gettext make cmake tar bzip2 gzip patch ncurses-bin gcc g++ flex bison pkg-config pcsc-tools pkg-config wget libpcsclite1 libpcsclite-dev libusb-dev libssl-dev libpnglite-dev pngquant zlib1g-dbg zlib1g-dev zlib1g zlibc dialog build-essential mercurial minizip

Install this package only if you have Smargo cardreader (there might be newer version on sourceforge site, please check first):

wget http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.8/libusb-1.0.8.tar.bz2
tar xjf libusb-1.0.8.tar.bz2
cd libusb-1.0.8
./configure; make; make install

Now we are ready for next steps!

cd .. (you need to come to the root of your sistem)
svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn   # you can also add -r xxxx at the end, if you want to download specific version of oscam. Very useful, especially if newer versions of OScam are very unstable!
cd oscam-svn
mkdir build
cd build
cmake ..
make
make install (this command will install oscam to /usr/local/bin folder!! - if you have already oscam binary there, please backup it)

Now you need to chmod oscam file to 0755. Use these commands:

cd /usr/local/bin

chmod 755 oscam

You also need to setup automatic startup with boot. Execute these commands:

nano /etc/rc.local

Before “exit 0” line write this line:

/usr/local/bin/oscam -b

Press CTRL+C and confirm changes with Y.

Now you need to create oscam config files and transfer them to /usr/local/etc. You will also be able to use PSCS (Omnikey for example) and Smargo cardreaders!

For discussion please visit thread here:

https://www.satnigmo.com/forum/index.php?threads/compiling-oscam-in-ubuntu.547/

Powered by moviekillers.com.com