OSCam compiling 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 wget libpng3 pkg-config wget libpng3 libpcsclite1 libpcsclite-dev libusb-dev libssl-dev libpng12-0 libpng12-dev libpng3 zlib1g-dbg zlib1g-dev zlib1g zlibc dialog build-essential mercurial hal

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://oscam.to/svn/oscam/trunk oscam
cd oscam
mkdir build
cd build
cmake -DWEBIF=1 ..
make
make install

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" 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!

----------------------------

Or you can use the simple script below, to do all the job for you and to have it cross compiling for the various platforms.

Remark : Often on a new install there is no SSH, here is the install command "sudo apt-get install openssh-server"


Attachments
oscam-easy-build.v1.0.0f.tar.zip (18 downloads)
libusb-1.0.8.tar.zip (12 downloads)

_________________________
DM8000, DM800se, DM500HD, DM800HD, DM7025, DM7020s, DM7000, DM500s
VU+ Solo, VU+ Uno, VU+ Duo, Kathrein UFS910
Tivusat, TNTSat, Fransat, SSR/TSR, BBC1-2-3/ITV
DE-OpenBlackHole 1.4 image : http://www.openblackhole.com/