How to connect oscam with cccam?

There are 47 replies in this Thread which was already clicked 87,155 times. The last Post () by billy1234.

    • Official Post

    You need N line. It looks like this:


    N: 127.0.0.1 20000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14


    In oscam.conf file you need to have these lines:
    [newcamd]
    key = 0102030405060708091011121314
    port = 34000@1830:003411


    Key line is always the same. Port line is always different, it depends on card that you have. Port number (34000) can be anything. Its your choice.


    Oscam.user file is also important. Look for these lines:
    user = user
    pwd = pass


    You can choose password and username yourself.


    And with all this info we can make N line:


    N: 127.0.0.1 34000 user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14


    Now we can add this N line to cccam.cfg and thats it. Oscam is now connected to cccam. We can also add 256 to the end of N line. With this trick cccam see our oscam card as local. This trick doesnt work with 2.1.4 cccam version.

  • Solution above is one of the options.
    Oscam can act as cccam client and server. Other solution allows you to use C line. In this case each C line need to be added as [reader] in oscam.server (we're the client).
    Here is an example.


    You get C line C: 192.168.0.5 45678 user4 password4
    [reader]
    label = remote4
    protocol = cccam
    device = 192.168.0.5,45678
    user = user4
    password = password4
    group = 4
    caid = 0400
    cccversion = 1.2.34
    cccbuild = 5678


    There are many more options that can be set up with such virtual reader (like max hops, etc), all can be found on oscam wiki pages.


    If you wish to run oscam as cccam server, just add your config to oscam.conf like here
    [cccam]
    port = 40000
    version = 1.2.3
    build = 1234
    reshare = 2


    You need to add user entries in oscam.user for your clients. And you can send them C line that connects to your oscam/cccam server
    [account]
    user = user2
    pwd = password2
    monlevel = 1
    uniq = 0
    group = 2
    au = reader2
    services = services2
    ident = 0200:000000
    caid = 0200

  • How to oscam ccam scrip cotrol and restart DM800



    Here is the script : CccamOscam.sh


    IP="127.0.0.1"
    ERRORLOG="/tmp/error.log"


    #CCcam Options#########
    CCCAMPORT="12000" #
    CCCAMVERSION="_2.1.4" #
    CCCAMPATH="/usr/bin/" #
    #######################


    #oscam Options#########
    OSCAMPORT="34000" #
    OSCAMVERSION="_0.99.4"#
    OSCAMPATH="/usr/bin/" #
    #######################
    CCCAMCHECK=nc $IP $CCCAMPORT
    OSCAMCHECK=nc $IP $OSCAMPORT
    if [ $CCCAMCHECK = ]
    then
    echo && date >> $ERRORLOG
    echo "CCcam is frozen, restarting CCcam" >> $ERRORLOG
    killall CCcam$CCCAMVERSION
    killall oscam$OSCAMVERSION


    $OSCAMPATH && oscam && $OSCAMVERSION &
    sleep 15
    $CCCAMPATH && CCcam && $CCCAMVERSION &


    else
    echo "Cccam is responding like it should"
    fi


    if [ $OSCAMCHECK = ]
    then
    echo && date >> $ERRORLOG
    echo "oscam is frozen, restarting CCcam" >> $ERRORLOG
    killall CCcam$CCCAMVERSION
    killall oscam$OSCAMVERSION


    $OSCAMPATH && oscam && $OSCAMVERSION &
    sleep 15
    $CCCAMPATH && CCcam && $CCCAMVERSION &


    else
    echo "oscam is responding like it should"
    fi

  • Hi 2 all,
    I also done with oscam server runnng on dm500, the account run with newcamd in cccam.cfg is working, but other acc that i share not run, its alway reject. so what haapen with may server.


    here is my config:


    oscam.cfg


    [global]
    logfile = stdout
    cachedelay = 1
    unlockparental = 1
    nice = -1
    maxlogsize = 128
    waitforcards = 0
    saveinithistory = 1


    [monitor]
    port = 16003
    nocrypt =
    aulow = 30
    hideclient_to = 15
    monlevel = 2
    appendchaninfo = 0


    [newcamd]
    port = 12000@0500:022010,022050,022400,FFF620;12001@0604:000000
    key = 0102030405060708091011121314
    allowed =
    keepalive = 1
    mgclient = 0


    [cccam]
    port = 53232
    reshare = 1
    ignorereshare = 0
    forward_origin_card = 1
    version = 2.2.1
    updateinterval = 240
    minimizecards = 0
    keepconnected = 1
    stealth = 1
    reshare_mode = 0


    [webif]
    httpport = 16002
    httphelplang = en
    httpuser = root
    httppwd = root
    httprefresh = 10
    httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255
    httpdyndns = xxxxx.no-ip.org
    httphideidleclients = 0
    httpreadonly = 0
    httpsavefullcfg = 0


    oscam.user


    [account]
    user = dummy
    pwd = dummy
    group = 1
    cccmaxhops = 5


    [account]
    user = test1
    pwd = test
    group = 1
    hostname = 127.0.0.1
    uniq = 2
    sleep = 5
    au = 1
    caid = 0500
    cccmaxhops = 5


    oscam.server


    [reader]
    label = testkplus.dyndns.org
    enable = 1
    protocol = cccam
    device = xxxxx.dyndns.org,30000
    user = uesr
    password = pass
    inactivitytimeout = 1
    reconnecttimeout = 30
    fallback = 1
    fix9993 = 0
    group = 1
    blockemm-unknown = 1
    blockemm-u = 1
    blockemm-s = 1
    blockemm-g = 1
    lb_weight = 100
    cccversion = 2.1.2
    cccmaxhops = 10
    cccmindown = 0
    ccckeepalive = 1


    acc dummy run nomarly on local, but acc test not run, its connect then reject.


    pls help me, thanks







  • so if then after this i want to give n line to someone else how does this work?

  • you give someone n line like this


    N: yourdns.no-ip.org 34000 username( you create this in oscam.user ) password( you create this in oscam.user ) 01 02 03 04 05 06 07 08 09 10 11 12 13 14


    You must setup port forward for your newcamd port number


    You must set up new user details in oscam.user like this


    [account]
    user = newuser
    pwd = newuser
    group = 1( whichever group your card is )
    uniq = 0
    au = 0
    caid = 0500 ( your caid )
    cccmaxhops = 2



    try that


    regards


    new2

    Dont forget to hit the thanks button!!!!!!!!!!!!!



    :41_002:



    Some articles may discuss topics that are illegal, so this information is provided for educational purposes only, your use of the content, downloads and files, or any part thereof, is made solely at your own risk and responsibility. Viewing Pay TV without a valid subscription is illegal. !! Linuxsat-Support.com cannot be held responsible for the content of any information stored or posted on this forum.



  • HI mate Just reading your thread, m8 i have a *** card inserted into internal card slot in the technomate tm500super. im using oscam r1851 +cccam V2104. My problem is that in cccam web server 192.168.x.xx:16001 i cant see the local *** card but see my client. This is my config M8. I would appreciated take a look for me.Thanks


    OSCAM CONFIG
    [global]
    Nice = -1
    saveinithistory = 1
    LogFile = stdout
    Level = 15
    CacheDelay = 120


    [newcamd]
    key = 0102030405060708091011121314
    port = 15000@0963:000000
    keepalive = 1


    [webif]
    httpport = 17000
    httpuser = user
    httppwd = password
    httprefresh = 10
    httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255



    OSCAM SERVER

    [reader]
    label = ***uk
    enable = 1
    protocol = internal
    detect = cd
    device = /dev/sci0
    caid = 0963
    ident = 0963:000000
    group = 1
    BoxID = XXXXXXXX
    mhz = 500
    cardmhz = 500
    EMMCache = 1,3,2
    blockemm-g = 1
    blockemm-unknown = 1
    blockemm-u = 0
    blockemm-s = 0
    lb_weight = 101


    OSCAM USER
    [account]
    user = dummy
    pwd = dummy
    group = 1
    uniq = 1
    caid = 0963
    ident = 0963:000000
    AU = ***uk
    monlevel = 2


    CCAM.CFG
    #####################
    #CCcam.cfg settings #
    #####################
    SERVER LISTEN PORT : 51000
    ALLOW TELNETINFO: yes
    ALLOW WEBINFO: yes
    SHOW EXTENEDED CLIENT INFO : yes
    WEBINFO LISTEN PORT : 16001
    WEBINFO USERNAME : xxxx
    WEBINFO PASSWORD : xxxx
    TELNETINFO LISTEN PORT : 16000
    TELNETINFO USERNAME : xxxx
    TELNETINFO PASSWORD : xxxx
    ZAP OSD TIME : 1
    OSD USERNAME : xxxx
    OSD PASSWORD : xxxx
    OSD PORT : 80
    BOXKEY: /dev/sci0
    SMARTCARD CLOCK FREQUENCY: /dev/sci0
    SHOW TIMING : yes
    MINI OSD : no
    DEBUG : yes
    NEWCAMD CONF : no
    DISABLE EMM : yes
    EXTRA EMM LEVEL : no
    EMM THREADS : 1
    SOFTKEY FILE : /var/keys/SoftCam.Key
    AUTOROLL FILE : /var/keys/AutoRoll.Key
    STATIC CW FILE : /var/keys/constant.cw
    CHANNELINFO FILE : /var/etc/CCcam.channelinfo
    CAID PRIO FILE : /var/etc/CCcam.prio
    PROVIDERINFO FILE : /var/etc/CCcam.providers
    MINIMUM DOWNHOPS: 0
    MINIMUM CLIENT VERSION : 2.1.0
    #LOG WARNINGS : /tmp/warnings.txt


    ###############clients###############
    N: 127.0.0.1 15000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256

    F: user pass 1 0 1 { 0:0:2 }

    • Official Post


    To see the card as local in cccam you will need to downgrade to version 2.1.3 or lower, the 256 trick only works on these versions.

    • Official Post

    If you want to use oscam as cardreader and CCcam as server you need to be using CCcam2.1.3 and below, CCcam2.1.4 will show you card as HOP10.


    You are using oscam and CCcam as cardreader from these configs, # out or delete these lines in CCcam.cfg:
    #BOXKEY: /dev/sci0
    #SMARTCARD CLOCK FREQUENCY: /dev/sci0


    Check oscam webinfo or logs to find any errors you are getting and post them here.

  • It took me time but i managed to cascase oscam withn cccam as indicated above


    Now could some one tell me what is the value, the benefits of doing so as opposed to run oscam (or CCcam) stand-alone ! I still didn't catch the need for cascading !


    BTW, in terms of performance, what is the best configuration : CCcam alone vs Oscam/CCcam ?


    thanks

  • Quote

    I want to connect alien 2 open arp oscam to cccam2.1.4 as server


    You might be better off to use oscam as server.
    Cccam doesn't run on an alien 2 as far as i'm aware, i think it may be mgcamd reporting as cccam (from what i've read anyway)

  • i have an N line
    N: 127.0.0.1 20000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14
    how do i add thin into oscam on my nbox?
    should i update th oscam server and user file?
    i had a look at the web-inf section but nothing found.

  • I would just use Oscam as your server (as it reads the card directly), and just configure the cccam protocol or which ever protocol you want to use (mgcamd etc) less resources server-side and potential lower ecm's too :13_002:

  • Use this tool to convert your line to a reader
    Then copy the reader output (bottom window) and paste it into your oscam.server file.
    Restart oscam and that should be it


    [reader]
    label = mynewcamdreader
    protocol = newcamd
    key = 0102030405060708091011121314
    device = 192.168.1.25,34000
    user = user1
    password = pass1


    i put this in my oscam.server file.
    ftp the file to /var/keys folder
    went to setup/softcam/ci option
    restarted the oscam file.
    but no luck. its not clearing the channels.
    any help?

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!