Irish Sly Card Oscam, cccams problems

There are 20 replies in this Thread which was already clicked 3,590 times. The last Post () by thatfellow.

  • Hi guys,


    I got my cs server set up and running with OSCAM 1.20, Im using dvbviewer with Hadu to connect to cs server,
    I have an Irish sly card and I want to share it internally in my house but Im having problems connecting to the paid channels i.e Sly Sports etc..


    When I load dvbviewer and go to Hadu > monitor, it connects to the server but status says 'Started. No usable peer.'


    The services is 'sly_digital_(uk)' does this matter because the card is Irish and the channels might be defferent on the card as it would to a UK card ?
    Im stuck now and not sure where to go from here been trying different settings and suggestions I found but nothing worked.


    If anyone can assist me in solving my problem I would be very grateful



    oscam.conf


    [global]
    logfile = /var/local/oscam.log
    nice = -1
    maxlogsize = 500
    preferlocalcards = 1
    readerrestartseconds = 4
    lb_mode = 10
    lb_savepath = /var/local/loadbalance.log


    [cccam]
    port = 12000
    serverip = 192.168.15.12
    nodeid = AF57B381107014EE
    version = 2.1.3
    reshare = 2
    ignorereshare = 1
    forward_origin_card = 1


    [webif]
    httpport = 8888
    httpuser = admin
    httppwd = admin
    httpallowed = 127.0.0.1,1.1.1.1-192.168.254.254


    Oscam.user


    [account]
    user = cccam
    pwd = cccam
    caid = 0963
    au = 1
    group = 1,2
    services = sly_digital_(uk)


    [account]
    user = *****
    device = ID 076b:1021 OmniKey AG CardMan 1021
    protocol = pcsc
    pwd = 1234
    monlevel = 2
    au = 1
    services = sly_digital_(uk)



    Oscam.server


    [reader]
    label = CardMan_1021
    description = CardMan
    protocol = pcsc
    device = ID 076b:1021 OmniKey AG CardMan 1021
    services = sly_digital_(uk)
    caid = 0963
    detect = cd
    ident = 0963:000000
    group = 2
    emmcache = 1,3,2
    blockemm-unknown = 1
    blockemm-g = 1
    saveemm-u = 1
    saveemm-s = 1
    lb_weight = 101
    cccreshare = 1

    If nothing works...Power cycle!

  • Getting it working & having it working properly are two very different things..
    Looking at your configs m8, there is a lot of work to do here..


    Can you tell me if you are using an oscam only server or an oscam/cccam server?




    All your problems have been solved countless times before so try the search box before you post!!
    Please do not Request help by PM, use the main forum so Everyone can benefit from the answers.

  • I am using an oscam/cccam server,
    This is my /var/etc/Cccam.cfg


    SERVER LISTEN PORT : 12000
    ALLOW TELNETINFO: yes
    ALLOW WEBINFO: yes
    WEBINFO USERNAME :admin
    WEBINFO PASSWORD :admin
    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
    SHOW EXTENEDED CLIENT INFO : yes
    MINI OSD : no
    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:
    #SMARTCARD CLOCK FREQUENCY: /dev/sci0 6800000


    C: 192.168.15.12 12000 cccam cccam



    And this is my Oscam.conf


    [global]
    logfile = /var/local/oscam.log
    nice = -1
    maxlogsize = 500
    preferlocalcards = 1
    readerrestartseconds = 4
    lb_mode = 10
    lb_savepath = /var/local/loadbalance.log


    [cccam]
    port = 12000
    nodeid = AF57B381107014EE
    version = 2.1.3
    reshare = 2
    ignorereshare = 1
    forward_origin_card = 1


    [webif]
    httpport = 8888
    httpuser = admin
    httppwd = admin
    httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255


    Oscam.user


    [account]
    user = cccam
    pwd = cccam
    caid = 0963
    au = 1
    group = 1,2
    services = ***_digital_(uk)



    Oscam.server


    [reader]
    label = CardMan_1021
    description = CardMan
    protocol = pcsc
    device = ID 076b:1021 OmniKey AG CardMan 1021
    services = ***_digital_(uk)
    caid = 0963
    detect = cd
    ident = 0963:000000
    group = 2
    emmcache = 1,3,2
    blockemm-unknown = 1
    blockemm-g = 1
    saveemm-u = 1
    saveemm-s = 1
    lb_weight = 101
    cccreshare = 1



    It works with Hadu on dvbviewer but sometimes I notice a little bit of lag or latency issue, nothing major but
    its still there all the same, is there anything that I have to change to improve this ?

    If nothing works...Power cycle!

  • OK, for starters, you are using cccam port 12000 in oscam and also in cccam...


    This cant be it all m8 because there is no line for DVBViewer... Do you intend to use oscam to read the card and cccam as a server?
    Or do you want to use oscam only as reader & server? Let me know & I will update the configs for you..


    Also m8, can you post the line you wrote in hadu.ini



    TF




    All your problems have been solved countless times before so try the search box before you post!!
    Please do not Request help by PM, use the main forum so Everyone can benefit from the answers.

  • In Hadu.ini I have


    [Serv_oscam]
    Server=CCCam:192.168.15.12:12000:0:cccam:cccam:af57b381107014ee
    Active=1
    CAIDProv=0963



    http://192.168.15.12:16001/activeclients


    Connected clients: 0
    0 ACTIVE CLIENTS IN LAST 20 SECONDS
    +---------+---------------+------------+------------+-----+-----+--------+----------------------+----------+
    | Username| Host | Connected | Idle time | ECM | EMM | Version| Last used share | Ecm time |
    +---------+---------------+------------+------------+-----+-----+--------+----------------------+----------+
    +---------+---------------+------------+------------+-----+-----+--------+----------------------+----------+


    +---------+---------------------------------------+
    | Username| Shareinfo |
    +---------+---------------------------------------+
    +---------+---------------------------------------+


    http://192.168.15.12:16001/shares


    Available shares: 1


    +----------------------+---------+----+-------+----------+-------+------------------------+
    | Host | Type |Caid| System| Providers|Uphops | Nodes |
    | | | | | |Maxdown| |
    +----------------------+---------+----+-------+----------+-------+------------------------+
    |192.168.15.12:12000 |CCcam-s2s| 963|nds |0 |1 1 |af57b381107014ee_10000 |
    +----------------------+---------+----+-------+----------+-------+------------------------+


    http://192.168.15.12:16001/servers


    Server connections: 1
    +----------------------+------------+---------+--------+----------------+-------+-------------------------------+
    | Host | Connected | Type | Version| NodeID | Cards | CAID/Idents |
    +----------------------+------------+---------+--------+----------------+-------+-------------------------------+
    |192.168.15.12:12000 |00d 00:26:26|CCcam-s2s|2.1.3 |af57b381107014ee| 1 | |
    +----------------------+------------+---------+--------+----------------+-------+-------------------------------+



    I want to be able to see who's online and what they are watching,
    Do I have ports messed up ?

    If nothing works...Power cycle!

  • OK m8, looking at your configs, I would forget about cccam and use oscam only..
    This should simplify your setup and avoid conflicting port numbers..


    Start off by deleting cccam.cfg
    Then copy/paste these configs:


    Oscam.conf
    [global]
    logfile = /var/local/oscam.log
    nice = -1
    maxlogsize = 500
    preferlocalcards = 1
    readerrestartseconds = 4
    lb_mode = 11
    lb_savepath = /var/local/loadbalance.log


    [cccam]
    port = 12000
    version = 2.1.3
    reshare = 2


    [webif]
    httpport = 8888
    httpuser = admin
    httppwd = admin
    httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255


    Oscam.user
    [account]
    user = dvbviewer
    pwd = password
    au = 1
    group = 1



    Oscam.server
    [reader]
    label = omnikey
    protocol = pcsc
    device = 0
    caid = 0963
    detect = cd
    ident = 0963:000000
    group = 1
    emmcache = 1,3,2
    blockemm-unknown = 1
    blockemm-g = 1
    saveemm-u = 1
    saveemm-s = 1
    lb_weight = 101
    cccreshare = 1



    hadu.ini
    [Serv_oscam-local]
    Server=CCCam:192.168.15.12:12000:0:dvbviewer:password
    Active=1



    After these edits, Reboot your server... Depending on what autoinstall you did on your server we will have to clean up another few files...
    This might not work first time, but at least we are going in the right direction..


    Report back & we will finish off..


    You can access your oscam webif by typing this in your browser:
    192.168.15.12:8888


    username=admin
    password=admin




    All your problems have been solved countless times before so try the search box before you post!!
    Please do not Request help by PM, use the main forum so Everyone can benefit from the answers.

    Edited 2 times, last by thatfellow ().

  • Ok I done what you asked, server is rebooted and I can login to 192.168.15.12:8888,


    Oscam Status Reads


    2013/11/27 21:31:54 0 s cccam: Bind request failed (Address already in use), waiting another 6 seconds
    2013/11/27 21:31:55 0 s cccam: Bind request failed (Address already in use), waiting another 5 seconds
    2013/11/27 21:31:56 0 s cccam: Bind request failed (Address already in use), waiting another 4 seconds
    2013/11/27 21:31:57 0 s cccam: Bind request failed (Address already in use), waiting another 3 seconds
    2013/11/27 21:31:58 0 s cccam: Bind request failed (Address already in use), waiting another 2 seconds
    2013/11/27 21:31:59 0 s cccam: Bind request failed (Address already in use), waiting another 1 seconds
    2013/11/27 21:32:00 0 s cccam: Bind request failed (Address already in use), giving up
    2013/11/27 21:32:00 0 s omnikey [pcsc] creating thread for device 0
    2013/11/27 21:32:00 0 s loadbalancer: can't read from file /var/local/loadbalance.log
    2013/11/27 21:32:00 0 s waiting for local card init
    2013/11/27 21:32:00 3C0008C0 h webif: decompressed 53612 bytes back into 154024 bytes
    2013/11/27 21:32:00 3C0008C0 h HTTP Server running. ip=0.0.0.0 port=8888
    2013/11/27 21:32:05 A27BB0 r omnikey [pcsc] PCSC failed establish context (8010001d)
    2013/11/27 21:32:05 A27BB0 r omnikey [pcsc] Cannot open device: 0

    If nothing works...Power cycle!

  • I deleted the port 12000 from http://192.168.15.12:8888/config.html?part=cccam and restarted


    Status Reads


    2013/11/27 21:44:29 0 s >> OSCam << cardserver started, version 1.20-unstable_svn, build r8917 (x86_64-linux-gnu-libusb-pcsc)
    2013/11/27 21:44:29 0 s creating pidfile /tmp/.oscam/oscam.pid with pid 1930
    2013/11/27 21:44:29 0 s services reloaded: 0 services freed, 2 services loaded, rejected 0
    2013/11/27 21:44:29 0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
    2013/11/27 21:44:29 0 s signal handling initialized
    2013/11/27 21:44:29 0 s 887 service-id's loaded in 2ms
    2013/11/27 21:44:29 0 s omnikey [pcsc] creating thread for device 0
    2013/11/27 21:44:29 0 s loadbalancer: can't read from file /var/local/loadbalance.log
    2013/11/27 21:44:29 0 s waiting for local card init
    2013/11/27 21:44:29 400008C0 h webif: decompressed 53612 bytes back into 154024 bytes
    2013/11/27 21:44:29 A27BB0 r omnikey [pcsc] Cannot open device: 0
    2013/11/27 21:44:29 400008C0 h HTTP Server running. ip=0.0.0.0 port=8888
    2013/11/27 21:45:29 A27BB0 r omnikey [pcsc] Cannot open device: 0

    If nothing works...Power cycle!

  • What do you mean you deleted it??
    That is your cccam port.. You can change it to 12222 and also change it to 12222 in the cline in hadu.ini




    All your problems have been solved countless times before so try the search box before you post!!
    Please do not Request help by PM, use the main forum so Everyone can benefit from the answers.

    Edited once, last by thatfellow ().

  • # /etc/crontab: system-wide crontab
    # Unlike any other crontab you don't have to run the `crontab'
    # command to install the new version when you edit this file
    # and files in /etc/cron.d. These files also have username fields,
    # that none of the other crontabs do.


    SHELL=/bin/sh
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin


    # m h dom mon dow user command
    17 * * * * root cd / && run-parts --report /etc/cron.hourly
    25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
    47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
    52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
    #
    59 23 * * * root /var/script/oscam-backup.sh
    57 06 * * * root killall cccam_2.1.3
    57 06 * * * root killall oscam
    57 06 * * * root /var/script/configupdate.sh >> /var/cccamlog/configupdate.log
    57 06 * * * root /var/script/keyupdater.sh
    58 06 * * * root /usr/local/bin/oscam -b
    59 06 * * * root /usr/local/bin/cccam_2.1.3
    */5 * * * * root /var/script/CCcamCheck.sh
    */5 * * * * root /var/script/OscamCheck.sh
    03 07 * * 6 root /var/script/LogCleanUp.sh >> /var/cccamlog/CleanUp.log
    59 23 * * * root /var/script/oscam-backup.sh
    57 06 * * * root killall cccam_2.1.3
    57 06 * * * root killall oscam
    57 06 * * * root /var/script/configupdate.sh >> /var/cccamlog/configupdate.log
    57 06 * * * root /var/script/keyupdater.sh
    58 06 * * * root /usr/local/bin/oscam -b
    59 06 * * * root /usr/local/bin/cccam_2.1.3
    */5 * * * * root /var/script/CCcamCheck.sh
    */5 * * * * root /var/script/OscamCheck.sh
    03 07 * * 6 root /var/script/LogCleanUp.sh >> /var/cccamlog/CleanUp.log
    59 23 * * * root /var/script/oscam-backup.sh
    57 06 * * * root killall cccam_2.1.3
    57 06 * * * root killall oscam
    57 06 * * * root /var/script/configupdate.sh >> /var/cccamlog/configupdate.log
    57 06 * * * root /var/script/keyupdater.sh
    58 06 * * * root /usr/local/bin/oscam -b
    59 06 * * * root /usr/local/bin/cccam_2.1.3
    */5 * * * * root /var/script/CCcamCheck.sh
    */5 * * * * root /var/script/OscamCheck.sh
    03 07 * * 6 root /var/script/LogCleanUp.sh >> /var/cccamlog/CleanUp.log



    /etc/rc.local


    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
    sleep 30
    /usr/local/bin/oscam -b
    sleep 30
    /usr/local/bin/cccam_2.1.3
    exit 0

    If nothing works...Power cycle!

  • You have run autoinstall 3 times...


    I will post the clean up for these files, when u are waiting


    run this:

    Code
    apt-get install opensc


    Then find out where ur omnikey is located with:

    Code
    opensc-tool -l




    All your problems have been solved countless times before so try the search box before you post!!
    Please do not Request help by PM, use the main forum so Everyone can benefit from the answers.

  • root@ubuntu:~# apt-get install opensc
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    opensc is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@ubuntu:~# opensc-tool -l
    # Detected readers (pcsc)
    Nr. Card Features Name
    0 Yes OmniKey CardMan 1021 00 00
    root@ubuntu:~#

    If nothing works...Power cycle!

  • /etc/rc.local
    Clean up this file as below..


    /etc/crontab


    Clean up this file as below.. Note now your server will reboot every morning at 7.51am




    Quote

    # Detected readers (pcsc)
    Nr. Card Features Name
    0 Yes OmniKey CardMan 1021 00 00
    root@ubuntu:~#


    this means that:
    device = 0
    in your oscam.server is correct



    Make all changes above & Reboot server




    All your problems have been solved countless times before so try the search box before you post!!
    Please do not Request help by PM, use the main forum so Everyone can benefit from the answers.

    Edited 2 times, last by thatfellow ().

  • Oscam Status Reads


    2013/11/27 22:12:19 0 s >> OSCam << cardserver started, version 1.20-unstable_svn, build r8917 (x86_64-linux-gnu-libusb-pcsc)
    2013/11/27 22:12:19 0 s creating pidfile /tmp/.oscam/oscam.pid with pid 1421
    2013/11/27 22:12:19 0 s services reloaded: 0 services freed, 2 services loaded, rejected 0
    2013/11/27 22:12:19 0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
    2013/11/27 22:12:19 0 s signal handling initialized
    2013/11/27 22:12:19 0 s 887 service-id's loaded in 24ms
    2013/11/27 22:12:19 0 s cccam: initialized (fd=5, port=12222)
    2013/11/27 22:12:19 0 s omnikey [pcsc] creating thread for device 0
    2013/11/27 22:12:19 0 s loadbalancer: can't read from file /var/local/loadbalance.log
    2013/11/27 22:12:19 0 s waiting for local card init
    2013/11/27 22:12:19 AC0008C0 h webif: decompressed 53612 bytes back into 154024 bytes
    2013/11/27 22:12:19 AC0008C0 h HTTP Server running. ip=0.0.0.0 port=8888
    2013/11/27 22:12:19 24DACD0 r omnikey [pcsc] Reader initialized (device=0, detect=cd, mhz=357, cardmhz=357)
    2013/11/27 22:12:20 24DACD0 r omnikey [pcsc] PCSC was opened with handle: 68291
    2013/11/27 22:12:20 24DACD0 r omnikey [pcsc] card detected
    2013/11/27 22:12:20 24DACD0 r omnikey [pcsc] ATR: 3F FD 13 25 02 50 00 0F 33 B0 0F 69 FF 4A 50 D0 00 00 53 59 02
    2013/11/27 22:12:21 24DACD0 r omnikey [pcsc] Card type: SYBV
    2013/11/27 22:12:21 24DACD0 r omnikey [pcsc] Rom version: 40LF
    2013/11/27 22:12:22 24DACD0 r omnikey [pcsc] parental lock setting: 3F 00 0E 00
    2013/11/27 22:12:22 24DACD0 r omnikey [pcsc] type: VideoGuard B***B (0963), caid: 0963
    2013/11/27 22:12:22 24DACD0 r omnikey [pcsc] serial: ########, BoxID: ########, baseyear: 1997
    2013/11/27 22:12:22 24DACD0 r omnikey [pcsc] ready for requests
    2013/11/27 22:12:22 24DACD0 r omnikey [pcsc] found card system videoguard2
    2013/11/27 22:12:22 24DACD0 r omnikey [videoguard2] card detected
    2013/11/27 22:12:22 24DACD0 r omnikey [videoguard2] type: VideoGuard B***B (0963)
    2013/11/27 22:12:22 24DACD0 r omnikey [videoguard2] tier: 0003, expiry date: 2014/01/17-00:00:00
    2013/11/27 22:12:22 24DACD0 r omnikey [videoguard2] tier: 000b, expiry date: 2014/01/17-00:00:00
    2013/11/27 22:12:22 24DACD0 r omnikey [videoguard2] tier: 0010, expiry date: 2014/01/17-00:00:00
    2013/11/27 22:12:22 24DACD0 r omnikey [videoguard2] tier: 001d, expiry date: 2014/01/17-00:00:00
    2013/11/27 22:12:22 24DACD0 r omnikey [videoguard2] tier: 30e3, expiry date: 2014/01/17-00:00:00
    2013/11/27 22:12:22 24DACD0 r omnikey [videoguard2] tier: 30e4, expiry date: 2014/01/17-00:00:00
    2013/11/27 22:12:22 24DACD0 r omnikey [videoguard2] tier: 30e5, expiry date: 2014/01/17-00:00:00
    2013/11/27 22:12:22 24DACD0 r omnikey [videoguard2] tier: b765, expiry date: 2014/01/17-00:00:00
    2013/11/27 22:12:22 24DACD0 r omnikey [videoguard2] tier: b766, expiry date: 2014/01/17-00:00:00
    2013/11/27 22:12:22 24DACD0 r omnikey [videoguard2] tier: b772, expiry date: 2014/01/17-00:00:00
    2013/11/27 22:12:22 24DACD0 r omnikey [videoguard2] tier: b773, expiry date: 2014/01/17-00:00:00
    2013/11/27 22:12:22 24DACD0 r omnikey [videoguard2] tier: b846, expiry date: 2014/01/17-00:00:00
    2013/11/27 22:12:22 24DACD0 r omnikey [videoguard2] tier: b860, expiry date: 2014/01/17-00:00:00
    2013/11/27 22:12:26 0 s init for all local cards done
    2013/11/27 22:12:26 0 s anti cascading disabled

    If nothing works...Power cycle!

  • Ok Loaded up Dvbviewer there and everythings is working,


    Hadu.ini config line
    [Serv_oscam-local]
    Server=CCCam:192.168.15.12:12222:0:dvbviewer:12345
    Active=1



    So when I get my dreambox I just add in new usersers and cling lines and everything should be good to you think?


    Thanks a million m8 for your time and patience


    :58_002:

    If nothing works...Power cycle!

CCcam Support Forum

Configs, discussion, downloads and guides for CCcam Softcam.

Participate now!

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