Post

Compile OScam on Ubuntu

You need to connect to your PC using telnet (putty). Select all three lines at the same time and copy paste them in putty (telnet). OS will start to install packages.

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 libpng3 libpcsclite1 libpcsclite-dev libusb-dev libssl-dev libpng12-0 libpng12-dev libpng3 libpnglite-dev pngquant zlib-bin zlib1g-dbg zlib1g-dev zlib1g zlibc dialog build-essential mercurial

Install this package only if you have Smargo cardreader:

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 final steps!

cd .. (you need to come to the root of your sistem)
svn co http://streamboard.de.vu/svn/oscam/trunk oscam-svn   # you can also add -r xxxx at the end, if you want to download specific version of oscam. Lets say 7190. Very useful, especially if newer versions of OScam are very unstable!
cd oscam
mkdir build
cd build
cmake ..
make
make install (this command will install oscam to /usr/local/bin folder!!)

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.

This is it! 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:

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

Powered by moviekillers.com.com