N line and cyfra oscam help.

There are 9 replies in this Thread which was already clicked 351 times. The last Post () by hs5424.

  • Hi All,

    I received an N line from a friend which allows my debian server to connect to his 0963 card. This works fine. However I have a Cyfra 0100 card in the debian server which I can run in Oscam. When I try to run both at the same time they will not. I installed his N line as a reader in oscam and the cyfra local card in an onmikey as a reader also. Hope this is the correct approach. Hear is one of my config setup's. As you can see I have tried different port setup's . One will run the N line to my friends server while the other will run my local 0100 card but both will not run at the same time. The port 30017 is my normal listen port.

    Any suggestions appreciated.

    [newcamd]

    #port = 30017@0100:000068;30018@0963:000000

    port = 300017@0963:000000;30018@0100:000000,000068

    #port = 30017@0100:000068

    key = 0102030405060708091011121314

    keepalive = 1

  • port = 300017@0963:000000;30018@0100:000000,000068

    ---------------------------------------------------------


    300017 is too high for starters, 65535 is the highest you can go.


    Not exactly sure what your cyfra line issue is but it looks like your ports are also far too close together..


    I would as an example have this below


    port = 30017@0963:000000;30218@0100:000000,000068

  • Sorry for the confusion. I did not want to post my ports on a public forum so the ones shown are not factual. During testing when I hashed out one set of lines the N line to my friends server works perfectly. If for example I use line 2 setup, the N line to my friends 0963 card works perfectly but my local Cyfra 0100 card in my omnikey will not work. If I use line 1 the local card will work but the N line will not. I cannot get both to work at the same time. The N line is working when setup as a Reader in oscam.

    The lower port number (3017) is my oscam listen port.

    [newcamd]

    Test Line 1. port = 3017@0100:000068;3018@0963:000000

    Test Line 2. port = 3017@0963:000000;3018@0100:000000,000068


    key = 0102030405060708091011121314

    keepalive = 1

    Edited 2 times, last by hs5424: Reader 1 is my omnikey . Reader 2 is N line to friends server which is running fine. ().

  • You'll need to post up your configs (remove your sensitive info) for a complete picture on what's happening or alternatively, send me a copy via pm and I can have a look for you.

    I have a similar setup to yours.

  • Hi Codar,

    Thanks for getting back to me. Here are my configs. To confirm , N line working fine as reader, Cyfra card in other reader will only run as stand alone. Just notice something when all my configs are on the one sheet is the user and pass for both readers and the account do not match. Thought I would mention this.


    [global]

    logfile = /var/log/oscam.log

    nice = -1

    preferlocalcards = 1


    [cache]

    max_time = 8


    [newcamd]

    port = xxxx5@0963:000000;xxxx6@0100:000068 ( the xxxx5 port is my actual oscam port).

    key = 0102030405060708091011121314

    keepalive = 1


    [webif]

    httpport = xxxxxx

    httpuser = xxxxxxxx

    httppwd = xxxxxxxx

    httprefresh = 15

    httpallowed = 127.0.0.1,0.0.0.0-255.255.255.255

    aulow = 120

    ###############################################


    [reader]

    label = cyfra

    description = newcamd

    protocol = pcsc

    device = 0

    user = xxxxxx

    password = xxxxxx

    autospeed = 0

    caid = 0100

    detect = cd

    ident = 0100:000068

    group = 1

    emmcache = 1,3,2


    [reader]

    label = Reader-1

    description = newcamd

    protocol = newcamd

    device = xxxxxxxxxxxxx.xxxxxxxx.com,31000 (this is the N line from friend. Working)

    key = 0102030405060708091011121314

    user = xxxxxxx

    password = xxxxxxx

    caid = 0963

    ident = 0963:000000

    group = 1


    ##############################################################

    [account]

    user = xxxxxx

    pwd = xxxxxx

    caid = 0100

    uniq = 1

    monlevel = 2

    group = 1

    ident = 0100,000000,000068

  • Try removing user and password from cyfra reader (as it is a local card) as these are set on user account, eg:

    [reader]


    label = cyfra
    protocol = pcsc
    device = 0
    caid = 0100
    detect = cd
    mhz = 450
    cardmhz = 450
    ident = 0100:000068
    group = 1
    emmcache = 1,1,2,0
    blockemm-unknown = 1
    blockemm-u = 1
    blockemm-s = 1
    disablecrccws = 1
    auprovid = 000100


    This account entry should give you access to both readers then:


    [account]

    user = xxxxxx

    pwd = xxxxxx

    uniq = 1

    monlevel = 2

    group = 1




    I'd also consider putting different readers into different groups if i were you.

  • Hi Codar,

    Top marks. Your advise worked 100%. I removed the user and pass from the cyfra reader and then put cyfra on group 2. I still had no pics from Cyfra until i put group 1,2 into the account for my client box. I am still learning at my age.

Participate now!

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