Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

Setting up newcs + mgcamd

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peremacedonia
    Experienced Board Member
    • Jun 2010
    • 872

    Setting up newcs + mgcamd

    Setting up Newcs

    * First of all you need a good text editor which is compatible with UNIX. A good freeware editor is Notepad++ 3.8.
    * Use Notepad++ to open “newcs.xml” file. You are kindly suggested not touch or edit anything at all. I show you how to edit file just you should need to change some setting in the future.
    * In this text you can find settings for 2 CAS, “lower” is the lower one and “upper” is the upper one. Since DM500 has only 1 CAS it is considered as “lower”. You will use port 34000 for lower cas and port 34001 for upper cas:
    <readers name=”Card Readers”> <device> <name>lower</name> <type>Sci</type> <node>/dev/sci0</node> <parity>even</parity> <export>yes</export> <enabled>yes</enabled> <blocksa>no</blocksa> <blockua>no</blockua> <blockga>no</blockga> <boxid></boxid> <PTShandshake>no</PTShandshake> <Seca-PPV>no</Seca-PPV> <crypto-special>yes</crypto-special> <carddetect>no</carddetect> <newcamd_port>34000</newcamd_port> <autosid>yes</autosid> <priority>round</priority> </device> <device> <name>upper</name> <type>Sci</type> <node>/dev/sci1</node> <parity>even</parity> <export>yes</export> <enabled>yes</enabled> <blocksa>no</blocksa> <blockua>no</blockua> <blockga>no</blockga> <boxid></boxid> <PTShandshake>no</PTShandshake> <Seca-PPV>no</Seca-PPV> <crypto-special>yes</crypto-special> <carddetect>yes</carddetect> <newcamd_port>34001</newcamd_port> <autosid>yes</autosid> <priority>round</priority> </device> </readers>
    In this text you can find deskey and name used for your network:
    <enabled>yes</enabled> <deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey> <name>newcs</name>
    You can find here settings for client access which will be used by MGCamd to make our smart card working:
    <user> <name>user1</name> <password>pass1</password> <au>on</au> <allow>lower</allow> <allow>upper</allow> </user>
    # Finally, if you have not changed anything, very important settings for client are:Port: 34000 (lower) or 34001 (upper)
    Deskey: 01 02 03 04 05 06 07 08 09 10 11 12 13 14
    User: user1
    Pass: pass1
    # Copy “newcs.xml” file to your dreambox path /var/tuxbox/config/

    Setting up MGCamd

    * Open with Notepad++ “newcamd.list” file you found in the zip archive you downloaded before. If you left all unchanged in newcs settings, you can leave all unchanged also here.
    * Two lines, quoted here below, are very important. The former makes your card working in the lower cas, the latter makes your card working in upper cas and necessary datas are the server IP address, the used port, the user name, the password and the des key:
    CWS = 127.0.0.1 34000 user1 pass1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs CWS = 127.0.0.1 34001 user1 pass1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs
    CWS = 127.0.0.1 34000 user1 pass1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs CWS = 127.0.0.1 34001 user1 pass1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs
    # Copy “newcamd.list” and “mg_cfg” file to your dreambox path /var/keys/
    # If you followed instructions carefully, you can insert smart card (with gold chip downwards), then you go to firmware menu to run emu ( generaly you access by pressing blue key) select “MGCamd + Newcs” as emu (or a similar name which can change depending on firmware versions), reset emu. Should not it working, please reboot your dreambox and after boot it should be all working.
    Rule n.33 kid..... Concentrate
  • peremacedonia
    Experienced Board Member
    • Jun 2010
    • 872

    #2
    Setting up newcs + camd3

    Please be sure first that you already installed in your dreambox newcs and camd3. If not, please install them first and carry on reading this tutorial.

    Last step before going on. For sure you are wondering why installing two EMUs to have my smart card working. The answer is simple. In order to clear channels on our TV set, we need two components: one “Card Reader” and one “EMUlator”. The former is in charge of comunication between smart card and “softcam”, the latter is in charge to manage those datas and to send them to decoder. Both of them are necessary to read our smart card, should one of the two be missing, channels would be never cleared. To be honest, camd3 only would be enough alone to read our smart card, but, trust me, it is much better to use newcs as card reader. Main “Card Readers” are two: “cardserver” and “newcs”. This tutorial will explain how to use newcs.

    I did all tests which are described in this tutorial with a Firecrypt smart card which is sold with every dreambox and which is for channel INXTC TV. The procedural is anyway the same for every smart card you decide to use. Once set up is completed, you can use all smart cards if compatible with newcs and camd3.

    Setting up Newcs

    * First of all you need a good text editor which is compatible with UNIX. A good freeware editor is Notepad++ 3.8.
    * Use Notepad++ to open “newcs.xml” file. You are kindly suggested not touch or edit anything at all. I show you how to edit file just you should need to change some setting in the future.
    * In this text you can find settings for 2 CAS, “lower” is the lower one and “upper” is the upper one. Since DM500 has only 1 CAS it is considered as “lower”. You will use port 34000 for lower cas and port 34001 for upper cas:
    <readers name=”Card Readers”> <device> <name>lower</name> <type>Sci</type> <node>/dev/sci0</node> <parity>even</parity> <export>yes</export> <enabled>yes</enabled> <blocksa>no</blocksa> <blockua>no</blockua> <blockga>no</blockga> <boxid></boxid> <PTShandshake>no</PTShandshake> <Seca-PPV>no</Seca-PPV> <crypto-special>yes</crypto-special> <carddetect>no</carddetect> <newcamd_port>34000</newcamd_port> <autosid>yes</autosid> <priority>round</priority> </device> <device> <name>upper</name> <type>Sci</type> <node>/dev/sci1</node> <parity>even</parity> <export>yes</export> <enabled>yes</enabled> <blocksa>no</blocksa> <blockua>no</blockua> <blockga>no</blockga> <boxid></boxid> <PTShandshake>no</PTShandshake> <Seca-PPV>no</Seca-PPV> <crypto-special>yes</crypto-special> <carddetect>yes</carddetect> <newcamd_port>34001</newcamd_port> <autosid>yes</autosid> <priority>round</priority> </device> </readers>
    <readers name=”Card Readers”> <device> <name>lower</name> <type>Sci</type> <node>/dev/sci0</node> <parity>even</parity> <export>yes</export> <enabled>yes</enabled> <blocksa>no</blocksa> <blockua>no</blockua> <blockga>no</blockga> <boxid></boxid> <PTShandshake>no</PTShandshake> <Seca-PPV>no</Seca-PPV> <crypto-special>yes</crypto-special> <carddetect>no</carddetect> <newcamd_port>34000</newcamd_port> <autosid>yes</autosid> <priority>round</priority> </device> <device> <name>upper</name> <type>Sci</type> <node>/dev/sci1</node> <parity>even</parity> <export>yes</export> <enabled>yes</enabled> <blocksa>no</blocksa> <blockua>no</blockua> <blockga>no</blockga> <boxid></boxid> <PTShandshake>no</PTShandshake> <Seca-PPV>no</Seca-PPV> <crypto-special>yes</crypto-special> <carddetect>yes</carddetect> <newcamd_port>34001</newcamd_port> <autosid>yes</autosid> <priority>round</priority> </device> </readers>
    In this text you can find deskey and name used for your network:
    <enabled>yes</enabled> <deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey> <name>newcs</name>
    You can find here settings for client access which will be used by camd3 to make our smart card working:
    <user> <name>user1</name> <password>pass1</password> <au>on</au> <allow>lower</allow> <allow>upper</allow> </user>
    * Finally, if you have not changed anything, very important settings for client are:Port: 34000 (lower) or 34001 (upper)
    Deskey: 01 02 03 04 05 06 07 08 09 10 11 12 13 14
    User: user1
    Pass: pass1
    * Copy “newcs.xml” file to your dreambox path /var/tuxbox/config/

    Setting up Camd3

    * Open with Notepad++ “camd3.config” file you found in zip archive you downloaded before. If you left all unchanged in newcs settings, you can leave all unchanged in camd3.config file. Please go directly to last 2 rows. First row makes smart card working in upper cas, second row makes smart cardin lower cas:
    SLOT=127.0.0.1:4:1:1:1:34001:user1ass1:0102030405060708091011121314 SLOT=127.0.0.1:4:1:1:1:34000:user1ass1:0102030405060708091011121314
    # Copy “camd3.config” file to your dreambox path /var/keys/
    # If you followed instructions carefully, you can insert smart card with gold chip downwards, then you go to firmware menu to run emu (generaly you access by pressing blue key) select “Camd3 + Newcs” as emu (or a similar name which can change depending on firmware versions), reset emu. Should not it working, please reboot your dreambox and after boot it should be all working.
    Rule n.33 kid..... Concentrate

    Comment

    Working...