Posts by FatRabbit

    NOTE: my final set up was:

    Code
    DM520 newamd server <-- newcamd --> oscam proxy <--- newcamd ----> other clients with newcamd client

    found the issue!
    After hours of debug and research, I found out that the value of IDENT needs to be specified (obfuscated on purpose here), do not leave it to the default 000000:

    Code
    [newcamd]
    #port = 12005@0100:000000 # <--- do not use the default 000000
    port = 12005@0100:000XXX
    key = 0102030405060708091011121314
    keepalive = 1
    mgclient = 1

    found the issue!
    After hours of debug and research, I found out that the value of IDENT needs to be specified (obfuscated on purpose here), do not leave it to the default 000000:

    Code
    [newcamd]
    #port = 12005@0100:000000 # <--- do not use the default 000000
    port = 12005@0100:000XXX
    key = 0102030405060708091011121314
    keepalive = 1
    mgclient = 1

    Ok use you DM for Share with cs378x Protocol and Clientbox with oscam or use on you computer linux with IPC server and share to you client with cs378x Protocol


    DM SERVER OPEN CS378X > CLIENT USE OSCAM WITH CS378X PROTOCOL


    my setup raspberry with IPC open cs357x Share to client box with oscam and cs357x protocol

    No result, even logs are empty. I tried :
    1/ DM with oscam <-- cccam --> computer with oscam<--cccam--> clients
    2/ DM with oscam <-- cs378x -- > computer with oscam <--cccam --> clients
    3/ DM with oscam <-- cccam --> computer with oscam <--newcamd--> clients

    3/ DM with oscam <-- cs378x --> computer with oscam <--newcamd--> clients
    Empty logs even at highest debug level. I wonder:

    - is there any reason for oscam to not respond to client and show nothing in log?
    - is there any alternative to oscam?
    NOTE: if DM with oscam <------> clients

    it works with not problem whatever protocol I use

    Ok for understand you DM are server box ?

    Yes,
    One DM520 is a server

    It provides a cs578x share to a computer which shares it to the other boxes.
    the other boxes does not work when connecting to that computer (which I call proxy) but work fine when connecting directly to the DM.

    What might prevent the computer to respond to the boxes?

    hi!
    I own and pay for a subscription. However I use a DM520 to share because I have 3 TVs in my house.
    I decided to try to put a proxy server between my main Dreambox and the the three other boxes:


    Code
    DM520 --> proxy_server --> client_boxes

    The DM520 reads the smartcard
    The proxy server connects to the dreambox through cs378x on port 12005
    The proxy server then allows the clients to connect via cccam on port 1122

    results:
    - The DM520 works with no problems
    - when connecting directly via cccam to the DM520 , the clients work with no problem
    - when connecting through the proxy with cccam protocol, none of the clients work.

    logs:
    - the proxy is shown as connected
    - the clients are shown as connected

    - but no log entries on either DM520 nor proxy server that shows client request. No activity on DM520 log and the proxy-server only add this single line:


    Code
    2021/08/05 18:22:20 3D565865 c   (client) encrypted cccam-client 10.5.0.10 granted (user001, au=off)


    you will find my DM520 (DM520.conf) and proxy-server (proxy.conf) configurations in attachement.

    Thank you all!

    hi!
    My provider exchanged my smartcard with aw new one.
    I have a DM520 that run fine with the former smartcard, now it does not work with the new smartcard I got black screen:crying1:
    In my DM logs I see:
    detected nagra merlin card in CAK7 mode

    ROM revision: DNASP450 RevW60

    ERROR: Not all required CAK7 parameters are set!card system not supported

    Normal mode failed, reverting to Deprecated Mode


    1/ what does "Not all required CAK7 parameters are set" mean?

    2/ is my issue the "CAK7 parameters" thing or just the card system not supported?


    If someone can help me understand at least

    thx

    Are you using mgcamd on the client box?

    Instead of newcamd, have you tried using a different protocol like CCcam?

    Yes, I do use mgcamd on the client, it only supports cccam and mgcamd.

    I have tried cccam but to no avail.


    I too suspect that the client is the issue.


    Is there a way to make the box connect and send mgcamd queries to itself? Much like ssh to localhost.

    Have you tried without the ratelimitecm - ratelimittime - ecmunique - srvidholdtime - cooldown parameters?

    Hi!
    Glad you came to help master G
    I did. In fact these are parameters I added, I started with minimal config and added them (I took note).

    I remember having tweaked the ecm log format and after that the "wrong chksum" error was associated with a log entry containing "#CW:00000000000000000000" , normal ecm (for the dvbapiau of the box) would not have such a null CW and would be logged "found"

    it was in [global] section, and the parameter was :
    ecmfmt = P: c:p:s:d:i:0 #ECM_L:l #CW=w HOP:j

    I hope it helps to find the culprit

    hi!

    I have openpli 8 installed on DM520 HD. I have a single smartcard plugged in.
    the DM reads the smartcard fine, I can watch all programs directly on it
    My second box is connected to my DM via newcamd. But it does not work.
    log level 0 says:

    2021/03/29 14:49:46 6AF559B0 c (ecm) 001 (0100@0001EB/5C00/145D/64:B93638DF05EFBF0A30C9F6C6C7683A60): rejected (1 ms) by lower_card (Invalid ecm type for card)
    digging deeper with log level 4 shows:

    2021/03/29 14:51:36 372BA43A r (ecm) ECM for reader lower_card was bad/has a wrong chksum!

    more complete logs are STARTLOG.txt (log level 0) and LOG-LEV4.txt (log level 4) and my complete configuration file is STARTLOG.txt

    I am using the simplest config I could come up with : one user and one newcamd instance, but no luck. :unhappy::unhappy:
    - why is it working fine when watching directly on the DM520? for instance, see the log entry here which clearly says the ecm is "found":

    2021/03/29 15:13:49 4983AE2E c (ecm) dvbapiau (0100@0001EB/5C00/14BC/64:BA9D600AF8C6BF931D6441F15562D761): found (368 ms) by lower_card

    - why is it no working at all on my second box? Why do these log entries appears and what do they mean?
    - Is there any configuration I have missed?


    PS: Running OpenPLi 8.0star (2021-02-26-develop) on Dream Multimedia DM520 HD + oscam-emu (NOT simple oscam)

    hi!
    I have a dreambox dm520 HD running OpenPLi. I have a smartcard running fine with it (legally purchased) .
    I have 2 TVs so they wanted me to buy two subscriptions so instead I had no choice but purchase a second box with newcamd enabled and connect it to the dreambox+smartcard with newcamd protocol (the username I use is "001"). The thing is:


    1/ watching tv directly with the dreambox+smartcard is fine , no error in logs and no warning. Lot of lines like this:

    2021/03/28 15:10:15 04A78D1F c (ecm) dvbapiau (0100@0001EB/5C00/151A/64:8B80E40D3D501C737CDA6391F2AA4CA9): found (311 ms) by home-reader


    2/ watching tv with the second box (with newcamd protocol) does not work and logs show a lot of the following lines repeating (001 is the username I have set up):

    2021/03/28 15:10:15 3013FAF2 c (ecm) 001 (0100@0001EB/5C00/1453/64:2CAF6691313F41E724DD6FE3FC9EBEA8): rejected (0 ms) by home-reader

    2021/03/28 15:10:16 3013FAF2 c (ecm) 001 (0100@0001EB/5C00/1453/64:3BBEB1ECA7172D2B908C8DEF9E694390): rejected (93 ms) by home-reader (Invalid ecm type for card)


    my full oscam config is here: oscam.conf

    information about my mainbox:
    - box brand: Dream Multimedia DM520 HD

    - operating system: PLi-OE

    - firmware: OpenPLi 8.0star (2021-02-26-develop)
    - Kernel / Drivers: 3.4 / 20180222

    - oscam version: OSCam r11686

    My conclusion is that the issue must be with newcamd server since the dreambox and the smartcard talk fine.
    Can anyone help me configure my newcamd server to make it work?
    What does "Invalid ecm type for card" mean and why does it only appear with newcamd communication and not direct communication between the DM520 and the smartcard?


    Thank you all ... sorry for long post

    hi!

    I have bought a dreambox and I want to use it with a smartcard I have legally purchased, nothing illegal.

    I loaded the smartcard inside the (only) cardslot of the dreambox and made some modifications in config files /etc/tuxbox/config/oscam/
    But I have black screen
    1- here is my config oscam.conf
    2- and log from start of oscam process to the begining of my errors: startlog.txt

    Would someone help me please? I know Master G can

    Thanks a lot.


    Attachments: oscam.conf and startlog.txt