Building Oscam for Linux (Ubuntu)

There are 8 replies in this Thread which was already clicked 5,925 times. The last Post () by gull0815.

  • master G

    Approved the thread.

  • you have to rename the file "oscam-1.20_svn11711-x86_64-linux-gnu-static" to oscam and move it to /usr/local/bin


    if you want you can follow my, lets say guide, i have wrote down the steps i have took.

    i just have built an oscam ubuntu server with 4 pcsc readers on a thin client hp 32bit


    this guide was for Debian but i have modified it for my needs


    sudo 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


    wget http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.26/libusb-1.0.26.tar.bz2


    tar xjf libusb-1.0.26.tar.bz2


    cd libusb-1.0.26


    ./configure; make; make install


    Now we are ready for next steps!


    cd .. (you need to come to the root of your system)


    svn checkout https://git.streamboard.tv/common/oscam.git/ oscam-git


    wget https://github.com/oscam-emu/oscam-emu/raw/master/oscam-emu.patch


    cd oscam-svn


    sudo patch -p0< ../oscam-emu.patch


    mkdir build

    cd build

    cmake -DWEBIF=1 -DHAVE_DVBAPI=1 ..

    make

    sudo 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

    sudo chmod 755 oscam


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


    sudo vi /etc/rc.local  press i to write in vi editor


    Before “exit 0” line write this line:


    Code
    /usr/local/bin/oscam -b


    Esc wq to exit vi editor


    Now you need to create oscam config files and transfer them to /usr/local/etc.


    sudo vi /usr/local/etc/oscam.conf



    Code
    [global]
    [webif]
    httpport                      = 81
    httpuser                      = root
    httppwd                       = your password
    httpallowed                =  127.0.0.1,192.168.0.1-192.168.255.255

    Edited once, last by master G: updating svn checkout ().

  • svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn


    This link is no more work


    Code
    svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn
    Redirecting to URL 'https://www.streamboard.tv/svn/oscam/trunk':
    Redirecting to URL 'https://svn.streamboard.tv/oscam/trunk':
    svn: E170013: Unable to connect to a repository at URL 'https://svn.streamboard.tv/oscam/trunk'
    svn: E175009: The XML response contains invalid XML
    svn: E130003: Malformed XML: no element found

OSCam-EMU Support Forum

Configs, discussion, downloads and guides for OSCam-EMU Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!