Debian server help..oscam offline..

There are 13 replies in this Thread which was already clicked 1,322 times. The last Post () by musogeek.

  • Debian server help..oscam offline..
    Hi all i have set up a debian server, installed my cccam config and it works ok,(peers and clients connecting to my server)
    my problem is when i check my oscam server it shows offline,
    i have opened the port in my router to the one in my oscam config file to my server ip and it wont connect.
    any one know what iv done wrong,please dont say read the tuts as thats all iv done before posting.
    many thanks
    Ken.
    ps my omnikey reader reads the card ok..

  • here are my configs
    oscam config
    [global]
    logfile = /var/local/oscam.log
    cachedelay = 120
    nice = -1
    maxlogsize = 0
    saveinithistory = 1


    [newcamd]
    port = 15001@0963:000000
    key = 0102030405060708091011121314
    allowed = 127.0.0.1,192.168.0.0-192.168.255.255
    keepalive = 1


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


    oscam server


    [reader]
    label = ***uk
    protocol = internal
    enable = 1
    device = /dev/sci0
    caid = 0963
    boxid = xxxxxxxx #( not needed as oscam can read *** uk boxid )
    detect = cd
    mhz = 600
    cardmhz = 600
    ident = 0963:000000
    group = 1
    emmcache = 1,3,2
    blockemm-g = 1
    blockemm-unknown = 1
    blockemm-u = 0
    blockemm-s = 0
    lb_weight = 100
    ecmwhitelist = 0963@000000:3E,4F,42,44,45,47,4E,53,54,56,61,67,62 ,68,69,6A,6B,6E,6D,6F,71,72,73,77,78,74,79,7A,7C,7 D,7E,80,8B,85



    oscam user


    [account]
    user = user
    pwd = pass
    uniq = 2
    monlevel = 1
    caid = 0963
    ident = 0963:000000
    group = 1
    au = ***uk
    blockemm-unknown = 1
    blockemm-g = 1
    blockemm-u = 0
    blockemm-s = 0


    and i think my card is not being read as i thought

  • heres a bit of my log file..
    >> OSCam << cardserver started at Sun Dec 30 15:53:49 2012
    -------------------------------------------------------------------------------
    2012/12/30 15:53:49 0 s >> OSCam << cardserver started, version 1.20-unstable_svn, build #6012 (-pc-linux)
    2012/12/30 15:53:49 0 s version=1.20-unstable_svn, build #6012, system=-pc-linux, nice=-1
    2012/12/30 15:53:49 0 s client max. idle=120 sec, debug level=0
    2012/12/30 15:53:49 0 s max. logsize=unlimited, loghistorysize=4096 bytes
    2012/12/30 15:53:49 0 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=120 ms
    2012/12/30 15:53:49 0 s Cannot open file "/usr/local/etc/oscam.services" (errno=2 No such file or directory)
    2012/12/30 15:53:49 0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
    2012/12/30 15:53:49 0 s signal handling initialized (type=sysv)
    2012/12/30 15:53:49 0 s can't open file "/usr/local/etc/oscam.srvid" (err=2 No such file or directory), no service-id's loaded
    2012/12/30 15:53:49 0 s can't open file "/usr/local/etc/oscam.tiers" (err=2 No such file or directory), no tier-id's loaded
    2012/12/30 15:53:49 0 s can't open file "/usr/local/etc/oscam.provid" (err=2 No such file or directory), no provids's loaded
    2012/12/30 15:53:49 0 s can't open file "/usr/local/etc/oscam.ird" (errno=2 No such file or directory) i***** guessing not loaded
    2012/12/30 15:53:49 0 s Starting listener 0
    2012/12/30 15:53:49 0 s monitor: disabled
    2012/12/30 15:53:49 0 s Starting listener 0
    2012/12/30 15:53:49 0 s camd35: disabled
    2012/12/30 15:53:49 0 s Starting listener 0
    2012/12/30 15:53:49 0 s cs378x: disabled
    2012/12/30 15:53:49 0 s Starting listener 0
    2012/12/30 15:53:49 0 s newcamd: initialized (fd=5, port=15001, crypted)
    2012/12/30 15:53:49 0 s -> CAID: 0963 PROVID: 000000
    2012/12/30 15:53:49 0 s Starting listener 0
    2012/12/30 15:53:49 0 s radegast: disabled
    2012/12/30 15:53:49 0 s http thread started
    2012/12/30 15:53:49 0 s reader check thread started
    2012/12/30 15:53:49 0 s check thread started
    2012/12/30 15:53:49 0 s creating thread for device /dev/sci0
    2012/12/30 15:53:49 0 s loadbalancer: can't read from file /tmp/.oscam/stat
    2012/12/30 15:53:49 0 s waiting for local card init
    2012/12/30 15:53:49 1B99520 r ERROR, you have specified 'protocol = internal' in oscam.server,
    2012/12/30 15:53:49 1B99520 r recompile with internal reader support.
    2012/12/30 15:53:49 1B99520 r Cannot open device: /dev/sci0
    2012/12/30 15:53:49 1B9AF60 h HTTP Server listening on port 15000
    2012/12/30 15:54:49 1B99520 r ERROR, you have specified 'protocol = internal' in oscam.server,
    2012/12/30 15:54:49 1B99520 r recompile with internal reader support.
    2012/12/30 15:54:49 1B99520 r Cannot open device: /dev/sci0
    2012/12/30 15:55:49 1B99520 r ERROR, you have specified 'protocol = internal' in oscam.server,
    2012/12/30 15:55:49 1B99520 r recompile with internal reader support.
    2012/12/30 15:55:49 1B99520 r Cannot open device: /dev/sci0
    2012/12/30 15:56:49 1B99520 r ERROR, you have specified 'protocol = internal' in oscam.server,
    2012/12/30 15:56:49 1B99520 r recompile with internal reader support.
    2012/12/30 15:56:49 1B99520 r Cannot open device: /dev/sci0
    2012/12/30 15:57:49 1B99520 r ERROR, you have specified 'protocol = internal' in oscam.server,
    2012/12/30 15:57:49 1B99520 r recompile with internal reader support.

    • Official Post

    You have oscam configured for an internal slot of an stb so you need to read another tut on how to setup your omnikey correctly :snicker:


    [h=3]How to install Omnikey readers on Linux PC[/h]
    If you get stuck at any point there are numerous omnikey support threads in this section which should give you the answer to any problems.

  • i understand that the card reader is reading internal slot, but when i use pcsc_scan it tells me that my local card is in there,so is it reading the card or not.
    many thanks
    Ken..

  • Hi both, I'm no expert on this but at mo the device= dev....etc, (setup internal). surely if he's using an omikey reader in the USB I would have thought that device=( something USB reader??)


    I hope this makes sense


    Mark

  • i understand that the card reader is reading internal slot, but when i use pcsc_scan it tells me that my local card is in there,so is it reading the card or not.
    many thanks
    Ken..


    might be the case but oscam is configured to tell it to read your card from a device that doesn't exist


    in your oscam configs you have protocol as 'internal' and this should be 'pcsc'
    you also have device = /dev/sci0 - this is pointing to a non existing device - you need to set it to the location of your omnikey - this location can be obtained if you follow the tutorial Ten Below posted, or you can assume it is likely to be device = 0 for the first reader, device = 1 for the second and so on.

    If I take a while to respond, you can see why.....


    :red:

  • I have put my config to this and still wont connect,
    [reader]
    label = ***uk
    protocol = pcsc
    enable = 1
    device = 0
    caid = 0963
    boxid = xxxxxxxx #( not needed as oscam can read *** uk boxid )
    detect = cd
    mhz = 357
    cardmhz = 357
    ident = 0963:000000
    group = 1
    emmcache = 1,3,2
    blockemm-g = 1
    blockemm-unknown = 1
    blockemm-u = 0
    blockemm-s = 0
    lb_weight = 100
    ecmwhitelist = 0963@000000:3E,4F,42,44,45,47,4E,53,54,56,61,67,62 ,68,69,6A,6B,6E,6D,6F,71,72,73,77,78,74,79,7A,7C,7 D,7E,80,8B,85



    and iv tried everything iv read and its starting to do me head in lol.
    Ken..

  • take it you followed the guide on Ten Below's link?
    delete the line starting with 'boxid' - as it said it is not needed - reboot server try to connect if it doesn't then post your logs again

    If I take a while to respond, you can see why.....


    :red:

Participate now!

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