Oscam Easy Build Script & Quick HowTo

There are 25 replies in this Thread which was already clicked 16,242 times. The last Post () by RonDiamond.

    • Official Post

    if i insert in main menu number 0 i see
    please install dialog package
    what is this ? thx


    The script assumes you have all dependencies installed to compile oscam, do this.


    Code
    sudo apt-get update


    Then

    Code
    sudo apt-get install dialog


    You may well get more so just install them with the sudo apt-get install command.

  • The script assumes you have all dependencies installed to compile oscam, do this.


    Code
    sudo apt-get update


    Then

    Code
    sudo apt-get install dialog


    You may well get more so just install them with the sudo apt-get install command.


    very thx for answer , but
    if i install new oscam i see this message
    libcrypto 0.9.8 build-error

  • ive installed this oscam easy build in centos tonight but i get no option in oscam setup 0 to select reader





    OSCam-Easy-Script v1.0.4e
    Easy-Info
    #####################################


    Main-Settings:
    OSCam SVN-Version #: 8627
    WEBIF: ON
    LIBUSB: OFF
    PCSC: OFF
    LIBCRYPTO: v.0.9.8


    thanks for any help

  • ive sorted the above
    so i put it on my brothers debian for him
    however it compiles and works except i get no webif, oscam runs and it was selected in the build tried it twice,
    but i do see an error get a notice somthing like
    sed error no webif module ? any ideas
    foz

  • I tried the script but I stuck on first step (Oscam-setup).
    Here is the output:
    Select target (0-7)? 0
    ./make.sh: line 1417: ./config.sh: No such file or directory
    cat: ./config.h: No such file or directory

  • I didn't get it to work but these steps did.. not mine but easy to follow and maybe useful to someone:


    OSCam with PC/CS card reader support



    If you like to setup a Linux Server and using OSCam with a local card, you need a card reader.


    Here is a simple tutorial on how to get a card reader up and running.


    This tutorial will work for most reader out there:
    Omnikey
    Keyboard with card reader
    Integrated reader in a portable computer



    This should work on Ubuntu 12.x and up (and other Linux distro)


    Install needed software
    apt-get install subversion make gcc pcscd pcsc-tools libpcsclite-dev
    subversion -> file/documents controll system, compiling
    make -> compiling tools
    gcc -> compiling tools controlling process
    pcscd -> PC/SC Smart Card Daemon
    pcsc-tools -> Adds pcsc_scan, a too for scanning PC/SC Smart Card
    libpcsclite-dev -> Middleware to access a smart card using PC/SC - files need for compiling and linking app to reader


    You can update the card list for the PC/SC software (optional)
    wget http://ludovic.rousseau.free.f…-tools/smartcard_list.txt --output-document=/root/.smartcard_list.txt


    Test if cardreader is found and working
    Run:
    pcsc_scan
    Insert and remove card, and you should see some like this:
    0: HP USB Smart Card Keyboard [CCID Interface] (0819ffc3) 00 00


    Wed Apr 9 08:34:44 2014
    Reader 0: HP USB Smart Card Keyboard [CCID Interface] (0819ffc3) 00 00
    Card state: Card inserted,
    ATR: 3C 24 00 20 4A 10 20


    ATR: 3C 24 00 20 4A 10 20
    + TS = 3B --> Direct Convention
    + T0 = 24, Y(1): 0010, K: 4 (historical bytes)
    TB(1) = 00 --> VPP is not electrically connected
    + Historical bytes: 30 42 30 30
    Category indicator byte: 30 (proprietary format)


    Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
    3C 24 00 20 4A 10 20
    ComHem Digital-TV smartcard (Sweden)
    TNK Telewizja Na Karte (Poland) - Conditional access system : Conax (Sweeden)
    http://telewizjanakarte.pl/



    Wed Apr 9 08:34:57 2014
    Reader 0: HP USB Smart Card Keyboard [CCID Interface] (0819ffc3) 00 00
    Card state: Card removed,
    Press CTRL-C to exit.
    The 0: and Reader 0, tells you that this is reader 0 in OScam


    Get and install OSCam (will download latest build)
    cd /tmp
    svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn
    cd oscam-svn


    Compile OSCam with PC/SC support
    make USE_PCSC=1


    All this lines should bee included to tell you that PC/CS support is added
    | CFLAGS = -DWITH_PCSC=1 -I/usr/include/PCSC
    | LDFLAGS = -Wl,--gc-sections -DWITH_PCSC=1 -I/usr/include/PCSC
    | LIBS = -lpcsclite -lpthread -ldl -lrt
    | UseFlags = USE_PCSC=1
    | Binary : Distribution/oscam-1.20-unstable_svn9646-x86_64-linux-gnu-pcsc
    CC csctapi/ifd_pcsc.c
    LINK Distribution/oscam-1.20-unstable_svn9646-x86_64-linux-gnu-pcsc.debug
    STRIP Distribution/oscam-1.20-unstable_svn9646-x86_64-linux-gnu-pcsc


    Copy it to bin directory (replace 9668 with your downloaded version)
    cd Distribution
    mkdir /var/bin
    cp oscam-1.20-unstable_svn9668-i686-linux-gnu /var/bin/oscam9668


    Start OSCam
    /var/bin/oscam9668 -b


    Find Web port (normal 8888)
    netstat -topan | grep oscam


    Launch webif OSCam
    http://ip:8888



    Add reader
    Reader -> Add Reader
    # Give a propper name
    Enable: X
    Device: 0 #Use device name found by pcsc_scan, remember to reboot after adding new device
    Group: 1
    Emmcache: 1,3,2


    To see new reader if OScam is 9668 or newer, do
    Readers -> Reload Readers
    for older version
    Reload OScam

OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

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