Ubuntu CCcam/Oscam.

There are 21 replies in this Thread which was already clicked 3,206 times. The last Post () by Jeffzapp.

  • Hi Guys


    Is there a section on how to add different cards to an ubuntu/oscam server. I have added S*y UK no problem. I want to add Tri*g and J*C Sports. I have downloaded the configs for them but I think they all want edditing I.E. N lines, server files, usb ports etc. Thanks in advance for any help.


    Rehards

  • Look here for an example of how to configure more than one card.


    Help setting up Al Jazeera Sports viaccess + HRT viaccess Oscam


    Hi. Could you look at my configs please and see if you can find any problems?

    Regards


    Oscam.conf


    [global]
    nice = -1
    WaitForCards = 1
    logfile = stdout
    preferlocalcards = 1
    saveinithistory = 1
    disablelog = 1



    [webif]
    httpport = 8888
    httpuser = admin
    httppwd = admin
    httprefresh = 10
    httpallowed = 127.0.0.1,192.168.0.8-192.168.0.254
    # protocols


    [newcamd]
    key = 0102030405060708091011121314
    port = 10000@0963:000000;10001@0963:000000


    ----------------------------------------------------------------------------
    JSC Sports


    [global]
    nice = -1
    WaitForCards = 1
    ClientTimeout = 5
    CacheDelay = 120


    [newcamd]
    Key = 0102030405060708091011121314
    Port = 34000@0603:000000
    [webif]
    httpport = 8888
    httpuser = admin
    httppwd = admin
    httprefresh = 10
    httpallowed = 127.0.0.1,192.168.0.8-192.168.0.254


    -------------------------------------------------------------------------------
    Tring


    [global]
    nice = -1
    WaitForCards = 1
    ClientTimeout = 5
    CacheDelay = 120
    logfile = /usr/local/etc/oscam.log


    [newcamd]
    Key = 0102030405060708091011121314
    Port = 34001@0BAA:000000


    [webif]
    httpport = 8888
    httpuser = admin
    httppwd = admin
    httprefresh = 10
    httpallowed = 127.0.0.1,192.168.0.8-192.168.0.254


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


    Oscam.server


    [reader]
    label = s*yuk
    protocol = smartreader
    detect = mouse
    device = 002:003
    emmcache = 1,3,2
    caid = 0963
    services = Variety Pack,Knowledge Pack,Style & Culture Pack,News & Event Pack,Children's Pack,Music Pack,Movies Pack,Sports Pack,FreeSAT
    boxid = ********
    blockemm-u = 0
    blockemm-s = 0
    blockemm-g = 1
    blockemm-unknown = 1
    mhz = 357
    cardmhz = 357
    ident = 0963:000000
    group = 1


    ----------------------------------------------------------------------------
    JSC Sports


    [reader]
    label = JSC
    Protocol = smartreader
    detect = mouse
    device = 003:002
    force_irdeto = 1
    Group = 1
    EMMCache = 1,3,2
    mhz = 600
    cardmhz = 600
    caid = 0603
    ident = 0603:000000
    camkey = 0000000000000000
    camkeydata = 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 0000000000000000000000000000


    -----------------------------------------------------------------------------------
    Tring


    [reader]
    label = Tring
    Protocol = smartreader
    detect = mouse
    device = 002:002
    Group = 1
    EMMCache = 1,3,2
    PinCode = 1234
    caid = 0BAA
    ident = 0BAA:000000


    Oscam.user


    [account]
    user = test1
    pwd = test2
    monlevel = 0
    uniq = 0
    group = 1,2
    au = s*yuk
    caid = 0963
    -------------------------------------------------------------------------
    JSC Sports


    [account]
    user = test3
    pwd = test4
    group = 1
    AU = JSC


    ----------------------------------------------------------------------------
    Tring


    [account]
    user = test5
    pwd = test6
    group = 1
    au = Tring



    --------------------------------------------------------------------------------------------
    CCcam.cfg


    SERVER LISTEN PORT : 35358
    ALLOW TELNETINFO: yes
    ALLOW WEBINFO: yes
    #WEBINFO USERNAME :root
    #WEBINFO PASSWORD :dreambox
    TELNETINFO USERNAME :root
    TELNETINFO PASSWORD :dreambox
    TELNETINFO LISTEN PORT : 16000
    WEBINFO LISTEN PORT : 16001
    ZAP OSD TIME :0
    OSD USERNAME :root
    OSD PASSWORD :dreambox
    OSD PORT :80
    SHOW TIMING : yes
    DEBUG : no
    NEWCAMD CONF : no
    #DISABLE EMM : yes
    #EXTRA EMM LEVEL : yes
    SHOW EXTENEDED CLIENT INFO : yes
    MINI OSD : no
    #MINIMUM DOWNHOPS: 1
    CHANNELINFO FILE : /var/etc/CCcam.channelinfo
    PROVIDERINFO FILE : /var/etc/CCcam.providers
    CAID PRIO FILE : /var/etc/CCcam.prio
    LOG WARNINGS : /tmp/warnings.txt
    SOFTKEY FILE : /var/keys/SoftCam.Key
    AUTOROLL FILE : /var/keys/AutoRoll.Key
    #STATIC CW FILE : /var/keys/constant.cw
    #BOXKEY: /dev/ttyUSB0 ** ** ** **
    #SMARTCARD CLOCK FREQUENCY: /dev/sci0 6800000
    #
    N: 127.0.0.1 10000 test1 test2 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    #
    N: 127.0.0.1 34000 test3 test4 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    #
    N: 127.0.0.1 34001 test5 test6 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    #
    #
    #
    #
    F: user password 2 1 1 { 0:0:1 }
    #
    #

    • Official Post

    Each card needs a separate group, so yours would be sly group 1, jsc group 2 and tring group 3. Change oscam server and oscam user to match this.
    Also in oscam config you can do this;
    Oscam.conf



    Other than changing the groups for each card your configs look fine. If you need more help let us know buddy..

  • you need it for oscam to run buddy


    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 Ten Below.


    I understand where all the files go. I am trying to add cards. I can make them run on there own but when I try to run them all together I can only get 1 to connect. When I look on web info only 1 N line is connecting so it's only seeing 1 card. It's very frustraiting as all the pre set Oscam configs are for D/boxs I assume and not Ubuntu. So configs have to be changed I.E protocol, detect, devise to name a few. I will keep pluging away anyway.


    Regards

    • Official Post

    Hi Ten Below.


    I understand where all the files go. I am trying to add cards. I can make them run on there own but when I try to run them all together I can only get 1 to connect. When I look on web info only 1 N line is connecting so it's only seeing 1 card. It's very frustraiting as all the pre set Oscam configs are for D/boxs I assume and not Ubuntu. So configs have to be changed I.E protocol, detect, devise to name a few. I will keep pluging away anyway.


    Regards


    Did you change the groups as Master G pointed out,



    [reader]
    label = s*yuk
    protocol = smartreader
    detect = mouse
    device = 002:003
    emmcache = 1,3,2
    caid = 0963
    services = Variety Pack,Knowledge Pack,Style & Culture Pack,News & Event Pack,Children's Pack,Music Pack,Movies Pack,Sports Pack,FreeSAT
    boxid = ********
    blockemm-u = 0
    blockemm-s = 0
    blockemm-g = 1
    blockemm-unknown = 1
    mhz = 357
    cardmhz = 357
    ident = 0963:000000
    group = 1


    ----------------------------------------------------------------------------
    JSC Sports


    [reader]
    label = JSC
    Protocol = smartreader
    detect = mouse
    device = 003:002
    force_irdeto = 1
    Group = 2
    EMMCache = 1,3,2
    mhz = 600
    cardmhz = 600
    caid = 0603
    ident = 0603:000000
    camkey = 0000000000000000
    camkeydata = 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 0000000000000000000000000000


    -----------------------------------------------------------------------------------
    Tring


    [reader]
    label = Tring
    Protocol = smartreader
    detect = mouse
    device = 002:002
    Group = 3
    EMMCache = 1,3,2
    PinCode = 1234
    caid = 0BAA
    ident = 0BAA:000000


    Oscam.user


    [account]
    user = test1
    pwd = test2
    monlevel = 0
    uniq = 0
    group = 1
    au = s*yuk
    caid = 0963
    -------------------------------------------------------------------------
    JSC Sports


    [account]
    user = test3
    pwd = test4
    group = 2
    AU = JSC


    ----------------------------------------------------------------------------
    Tring


    [account]
    user = test5
    pwd = test6
    group = 3
    au = Tring

    • Official Post

    Hi master G


    What will this Oscam.conf file do?


    Regards


    Lets look at the config you posted for oscam.conf;


    Oscam.conf



    This config will work but you dont have to duplicate the configs for [global] and [webif], you only need to add the newcamd port for each card.

  • Hi master G


    I understand about the oscam.conf fig file now. However I still cant get all cards running together. I can get them to run 1 at a time with no problems. Could you cast an eye over these new configs I have done and see if there is any problems please. I have opened all the necessary ports.


    Oscam.conf


    global]
    nice = -1
    WaitForCards = 1
    logfile = stdout
    preferlocalcards = 1
    saveinithistory = 1
    disablelog = 1



    [webif]
    httpport = 8888
    httpuser = admin
    httppwd = admin
    httprefresh = 10
    httpallowed = 127.0.0.1,192.168.0.8-192.168.0.254
    # protocols


    [newcamd]
    key = 0102030405060708091011121314
    port = 10000@0963:000000;34000@0603:000000;34001@0BAA:000000


    Oscam.server


    [reader]
    label = s*yuk
    protocol = smartreader
    detect = mouse
    device = 003:002
    emmcache = 1,3,2
    caid = 0963
    boxid = ********
    blockemm-u = 0
    blockemm-s = 0
    blockemm-g = 1
    blockemm-unknown = 1
    mhz = 357
    cardmhz = 357
    ident = 0963:000000
    group = 1


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


    Tr**g


    [reader]
    label = Tring
    Protocol = smartreader
    detect = mouse
    device = 002:002
    Group = 2
    EMMCache = 1,3,2
    PinCode = 1234
    caid = 0BAA
    ident = 0BAA:000000
    -------------------------------------------------------------------------------------------------
    J*C Sports


    [reader]
    label = J*C
    Protocol = smartreader
    detect = mouse
    device = 002:003
    force_irdeto = 1
    Group = 3
    EMMCache = 1,3,2
    mhz = 600
    cardmhz = 600
    caid = 0603
    ident = 0603:000000
    camkey = 0000000000000000
    camkeydata = 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 0000000000000000000000000000


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


    Oscam.user


    S*y UK


    [account]
    user = ****
    pwd = ****
    monlevel = 0
    uniq = 0
    group = 1
    au = s*yuk
    caid = 0963
    -------------------------------------------------------------------------
    Tr**g


    [account]
    user = ***
    pwd = ****
    group = 2
    au = Tr**g


    ------------------------------------------------------------------------
    J*C Sports


    [account]
    user = ****
    pwd = ***
    group = 3
    AU = J*C


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


    Cfg File


    SERVER LISTEN PORT : 35358
    ALLOW TELNETINFO: yes
    ALLOW WEBINFO: yes
    #WEBINFO USERNAME :root
    #WEBINFO PASSWORD :dreambox
    TELNETINFO USERNAME :root
    TELNETINFO PASSWORD :dreambox
    TELNETINFO LISTEN PORT : 16000
    WEBINFO LISTEN PORT : 16001
    ZAP OSD TIME :0
    OSD USERNAME :root
    OSD PASSWORD :dreambox
    OSD PORT :80
    SHOW TIMING : yes
    DEBUG : no
    NEWCAMD CONF : no
    #DISABLE EMM : yes
    #EXTRA EMM LEVEL : yes
    SHOW EXTENEDED CLIENT INFO : yes
    MINI OSD : no
    #MINIMUM DOWNHOPS: 1
    CHANNELINFO FILE : /var/etc/CCcam.channelinfo
    PROVIDERINFO FILE : /var/etc/CCcam.providers
    CAID PRIO FILE : /var/etc/CCcam.prio
    LOG WARNINGS : /tmp/warnings.txt
    SOFTKEY FILE : /var/keys/SoftCam.Key
    AUTOROLL FILE : /var/keys/AutoRoll.Key
    #STATIC CW FILE : /var/keys/constant.cw
    #BOXKEY: /dev/ttyUSB0 ** ** ** **
    #SMARTCARD CLOCK FREQUENCY: /dev/sci0 6800000
    #
    N: 127.0.0.1 10000 *** **** 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    #
    N: 127.0.0.1 34001 *** **** 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    #
    N: 127.0.0.1 34000 *** *** 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    #
    #
    #
    #
    #
    F: user password 2 1 1 { 0:0:1 }
    #


    Kind Regards

  • Hi master G.


    Finaly master G it' working. I took 1 of the cards off j*c then I altered the Oscam,server and user.conf files as bellow. removed open ports. I rebooted checked smartreaders with the lsusb command. It sat there for about 3-4 mins then it burst into life. Could you please advise if I need any other lines in the configs to protect things I.E a log file line? Also will both the cards auto update with these configs or just the Tr**ng card?


    Oscam.conf



    Regards

Participate now!

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