oscam+omnikey

There are 8 replies in this Thread which was already clicked 3,574 times. The last Post () by sync.

  • I have basically install oscam, Im using omnikey3121, i need help abit of help Plz


    this is my config's
    oscam server
    [reader]
    label = $lYUK
    protocol = pcsc
    device = 0
    enable = 1
    detect = cd
    mhz = 365
    cardmhz = 365
    blockemm-u = 0
    blockemm-s = 0
    blockemm-g = 1
    blockemm-unknown = 1
    emmcache = 1,3,2
    group = 1
    caid = 0963
    ident = 0963:000000
    lb_weight = 101
    ecmwhitelist = 0963@000000:3E,42,44,45,47,4E,F4,53,54,61,62,68,69,6A,6B,B6,6D,6F,71,72,73,77,78,79,7A,7C,7D,7E,80,8B


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




    [newcamd]


    key = 0102030405060708091011121314
    port = 10000@0963:000000
    allowed = 127.0.0.1,192.168.0.0-192.168.255.255
    keepalive = 1




    [webif]


    [webif]
    httpport = 8082
    httpuser = admin
    httppwd = admin
    httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255
    httprefresh = 10


    oscam user
    [account]
    user = dummy
    pwd = dummy
    monlevel = 1
    uniq = 2
    group = 1
    au = $lYuk
    caid = 0963
    ident = 0963:000000





    2012/05/10 19:49:48 0 s services reloaded: 0 services freed, 28 services loaded, rejected 0
    2012/05/10 19:49:48 0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
    2012/05/10 19:49:48 0 s signal handling initialized (type=sysv)
    2012/05/10 19:49:48 0 s 398 service-id's loaded in 1ms
    2012/05/10 19:49:48 0 s can't open file "/usr/local/etc/oscam.tiers" (err=2 No such file or directory), no tier-id's loaded
    2012/05/10 19:49:48 0 s can't open file "/usr/local/etc/oscam.provid" (err=2 No such file or directory), no provids's loaded
    2012/05/10 19:49:48 0 s can't open file "/usr/local/etc/oscam.ird" (errno=2 No such file or directory) i***** guessing not loaded
    2012/05/10 19:49:48 0 s can't open whitelist file /usr/local/etc/oscam.whitelist
    2012/05/10 19:49:48 0 s can't open cacheex-matcher file /usr/local/etc/oscam.cacheex
    2012/05/10 19:49:48 0 s Starting listener 0
    2012/05/10 19:49:48 0 s monitor: disabled
    2012/05/10 19:49:48 0 s Starting listener 0
    2012/05/10 19:49:48 0 s camd35: disabled
    2012/05/10 19:49:48 0 s Starting listener 0
    2012/05/10 19:49:48 0 s cs378x: disabled
    2012/05/10 19:49:48 0 s Starting listener 0
    2012/05/10 19:49:48 0 s newcamd: initialized (fd=4, port=10000, crypted)
    2012/05/10 19:49:48 0 s -> CAID: 0963 PROVID: 000000
    2012/05/10 19:49:48 0 s Starting listener 0
    2012/05/10 19:49:48 0 s pandora: disabled
    2012/05/10 19:49:48 0 s Starting listener 0
    2012/05/10 19:49:48 0 s csp: disabled
    2012/05/10 19:49:48 0 s Starting listener 0
    2012/05/10 19:49:48 0 s radegast: disabled
    2012/05/10 19:49:48 0 s starting thread http
    2012/05/10 19:49:48 0 s http thread started
    2012/05/10 19:49:48 0 s starting thread reader check
    2012/05/10 19:49:48 0 s reader check thread started
    2012/05/10 19:49:48 0 s starting thread check
    2012/05/10 19:49:48 0 s check thread started
    2012/05/10 19:49:48 0 s creating thread for device 0
    2012/05/10 19:49:48 8FEFD90 h HTTP Server listening on port 8082
    2012/05/10 19:49:48 0 s loadbalancer: can't read from file /tmp/.oscam/stat
    2012/05/10 19:49:48 0 s waiting for local card init
    2012/05/10 19:49:48 8FF15C8 r PCSC failed establish context (8010001d)
    2012/05/10 19:49:48 8FF15C8 r Cannot open device: 0
    2012/05/10 19:50:24 0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
    2012/05/10 19:50:24 0 s userdb 1 accounts freed
    2012/05/10 19:50:24 0 s 398 service-id's loaded in 0ms
    2012/05/10 19:50:24 0 s can't open file "/usr/local/etc/oscam.tiers" (err=2 No such file or directory), no tier-id's loaded
    2012/05/10 19:50:24 0 s anti-cascading log initialized
    2012/05/10 19:50:48 8FF15C8 r PCSC failed establish context (8010001d)
    2012/05/10 19:50:48 8FF15C8 r Cannot open device: 0
    2012/05/10 19:51:48 8FF15C8 r PCSC failed establish context (8010001d)
    2012/05/10 19:51:48 8FF15C8 r Cannot open device: 0
    2012/05/10 19:52:48 8FF15C8 r PCSC failed establish context (8010001d)
    2012/05/10 19:52:48 8FF15C8 r Cannot open device: 0
    2012/05/10 19:53:48 8FF15C8 r PCSC failed establish context (8010001d)
    2012/05/10 19:53:48 8FF15C8 r Cannot open device: 0
    2012/05/10 19:54:48 8FF15C8 r PCSC failed establish context (8010001d)
    2012/05/10 19:54:48 8FF15C8 r Cannot open device: 0
    2012/05/10 19:55:48 8FF15C8 r PCSC failed establish context (8010001d)
    2012/05/10 19:55:48 8FF15C8 r Cannot open device: 0

  • I'm having exactly the same problem I have checked your recommendation and it still doesnt work.


    One thing:

    Quote

    And change thise lines by removing # from front and reader_drivers lines u delete one comand too:


    What exactly does that mean? i understand remove # from the front of reader driver lines... but what does "u delete one command too" mean? which one?


    opensc-tool -l reports the device OK


    pcsc-scan picks up the reader and card OK


    I only changed the setup because my old ubuntu box's HD started failing. At present it still works in the old box no problems, all the lights are good etc etc


    When I plug it in to the new machine the opensc and pcsc report all is ok but the green lights are off on the reader?????? its all very strange.



    thanks
    CT


  • [quote='Cameltoe','https://linuxsat-support.com/index.php?thread/&postID=76844#post76844']I'm having exactly the same problem I have checked your recommendation and it still doesnt work.


    One thing:



    What exactly does that mean? i understand remove # from the front of reader driver lines... but what does "u delete one command too" mean? which one?


    opensc-tool -l reports the device OK


    pcsc-scan picks up the reader and card OK


    I only changed the setup because my old ubuntu box's HD started failing. At present it still works in the old box no problems, all the lights are good etc etc


    Have a look here :
    http://linuxsat-support.com/li…21-debian-difficulty.html

  • If you have a very latest..


    in build 7719 to 7726 pcsc was broken...

  • I am on version 7030. I have done everything in the thread including reinstalling (rebooting between) removing and reinstall... then rebooting after reinstall.


    Copied over the opensc.conf etc and still getting


    Quote

    2012/10/16 11:47:43 816AD0 r ERROR reader ***uk opening device 0 (errno=2 No such file or directory)
    2012/10/16 11:47:43 816AD0 r Cannot open device: 0


    Again the opensc list comes up ok and pcsc comes up ok.

    Quote

    root@musicserver:~# opensc-tool -l
    # Detected readers (pcsc)
    Nr. Card Features Name
    0 Yes OmniKey CardMan 3121 00 00
    root@musicserver:~#




    Any ideas? this is driving me mad it should work.


    thanks
    CT


    Edit: on reboot no green lights in reader. run pcsc_scan and the left light shows up. Start oscam and all lights go out on the reader.


    Plug the same reader back into the old machine and it lights up and everything works great


    Edit 2:
    I looked at the old machine and noticed as well as oscam /usr/sbin/pcscd was running but wasnt on the new machine. So I rebooted and started pcscd before oscam but the result was the same.


    Edit 3:


    *******************
    Now this is interesting - the old machine hasn't even got opensc installed!!! yet that works. ??????????????????

  • Read what your are being told folks, pcsc simply not working properly in newer versions of oscam, so pcsc is not initialising the reader. so no entitlements are showing, stick with working verison for now.


    If you have a very latest..


    in build 7719 to 7726 pcsc was broken...

Participate now!

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