Results 1 to 2 of 2

Thread: Tuto Installation Oscam Sous Ubuntu

  1. #1
    Administrator totox69's Avatar
    Join Date
    04-01-2006
    Location
    Autre
    Posts
    24,123
    Uploads
    6,751

    Tuto Installation Oscam Sous Ubuntu


    Ci-desssous un tutorial pour installer rapidement et facilement votre Emu OScam Sous Ubuntu


    1) Préparation pour l'installation ( Oscam a besoin de ces Package) :


    apt-get update
    apt-get install build-essential
    apt-get install libssl-dev libpcsclite-dev
    apt-get install mercurial cvs subversion libncurses-dev
    apt-get install cmake


    2) Oscam compile:


    cd /usr/src
    svn co http://streamboard.de.vu/svn/oscam/trunk oscam
    cd oscam
    sudo apt-get install cmake
    cmake -DWEBIF=1 -DPCSC=1
    make

    cp oscam /usr/local/bin

    2) Oscam compile ( méthode de bilou92 ). New

    Merci a bilou92 pour la nouvelle procédure

    Pour info:
    le programme CMAKE (cmake install) n'est plus utilisé par la team oscam, donc vous n'aurez que compiler vos oscam's avec la commande (make).


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


    Vous copiez le binaire que vous allez trouver sur (oscam-svn/distribution) sur (usr/local/bin) et lancer votre oscam.

    3) Suppression dossier de compilation d'oscam


    cd ..
    rm -rf oscam


    4) les attributs d'oscam


    cd /usr/local/bin
    chmod 755 oscam


    5) lancement automatique d'oscam


    sudo nano /etc/rc.local
    ajoute la ligne suivante : /usr/local/bin/oscam -b
    avant la ligne "exit0"




    après il faut créer les fichiers ci-dessous selon votre configuration et les mettre dans /usr/local/etc :


    - oscam.conf
    - oscam.server
    - oscam.user
    - oscam.services
    - oscam.provid
    - oscam.srvid



    Ci-dessous un exemple des fichiers d'oscam. ( ATT : il faut adapter oscam celon vos besoin et vos readers et users)


    Oscam.conf


    # oscam.conf generated automatically by Streamboard OSCAM 1.10rc-svn build #6089
    # Read more: http://streamboard.de.ve/svn/oscam/t...oscam.conf.txt
    [global]
    usrfile = /tmp/oscamuser.log
    logfile = /tmp/oscam.log
    cachedelay = 120
    nice = -19
    preferlocalcards = 1
    saveinithistory = 1
    lb_mode = 1
    lb_save = 200
    [monitor]
    hideclient_to = 15
    appendchaninfo = 1
    [cccam]
    port = ******
    reshare = 2
    ignorereshare = 1
    version = 2.1.3
    updateinterval = 60
    minimizecards = 1
    stealth = 1
    nodeid = 08EA37B810D714FC
    reshare_mode = 1
    [dvbapi]
    enabled = 1
    au = 1
    boxtype = dreambox
    user = serveur800
    [webif]
    httpport = *******
    httphelplang = fr
    httpuser = *********
    httppwd = **********
    httprefresh = 30
    httpallowed = 127.0.0.1,192.168.1.4-192.168.1.100
    httphideidleclients = 2







    Oscam.user


    [account]
    user = **********
    pwd = *********
    group = 1
    cccmaxhops = 2


    [account]
    user = *********
    pwd = ********
    group = 1
    cccmaxhops = 2







    Oscam.server


    # oscam.server generated automatically by Streamboard OSCAM 1.10rc-svn build #6089
    # Read more: http://streamboard.de.vu/svn/oscam/t...cam.server.txt
    [reader]
    label = tntsat
    protocol = internal
    device = /dev/sci0
    caid = 0500
    detect = cd
    mhz = 368
    cardmhz = 357
    aeskeys = 0500@030B00:****************
    group = 1
    emmcache = 1,3,2


    [reader]
    label = *************
    protocol = cccam
    device = *************
    user = ****************
    password = **************
    group = 1
    cccversion = 2.1.3
    cccmaxhops = 1
    ccckeepalive = 1



    Oscam.srvid




    #
    # service ID configuration
    # format: CAID[,CAID]...:service ID|[provider]|[name]|[type]|[description]
    #
    #
    # DVB-S - TNTSAT France - Astra 19.2E
    # Date: 2011-09-26
    #
    0500:1F44|TNTSAT 19.2E|NRJ 12|TV|Music|
    0500:1F57|TNTSAT 19.2E|France 3 Sat|TV|General|
    ...................................



  2. #2
    Administrator totox69's Avatar
    Join Date
    04-01-2006
    Location
    Autre
    Posts
    24,123
    Uploads
    6,751

    Re: Tuto Installation Oscam Sous Ubuntu

    Tutorial: Oscam installation Ubuntu


    There are lot of different howto's around when you search for 'Oscam installation instructions'. To start this could not make things easy.
    That's why i made this tutorial.
    First we must make sure we can install repository's (PPA):
    For Ubuntu 12.04


    sudo apt-get install python-software-properties
    For Ubuntu 12.10 and up
    @sudo apt-get install software-properties-common Now we add the Oscam repository:

    sudo apt-add-repository ppa:oscam/ppa
    sudo apt-get update Install oscam:
    • oscam-svn (trunk version)
    • oscam (latest stable version)
      sudo apt-get install oscam

    When the installation is done stop the oscam service:

    sudo service oscam stop Now we need to edit some files, so we need to know where this files are located:

    dpkg -L oscam Below are the three files we need to edit.
    /etc/oscam/oscam.server
    /etc/oscam/oscam.user
    /etc/oscam/oscam.conf
    First we make sure we backup those files before editing:

    cd /etc/oscam
    sudo mv oscam.conf oscam.conf.bak
    sudo mv oscam.server oscam.server.bak
    sudo mv oscam.user oscam.user.bak sudo nano oscam.conf
    oscam.conf
    NOTE: Be sure you edit the lines 42, 43 and 45.
    sudo nano oscam.server
    oscam.server
    sudo nano oscam.user
    oscam.user
    NOTE: Be sure you add the right CAID on oscam.server line 9 and oscam.user line 6 and 7.
    • Ziggo/Casema CAID 0602
    • Ziggo/Multikabel CAID 0604
    • Ziggo/@Home CAID 0604

    Now start Oscam, and tail the log:

    sudo service oscam start
    sudo tail -f /var/log/oscam/oscam.log And be sure this lines are showed:
    2012/05/27 14:21:30 147E2B0 r found cardsystem irdeto
    2012/05/27 14:21:30 147E2B0 r entitlements for provider: 1, id: 024342
    2012/05/27 14:21:30 147E2B0 r chid: 254F, date: 2007/03/17 - 2007/03/31
    2012/05/27 14:21:30 147E2B0 r chid: 0003, date: 2012/05/27 - 2012/06/26
    2012/05/27 14:21:30 147E2B0 r chid: 0344, date: 2012/05/27 - 2012/06/26
    2012/05/27 14:21:30 147E2B0 r chid: 000F, date: 2012/05/27 - 2012/06/26
    2012/05/27 14:21:30 147E2B0 r chid: FFE3, date: 2012/05/27 - 2012/06/26
    2012/05/27 14:21:36 147E2B0 r [irdeto-reader] ready for requests
    Now Oscam is ready.
    Tvheadend

    Now start your browser and load Tvheadend.
    http://your.ip:9981
    Go to: Configuration > CSA > Code Word Client
    Choose: Add entry
    Enabled: Yes
    Hostname: 127.0.0.1
    Port: 15050
    Username: tvheadend
    Password: tvheadend
    DES Key: 01:02:03:04:05:06:07:08:09:10:11:12:13:14
    Update Card: Yes
    Show system log in the lower right corner and choose 'save changes'
    This will give you an output:
    May 27 14:24:41 cwc: Connected to 127.0.0.1:15050
    May 27 14:24:41 cwc: 127.0.0.1: Connected as user 0x01 to a Irdeto-card [0x0604 : 00.00.00.00.19.34.19.d0] with 5 providers
    May 27 14:24:41 cwc: 127.0.0.1: irdeto card
    May 27 14:24:41 cwc: 127.0.0.1: Provider ID #1: 0x000000 00.00.00.00.00.03.45.20
    May 27 14:24:41 cwc: 127.0.0.1: Provider ID #2: 0x000001 00.00.00.00.01.ff.ff.ff
    May 27 14:24:41 cwc: 127.0.0.1: Provider ID #3: 0x000002 00.00.00.00.01.ff.ff.ff
    May 27 14:24:41 cwc: 127.0.0.1: Provider ID #4: 0x000003 00.00.00.00.01.ff.ff.ff
    May 27 14:24:41 cwc: 127.0.0.1: Provider ID #5: 0x000004 00.00.00.00.00.00.00.00
    May 27 14:24:41 cwc: 127.0.0.1: Will forward EMMs


    The last line forward EMMs will update your Ziggo card, otherwise you have to re-activate your ziggo card once in a while in your Ziggo decoder.

Similar Threads

  1. Installation dyndns facilement sous ubuntu/linux by jankeskhan
    By jankeskhan in forum Information et Tutoriels
    Replies: 0
    Last Post: 18-04-2014, 20:46:20
  2. Urgent oscam & cccam sous ubuntu 11.10
    By totalfree in forum French / Français
    Replies: 3
    Last Post: 21-01-2012, 10:07:25
  3. New Tuto Oscam sous Forever 7420 !!!
    By debdoub in forum French / Français
    Replies: 0
    Last Post: 20-10-2011, 19:26:42
  4. Question installation CCcam 2.2.1 sous ubuntu 10.04?
    By d3.lim in forum French / Français
    Replies: 4
    Last Post: 24-12-2010, 13:25:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •