Omnikey 3121 helpppppp

There are 27 replies in this Thread which was already clicked 3,169 times. The last Post () by dada.

  • Hi,


    I installed and setted up an Ubuntu Server for the first time with 3 x Omnikey 3121


    I have CCcam/Oscam and would like to run S** I* and J** S**** I*****


    I can't get Omnikey smart cards working No Smartcards Installed


    Anyone help to install them and set up these cards.


    Thanks

  • have a look here first
    http://linuxsat-support.com/li…key-readers-linux-pc.html


    Note that omnikey readers need to be set up as pcsc - in other words


    protocol = pcsc
    device = 0


    On the reader entries for each card in oscam.server


    if you have more than one reader then try device = 1 and device = 2 for the others.
    Hard to know based on what you have posted but I am assuming you know the oscam configs for the cards and are aware about the risk of accepting emm updates on the sly italia card.

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


    :red:

  • Hi, Thanks for your reply


    I am new to oscam don't know much but have read about risks of burning card of sly ital but I would like to test it with correct settings can you help.

  • lets see what you have already on your oscam configs - post your oscam.conf and oscam.server files - hashing out any sensitive bits
    also can you confirm if you can access webinterface for Oscam and CCcam in your browser? - if so does it say it is running?


    have a read of these threads - they some configs for sly italia and info about the problem of cards being deactivated
    http://linuxsat-support.com/os…ur-s%40y-italia-card.html
    http://linuxsat-support.com/os…cccam-oscam-s*y-09cd.html
    remember if setting up for your reader - change the protocol and device as previously mentioned.


    The link about installing omnikey readers on PC server - make sure you are following the bit under the heading 'Ubuntu way:'


    JSC i***** settings - try this



    change the stars to the right word!!


    you need to connect the cards to CCcam


    You need to change add the caid/ident in your newcamd part of oscam.conf to refer to the cards


    Code
    [newcamd]
    Key = 0102030405060708091011121314
    Port = 10000@09CD:000000;10001@0603:000000
    keepalive = 1


    CCcam.cfg should have the following to refer to the above

    Code
    N: 127.0.0.1 10000 user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    
    
    
    
    N: 127.0.0.1 10001 user2 pass2 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256


    you need oscam.user accounts for each card set up for the above nlines to work of course.


    read this link for more on that


    http://linuxsat-support.com/os…-connect-oscam-cccam.html

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


    :red:

  • my oscam config


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


    [webif]
    httpport = 8888
    httpuser = linuxsat :)
    httppwd = linuxsat :)
    httpallowed = 127.0.0.1,192.168.1.2-192.168.255.255
    httprefresh = 5

  • I just updated/edited my last post - have a look at the further info and tutorials i noted - if no luck you really do need to post your oscam.conf, oscam.user and oscam.server files as well as CCcam.cfg file to see what you have, so we are not going round in circles:smile:

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


    :red:

  • Still no luck newcamd: Bind request failed,


    my configurations are as follows:


    oscam.conf
    [global]
    nice = -1
    WaitForCards = 1
    logfile = stdout
    preferlocalcards = 1
    saveinithistory = 1
    ClientTimeout = 5
    CacheDelay = 120


    [newcamd]
    Key = 0102030405060708091011121314
    Port = 10000@09cd:000000
    keepalive = 1


    [newcamd]
    Key = 0102030405060708091011121314
    Port = 10001@0603:000000


    [webif]
    httpport = 16002
    httpuser = *******
    httppwd = **
    httprefresh = 5
    httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255
    httphideidleclients = 1
    httpreadonly = 0


    oscam.server
    [reader]
    label = J**
    Protocol = pcsc
    detect = CD
    device = 0
    force_i***** = 1
    Group = 1
    EMMCache = 1,3,2
    mhz = 600
    cardmhz = 600
    caid = 0603
    ident = 0603:000000
    camkey = 0000000000000000
    camkeydata = 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 0000000000000000000000000000


    [reader]
    label = ***IT
    Protocol = internal
    detect = CD
    device = 1
    Group = 1
    mhz = 357
    EMMCache = 1,3,2
    BoxID = ###########
    caid = 09cd
    ident = 09cd:000000
    blockemm-u = 1
    blockemm-s = 1
    blockemm-g = 1
    blockemm-unknown = 1
    blockemm-bylen = 183,81
    ecmwhitelist = 09cd@000000: B7,51
    AUdisabled = 1


    oscam.user
    [account]
    user = ***
    pwd = ****


    [account]
    user = ***
    pwd = ****
    group = 1
    AU = ***IT


    ccam config


    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 10001 *** **** 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256



    in cccam web they are offline in oscam web never saw as couldnt access.


    thanks for your help

  • Delete the two newcamd parts in oscam.conf and put this one in. You can't have multiple newcamd entries - you put all ports and caids/idents on the one port = flag.


    Code
    [newcamd]
    Key = 0102030405060708091011121314
    Port = 10000@09cd:000000;10001@0603:000000
    keepalive = 1


    place each card in its own group in oscam.server


    group = 1 for jsc and group = 2 for sly italia


    account entries in oscam.user - one for each card and 2 nlines in CCcam.cfg is how i would do it



    note that no au is required for italia card as you don't want updates sent to it.


    Restart server - oscam might not be starting if the configs are misconfigured (ie having two newcamd entries)

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


    :red:


  • just so not to confuse! - servierip isn't needed in this configuration - if you have CCcam and Oscam on the same machine and you do use this - then it would be 127.0.0.1
    mgclient = 1 shouldn't be needed either to connect in the way outlined here - ie - to CCcam with separate account for each card, but would not affect it if it was set like this.

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


    :red:

  • when i start oscam itshows this


    2279580 r jsc [pcsc] no boxID available
    2279580 r jsc [pcsc] card system not supported
    2279580 r jsc [pcsc] card initializing error


    ***it [internal] ERROR: Opening device 1 (errno:2 No such file or directory)
    21:17:26 11461E0 r ***it [internal] Cannot open device: 1

    • Official Post

    when i start oscam itshows this


    2279580 r jsc [pcsc] no boxID available
    2279580 r jsc [pcsc] card system not supported
    2279580 r jsc [pcsc] card initializing error


    ***it [internal] ERROR: Opening device 1 (errno:2 No such file or directory)
    21:17:26 11461E0 r ***it [internal] Cannot open device: 1


    If as your logs suggest oscam is looking for a boxkey in your jsc reader i think you have messed up your configs or need to swap the cards around. JSC does not need a boxkey!

  • checked cards and got this from oscam


    root@ubuntu:~# sudo oscam .b
    Warning: keyword 'saveinithistory' in global section not recognized
    00:01:38 0 s starting thread log_list_thread
    00:01:38 0 s log_list_thread thread started
    00:01:38 0 s >> OSCam << cardserver started, version 1.20-unstable_svn, build #7149 (x86_64-linux-gnu)
    00:01:38 0 s version=1.20-unstable_svn, build #7149, system=x86_64-linux-gnu, nice=-1
    00:01:38 0 s client max. idle=120 sec, debug level=0, filter_sensitive=1
    Warning: keyword 'camkey' in reader section not recognized
    00:01:38 0 s max. logsize=10 Kb, loghistorysize=4096 bytes
    00:01:38 0 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=120 ms
    00:01:38 0 s services reloaded: 0 services freed, 0 services loaded, rejected 0
    Warning: keyword 'camkeydata' in reader section not recognized
    00:01:38 0 s userdb reloaded: 2 accounts loaded, 0 expired, 0 disabled
    00:01:38 0 s signal handling initialized (type=sysv)
    00:01:38 0 s oscam.srvid loading failed, old format
    00:01:38 0 s 37 tier-id's loaded
    00:01:38 0 s can't open file "/usr/local/etc/oscam.provid" (err=2 No such file or directory), no provids's loaded
    00:01:38 0 s can't open file "/usr/local/etc/oscam.ird" (errno=2 No such file or directory) i***** guessing not loaded
    00:01:38 0 s can't open whitelist file /usr/local/etc/oscam.whitelist
    00:01:38 0 s can't open cacheex-matcher file /usr/local/etc/oscam.cacheex
    00:01:38 0 s Starting listener 0
    00:01:38 0 s monitor: disabled
    00:01:38 0 s Starting listener 0
    00:01:38 0 s camd35: disabled
    00:01:38 0 s Starting listener 0
    00:01:38 0 s cs378x: disabled
    00:01:38 0 s Starting listener 0
    00:01:38 0 s newcamd: initialized (fd=4, port=10000, crypted)
    00:01:38 0 s -> CAID: 09CD PROVID: 000000
    00:01:38 0 s Starting listener 1
    00:01:38 0 s newcamd: initialized (fd=5, port=10001, crypted)
    00:01:38 0 s -> CAID: 0603 PROVID: 000000
    00:01:38 0 s Starting listener 0
    00:01:38 0 s pandora: disabled
    00:01:38 0 s Starting listener 0
    00:01:38 0 s csp: disabled
    00:01:38 0 s Starting listener 0
    00:01:38 0 s radegast: disabled
    00:01:38 0 s starting thread http
    00:01:38 0 s http thread started
    00:01:38 0 s starting thread reader check
    00:01:38 0 s reader check thread started
    00:01:38 0 s starting thread check
    00:01:38 0 s check thread started
    00:01:38 0 s jsc [pcsc] creating thread for device 0
    00:01:38 0 s ***it [internal] creating thread for device 1
    00:01:38 5C0008C0 h HTTP Server listening on port 16002
    00:01:38 0 s loadbalancer: can't read from file /tmp/.oscam/stat
    00:01:38 0 s waiting for local card init
    00:01:38 1948F30 r ***it [internal] ERROR: Opening device 1 (errno:2 No such file or directory)
    00:01:38 1948F30 r ***it [internal] Cannot open device: 1
    00:01:38 1941530 r jsc [pcsc] Reader initialized (device=0, detect=cd, mhz=600, cardmhz=600)

  • you have your sly italia card set up as an internal reader for a start. as already mentioned you need to change any configs you are using to reflect the fact you are using pcsc protocol.


    Unless you are missing some more of your logs -it appears it is initialising your jsc card - which is set up with the correct protocol.

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


    :red:

  • offf offf still problem.i dont understand i installed all need but still have problem :(
    [root@localhost ~]# yum install opensc pcsc-lite ccid
    Loaded plugins: fastestmirror, refresh-packagekit, security
    Loading mirror speeds from cached hostfile
    * base: ftp.dgn.net.tr
    * epel: mirror.vit.com.tr
    * extras: ftp.dgn.net.tr
    * updates: ftp.dgn.net.tr
    Setting up Install Process
    Package opensc-0.12.2-2.el6.i686 already installed and latest version
    Package pcsc-lite-1.5.2-8.el6_3.i686 already installed and latest version
    Package ccid-1.3.9-3.el6.i686 already installed and latest version
    Nothing to do


    and my /etc/opensc.conf

Your resource for Linux TV servers and smart card readers.

Find software downloads, drivers, and support for server setup and card-sharing configurations. Set up a Linux-based TV server. Access downloads and support for server software and USB card readers for advanced TV reception and management

Participate now!

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