No EMM received on Nagra Card

There are 23 replies in this Thread which was already clicked 7,297 times. The last Post () by Oskracer.

  • Hello,


    Currently ran into an issue with my system where my card has expired. I have put it into the original decoder and now only the

    ADMIN part of the card has been extended until december and I have no entitlement available on OSCAM.


    My first question is how to enable EMM through Oscam itself using AU?

    I am using 2 cards with different channels.


    Here is my configs:


    [reader]

    label = Locale

    description = PCSC_Locale

    protocol = pcsc

    device = 1

    pincode = 0000

    caid = 0100

    detect = cd

    nagra_read = 1

    group = 20

    emmcache = 2,2,2,0

    saveemm-u = 1


    [newcamd]

    port = 4433@0100:0001EB;4434@0100:00009F

    key = 0102030405060708091011121314

    keepalive = 1

    mgclient = 1


    Thanking you all.

  • Thanks master G, will give it a try and let you know.


    I have another question:


    When changing channels, some are almost instantaneous whereas others have a latency of around 1-2 secs. why is that so?

    I am also using services to allow and block certain channels on the 2 cards that I have.


    Thanking you,

  • What are the configs that you wish to see master G?


    I wish to highlight that I am using services to block and allow channels on the readers from a user basis.

    I wish to use the Locale reader as priority and Inter for any other channel which I have already selected on the oscam.services file.


    oscam.services:


    [bouquetclass]

    caid = 0100

    provid = 00009F

    srvid = 0FA1,0FA2,0901,0097,001B,08F1,08B6,0015,0FA4,0908,0204,019D,009E,0906,0005,01A3,0024,0003,029A,0096,0202,01AF,0071,0904,01B1,0033,000C,0007,0008,01FA,019C,0910,022A,01F6,01A1,01FD,0228,0198,0013,08F5,01FC,000F,08AC,00AC,019A,0211,0203,000B,0902,01F5,0196,01F7,0900,0197,0072,0034


    [bouquetinter]

    caid = 0100

    provid = 0001EB

    srvid = 0002,0004,0009,000A,000C,000D,000F,0010,0017,0019,001A,0035,0036,0037,0067,0070,0095,0191,0192,0194,0199,019B,019C,019D,019F,01A0,01A8,01A9,01AA,01AB,01AD,01AE,01B2,01B3,01C2,01C3,01F8,01FA,01FB,01FE,01FF,0200,0205,0206,0209,0215,0217,0219,0229,022B,03F2,08B9,08FD,08FE,08FF,0905,0911,0916,0FA3,0FA5,0FA6,0FA8,0FA9,0FAA,0FAC,0FAD,0FAE,4871,0039,0227


    oscam.user:


    [account]

    user = rhn

    pwd = pass

    keepalive = 0

    au = Locale

    group = 10,20

    services = bouquetclass,bouquetinter


    oscam.server:


    [reader]

    label = Inter

    description = PCSC_1

    protocol = pcsc

    device = 0

    pincode = 0000

    caid = 0100

    detect = cd

    nagra_read = 1

    group = 10

    emmcache = 2,2,2,0

    saveemm-u = 1


    [reader]

    label = Locale

    description = PCSC_Locale

    protocol = pcsc

    device = 1

    pincode = 0000

    caid = 0100

    detect = cd

    nagra_read = 1

    group = 20

    emmcache = 2,2,2,0


    log247.txt


    I have attached the log file for a particular user.

    • Official Post

    ECM requests for the same channels are trying your card and the virtual card/inter at the same time. This could be why there is a delaying opening some channels.


    In oscam.conf [global] set preferlocardcards = 2 this will try your card first instead of cache or virtual card/inter.


    EMM`s aren`t received instantly. Your provider will send out the update at certain times throughout the month.


    In oscam web-interface, click readers tab and check if any EMM`s are being received.

  • Here is the oscam.conf


    [global]

    serverip = ---

    logfile = /var/log/oscam/oscam.log

    netprio = 20

    unlockparental = 1

    nice = -1

    maxlogsize = 2000

    preferlocalcards = 2

    reload_readers = 1

    usrfile = /var/log/oscam/oscamuser.log

    cwlogdir = /var/log/oscam/cw


    [cache]

    max_time = 1800


    [newcamd]

    port = 4433@0100:0001EB;4434@0100:00009F

    key = 0102030405060708091011121314

    keepalive = 1

    mgclient = 1


    [dvbapi]

    enabled = 1

    au = 1

    pmt_mode = 0

    request_mode = 1

    ecminfo_type = 1

    boxtype = pc


    [monitor]

    port = 988

    aulow = 120

    monlevel = 1


    [webif]

    httpport = ---

    serverip = ---

    httpuser = ---

    httppwd = ---

    httphideidleclients = 0

    httpallowed = 0.0.0.0-255.255.255.255

    httpdyndns = ---

    aulow = 120

    httposcamlabel = OSCam_Webif


    Any suggestions master G?

  • Hello,


    How can I prevent ECM requests from a specific channel to be send to all readers. I want only a specific reader to handle the ECM request.

    Is this doable in OSCAM?

  • Sat000info:


    You are replying to an old post. However, once you have refreshed it, I will also try to answer :).


    Oskracer:


    ECM packets are predetermined by the specific channels (services) you watch on the receiver. EMMs are commands for controlling the firmware in the decoding card or for controlling the CAM module.


    Consequently, you can filter the ECM by disabling or enabling individual "services" that you define in the "oscam.services" file and use it under a specific reader ("oscam.server" - [reader]) as a filter or even as a specific user filter ("oscam.user"). Use an exclamation mark to tell the reader to make the filter inverse.

    http://www.streamboard.tv/wiki/OSCam/en

    http://www.streamboard.tv/wiki…/en/Config/oscam.services

    http://www.streamboard.tv/wiki…fig/oscam.server#services

    http://www.streamboard.tv/wiki…onfig/oscam.user#services


    And I will reply to the previous older post on "au = Locale". It's wrong ! Unfortunately, there is no "Locale" label reader in your configuration ! The correct universal configuration should be "au = 1" for sending EMMs for all available Oscam readers. It is also correct to use the "au = <reader_label>" configuration for a particular single reader. More info here: http://www.streamboard.tv/wiki/OSCam/en/Config/oscam.user#au

  • Hi SN30,


    Thank you for your post.

    AU is still not working. I thing EMM are sent on specific channels/mux. au = Locale is a reader label in my configuration.

    Please find here:


    [reader]

    label = Inter

    description = PCSC_1

    protocol = pcsc

    device = 0

    pincode = 0000

    fallback = 1

    caid = 0100

    detect = cd

    mhz = 450

    cardmhz = 450

    ident = 0100:0001EB

    group = 10

    disablecrccws = 1


    [reader]

    label = Locale

    description = PCSC_Locale

    protocol = pcsc

    device = 1

    pincode = 0000

    localcards = 0500:030F00

    caid = 0500

    detect = cd

    nagra_read = 1

    ident = 0500:030F00

    group = 20

    lb_weight = 300

  • Another problem that I am encountering is that am having lots of 'rejected group' and 'not found' in my logs.


    I currently run 2 local cards, one using CAID 0100 and the other 0500.

    I loadbalanced between the two. lb_weight is higher on the 0500 card. SO if its not cleared, it will move the 0100 card.


    dump.txt

  • Oskracer:


    Rejected group can be a problem of anything. At first it is a problem of a badly set group (if you know English then you are clear!) - do not forget to add the groups you use, also to the file "oscam.user" for the user "dvbapi" (group = 10,20) or for users, who are connecting to your softcam server.


    I don't see your entire Oscam configuration and I don't know your provider or its crypto mode, so I can't advise you. Sorry.


    You may need to add aeskey to your reader settings, but I don't know your provider and encryption, so maybe it's no problem ... try to add:

    aeskey = 0102030405060708090a0b0c0d0e0f10

    Another example:

    http://www.streamboard.tv/wiki…amples/Reader#PCSC_Reader


    Or the error is caused by badly configured card reader filtering (groups, lb_weight, services, oscam.dvbapi - CAID filtering, etc.).

  • 16E running well by pubilc oscam, not need more config . easy . only show which card do you have it now

  • [global]

    logfile = /var/log/oscam/oscam.log

    clienttimeout = 10000

    fallbacktimeout = 5000

    netprio = 18

    unlockparental = 1

    nice = -10

    maxlogsize = 2000

    preferlocalcards = 1

    block_same_ip = 0

    block_same_name = 0

    usrfile = /var/log/oscam/oscamuser.log

    cwlogdir = /var/log/oscam/cw.log

    emmlogdir = /var/log/oscam/emm.log

    lb_mode = 10

    lb_save = 1000

    lb_max_ecmcount = 2000

    lb_reopen_invalid = 0

    lb_force_reopen_always = 1

    lb_retrylimit = 1500

    lb_stat_cleanup = 48

    lb_max_readers = 2

    lb_auto_betatunnel = 0

    lb_savepath = /usr/local/stat

    lb_nbest_percaid = 0100:2

    disablecrccws = 1


    [cache]

    max_time = 1000


    [newcamd]

    port = xxxx@0100:000000,0001EB;xxxx@0100:00009F

    key = 0102030405060708091011121314

    keepalive = 1

    mgclient = 1


    [account]

    user = xxxx

    pwd = xxxx

    caid = 0100,0500

    expdate = 2020-05-31

    group = 10,20

    ident = 0100:0001EB,00009F


    [reader]

    label = reader_md

    description = PCSC_md

    protocol = pcsc

    device = 0

    pincode = 0000

    fallback = 1

    caid = 0100

    detect = cd

    mhz = 450

    cardmhz = 450

    ident = 0100:0001EB

    group = 10

    disablecrccws = 1


    [reader]

    label = reader_mru

    description = PCSC_mru

    protocol = pcsc

    device = 1

    pincode = 0000

    localcards = 0100:00009F

    caid = 0100

    detect = cd

    nagra_read = 1

    ident = 0100:00009F

    group = 20

    lb_weight = 300


    Here are the configs.

  • I do not understand. According to the dump file, there are extremely large response time from reader_md and reader_mdr (5 - 8 sec.).


    Why do you have two cards ? I do not understand. They have the same CAID, all right, but they also have the same list of available PROVIDs (provider IDs) ? Why two cards with the same CAID ?

  • I wanted to loadbalance between the 2 cards. They have identical CAIDs but different bouquets. As for the reponse time, I don't why it is this much. I currently run around 60 users. Maybe its too much? Or the reader, I am using an Omnikey.


    Thanking you in advance

OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

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