Ubuntu Server 10.4 CCcam/OSCam & Smargo Reader

There are 5 replies in this Thread which was already clicked 8,039 times. The last Post () by thatfellow.

  • Hello, I recently received my Smargo Card Reader. I originally used my DM500 as my card reader for my server. Yesterday I followed Tutorial to setup smargo:
    http://linuxsat-support.com/li…l-smargo-smartreader.html


    As of today I am in a right mess because I dont know what lines to remove from my config files and what lines to put in. I urgently need some help with this to get my server back up and running. From the Tutorial above, I got through it, my smargo is version 1.3 and is being recognised by the system when I run lsusb:


    Quote

    Bus 002 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC


    My problem is that I have a load of redundant garbage in my cccam.cfg and also in my Oscam files from using my DM500S as my card reader
    Can someone please tell me how to do a clean setup so I can get my system back online asap.


    Also, a lot of the Smargo & Ubuntu tutorials dont mention CCcam, is cccam not needed with Smargo/Ubuntu Setup? Any help will be greatly appreciated. Also I am using White SlyUK card..


    Here is my config files:


    <<<<cccam.cfg>>>>
    [global]
    nice = -1
    WaitForCards = 1
    logfile = stdout
    preferlocalcards = 1
    saveinithistory = 1


    [webif]
    httpport = myportnumber
    httpuser = username
    httppwd = password
    httpallowed = 192.168.1.1-192.168.1.254
    #httprefresh = 3


    # protocols
    [newcamd]
    key = 0102030405060708091011121314
    port = 10000@****:000000;


    <<<<oscam.server>>>>
    [reader]
    label = SlyUK
    protocol = smartreader/mouse
    #device = /dev/ttyUSB0 smartreader+
    device = 002:002
    #if you use smartreader and device with a bus id, hash out detect as its not needed.
    #detect = cd
    cardmhz = 600
    mhz = 600
    #boxid = yourboxid
    blockemm-u = 0
    blockemm-s = 0
    blockemm-g = 1
    blockemm-unknown = 1
    emmcache = 1,3,2
    group = 1
    caid = 0963
    #SERIAL READER : /dev/ttyUSB0 smartreader+



    <<<<oscam.user>>>>
    [account]
    user = cccam
    pwd = cccam
    monlevel = 0
    uniq = 0
    group = 1,2
    au = 1
    caid = 0963



    <<<<cccam.cfg>>>>
    SERVER LISTEN PORT : myportnumber
    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:
    #SMARTCARD CLOCK FREQUENCY: /dev/sci0 6800000
    SERIAL READER : /dev/ttyUSB0 smartreader+



    #N: 127.0.0.1 10000 cccam cccam 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    #N: 192.168.1.?? 10001 user password 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    ##########INTERNAL LINES############
    F: user password 3 0 0 { 0:0:2 } #Knock yourself out
    ##########EXTERNAL LINES############
    F: user password



    My OSCam Webif:
    9f34905e5f54947.png


    My OSCam Webif Errors:


    B75C66C0 s >> OSCam << cardserver started, version 1.00-unstable_svn, build #5369 (i686-pc-linux)
    B75C66C0 s version=1.00-unstable_svn, build #5369, system=i686-pc-linux, nice=-1
    B75C66C0 s client max. idle=120 sec, debug level=0
    B75C66C0 s max. logsize=10 Kb, loghistorysize=4096 bytes
    B75C66C0 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=0 ms
    B75C66C0 s Cannot open file "/usr/local/etc/oscam.services" (errno=2 No such file or directory)
    B75C66C0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
    B75C66C0 s signal handling initialized (type=sysv)
    B75C66C0 s can't open file "/usr/local/etc/oscam.srvid" (err=2 No such file or directory), no service-id's loaded
    B75C66C0 s can't open file "/usr/local/etc/oscam.tiers" (err=2 No such file or directory), no tier-id's loaded
    B75C66C0 s can't open file "/usr/local/etc/oscam.provid" (err=2 No such file or directory), no provids's loaded
    B75C66C0 s can't open file "/usr/local/etc/oscam.ird" (errno=2 No such file or directory) i***** guessing not loaded
    B75C66C0 s monitor: disabled
    B75C66C0 s camd33: disabled
    B75C66C0 s camd35: disabled
    B75C66C0 s cs378x: disabled
    B75C66C0 s newcamd: initialized (fd=6, port=10000, crypted)
    B75C66C0 s CAID: 1F1F
    B75C66C0 s provid #0: 000000
    B75C66C0 s radegast: disabled
    B75C66C0 s http thread started
    B75C66C0 s creating thread for device 002:002
    B7578B70 h HTTP Server listening on port myportnumber
    B75C66C0 s loadbalancer: can't read from file /tmp/.oscam/stat
    B75C66C0 s waiting for local card init
    B756CB70 r reader thread started (thread=B756CB70, label=***uk, device=002:002, detect=cd, mhz=600, cardmhz=600)
    B756CB70 r ERROR opening device 002:002
    B756CB70 r Cannot open device: 002:002
    B756CB70 r ERROR opening device 002:002
    B756CB70 r Cannot open device: 002:002
    B756CB70 r ERROR opening device 002:002
    B756CB70 r Cannot open device: 002:002
    B756CB70 r ERROR opening device 002:002
    B756CB70 r Cannot open device: 002:002
    B756CB70 r ERROR opening device 002:002
    B756CB70 r Cannot open device: 002:002
    B756CB70 r ERROR opening device 002:002
    B756CB70 r Cannot open device: 002:002
    B756CB70 r ERROR opening device 002:002
    B756CB70 r Cannot open device: 002:002
    B756CB70 r ERROR opening device 002:002
    B756CB70 r Cannot open device: 002:002
    B756CB70 r ERROR opening device 002:002
    B756CB70 r Cannot open device: 002:002
    B756CB70 r ERROR opening device 002:002
    B756CB70 r Cannot open device: 002:002
    B756CB70 r ERROR opening device 002:002
    B756CB70 r Cannot open device: 002:002
    B756CB70 r ERROR opening device 002:002
    B756CB70 r Cannot open device: 002:002
    B756CB70 r ERROR opening device 002:002
    B756CB70 r Cannot open device: 002:002




    Thanks guys




    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.

  • Thanks masterG, I followed all the guides u poster above. Problem now is that I can’t get into CCCam webif.


    Also when I looked at the link:
    http://linuxsat-support.com/os…eader-info-use-oscam.html
    all I got was:
    root@ubuntu:~# lsusb -v | grep iSerial
    iSerial 0
    iSerial 1 0000:00:1d.3
    iSerial 1 0000:00:1d.2
    iSerial 1 0000:00:1d.1
    iSerial 0
    iSerial 0
    iSerial 1 0000:00:1d.0
    iSerial 3 02AB0000000000000000000000000384
    iSerial 1 0000:00:1d.7


    No mention of the “iSerial 3 Reader 129” or similar


    When I looked at the link:
    http://linuxsat-support.com/os…s-smargo-omnikey-etc.html


    I was not sure whether to integrate the smargo info into current oscam.server file or to paste it in as a new account. See below, I did the latter


    Here are my current files:


    <<<<cccam.cfg>>>>
    [global]
    nice = -1
    logfile = /dev/null
    clienttimeout = 5000
    fallbacktimeout = 2500
    clientmaxidle = 120
    cachedelay = 120
    bindwait = 120
    resolvedelay = 30
    serialreadertimeout = 1500
    maxlogsize = 10
    waitforcards = 1
    preferlocalcards = 1
    saveinithistory = 1
    keepalive = 1


    [webif]
    httpport = 8888
    httpuser = admin
    httppwd = admin
    httprefresh = 5
    httphideidleclients = 0
    httpallowed = 192.168.0.0 - 255.255.255.255
    debug = 255


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



    <<<<oscam.server>>>>
    [reader]
    label = ***UK
    protocol = internal
    device = /dev/ttyUSB0 smartreader+
    #device = /dev/sci0
    blockemm-u = 0
    blockemm-s = 0
    blockemm-g = 1
    blockemm-unknown = 1
    emmcache = 1,3,2
    group = 1
    caid = 0963


    [reader]
    label = mysmartreader
    protocol = smartreader
    device = /dev/ttyUSB0 smartreader+
    aeskey = 0102030405060708090a0b0c0d0e0f10
    group = 7
    caid = 0700



    <<<<oscam.user>>>>
    [account]
    user = linuxsat
    pwd = support
    monlevel = 0
    uniq = 0
    group = 1
    au = ***UK
    caid = 0963



    <<<<cccam.cfg>>>>
    SERVER LISTEN PORT : myport
    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:
    #SMARTCARD CLOCK FREQUENCY: /dev/sci0 6800000
    #SERIAL READER : /dev/ttyUSB0 smartreader+




    #N: 127.0.0.1 10000 user password 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    #N: 192.168.1.50 10001 user password 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    ##########INTERNAL LINES############
    F: user password 3 0 0 { 0:0:2 } #Knock yourself out
    ##########EXTERNAL LINES############
    F: user password



    Thanks M8, your help is appreciated




    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.

    • Official Post
    Quote

    Problem now is that I can’t get into CCCam webif.


    You should be able to get into CCcaminfo as the access details are the same, if you mean oscam webif i have editted the ip address range to the one you were using before.


    Code
    WEBINFO USERNAME :root
    WEBINFO PASSWORD :dreambox
    WEBINFO LISTEN PORT : 16001


  • masterG M8, you are a genius.. I now have nice clean config files and my webif is running.


    linuxsat-support.com/cms/attachment/7821/


    Im still getting errors in my OSCam webif:
    B755B6C0 s >> OSCam << cardserver started, version 1.00-unstable_svn, build #5369 (i686-pc-linux)
    B755B6C0 s version=1.00-unstable_svn, build #5369, system=i686-pc-linux, nice=-1
    B755B6C0 s client max. idle=120 sec, debug level=0
    B755B6C0 s max. logsize=10 Kb, loghistorysize=4096 bytes
    B755B6C0 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=120 ms
    B755B6C0 s Cannot open file "/usr/local/etc/oscam.services" (errno=2 No such file or directory)
    B755B6C0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
    B755B6C0 s signal handling initialized (type=sysv)
    B755B6C0 s can't open file "/usr/local/etc/oscam.srvid" (err=2 No such file or directory), no service-id's loaded
    B755B6C0 s can't open file "/usr/local/etc/oscam.tiers" (err=2 No such file or directory), no tier-id's loaded
    B755B6C0 s can't open file "/usr/local/etc/oscam.provid" (err=2 No such file or directory), no provids's loaded
    B755B6C0 s can't open file "/usr/local/etc/oscam.ird" (errno=2 No such file or directory) i***** guessing not loaded
    B755B6C0 s monitor: disabled
    B755B6C0 s camd33: disabled
    B755B6C0 s camd35: disabled
    B755B6C0 s cs378x: disabled
    B755B6C0 s newcamd: initialized (fd=7, port=10000, crypted)
    B755B6C0 s CAID: 0963
    B755B6C0 s provid #0: 000000
    B755B6C0 s radegast: disabled
    B755B6C0 s http thread started
    B755B6C0 s creating thread for device 002:002
    B750DB70 h HTTP Server listening on port 8888
    B755B6C0 s loadbalancer: can't read from file /tmp/.oscam/stat
    B755B6C0 s waiting for local card init
    B7501B70 r reader thread started (thread=B7501B70, label=***uk, device=002:002, detect=cd, mhz=357, cardmhz=357)
    B7501B70 r Using 0x82 as endpoint for smartreader hardware detection
    B7501B70 r Found smartreader device 002:002
    B755B6C0 s init for all local cards done
    B755B6C0 s anti cascading disabled
    B60FFB70 c client connected to 10000 port
    B60FFB70 c encrypted newcamd:10000-client 127.0.0.1 granted (linuxsat, au=on (1 reader))
    B60FFB70 c user linuxsat authenticated successfully (CCcam)


    Are there important problems that I need to address?



    Im now going to put in my White Slycard and reboot, Do I need to put in my boxid or does the software detect it..


    Thanks again masterG, your a lifesaver.. joint10




    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.

  • Can confirm M8, everything is working 100%, my clines are back working too. You are a genius masterG..


    Now that all my OSCam files are clean and fresh, is there any redundant code that I can remove from my cccam.cfg? i.e. unneeded settings from my DM500? I know I can remove the N-line for starters. I now want to get my system secured so I can start sharing..


    Thanks




    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.

Participate now!

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