Skip to content


Setup Card Sharing

This is a HOWTO for setup some tools for card sharing.


CS (Card Sharing) is sharing a smart card with another STB via ethernet.
If you use CS you can see scrambled channel even if you don’t have proper smart card in the client STB.
You can share a card with another STB server or PC server.


  • Download image. There are many images for CS on DGStation/IPBOX receivers.
    You can download an image from denktenk.com
    Search for HighLand/Fantacy, Enigma (only single tuner!)
  • Card sharing s/w : NewCS, mgcamd, evocamd, cccam.
    NewCS is a powerful card server. Mgcamd, evocamd, cccam… are EMU s/w.
    You can get these from your favourite sat-forum.
    These files are already in EMU images such as HighLand/Fantacy.

Check software version. This manual works well with following version:

“NewCS : 1.65” “Mgcamd : 1.31” “newcamd : 1.00” “evocamd : 2.04”


If you run NewCS on your STB, it will work as a CS server.

NewCS is a program which can be connected to various kinds of client EMUs.

NewCS set up will be done by /var/tuxbox/config/newcs.xml file.

There are some important points in setting newcs.xml. Below is an important section. You must confirm the setting in parts 2, 3, 5, 7, 8, and the rest part should remain as default setting.

  1. 357
    This means communication speed to card. Most of cases, 357 is good.
  2. /dev/sci0
    Set serial port which is connected to card slot. relook have /dev/sci0 (lower slot), /dev/sci1 (upper slot). mutant have /dev/sci0.
  3. 0000000000
    Enter box keys if needed.
  4. yes
    This option checks automatically whether card is inserted in card reader or no. Enter yes.
  5. 10000
    Set card sharing port number which is newcamd compatible protocol. mgcamd, evocamd use this protocol. If there is a router/firewall, you have to open this port. Most of failures on accessing to server from outer network happen due to the firewall.

  6. Settings for newcamd compatable protocol cardsharing.
  7. 01 02 03 04 05 06 07 08 09 10 11 12 13 14
    This is used for coding on packets while card sharing. Leave it as it is. It does not require to be changed except some particular cases.

  8. This is for clients settings who will be allowed to access to server. You can add users as many as you want. As defaults, below is how it looks.
    user1
    pass1
    on
  9. on
    This setting means whether card update function is on or off .

Compare added new newcs.xml with original newcs.xml. Then you can know howto add new client.

If necessary, you can modify the newcs.xml file and then place the modified file into /var/tuxbox/config using FTP.

If you want to share your slot with your friend, add the settings to newcs.xml and inform your friend detailed information to share cards with your friend.


mgcamd setting can be done by two files exist in /var/keys/mg_cfg, /var/keys/newcamd.list in the receiver.

mg_cfg is regular setting for mgcamd and newcamd.list is setting part which decides to select a server which will be connected when CS is performed.

mg_cfg is not a particular case that require to be changed, contrarily, newcamd.list need to be explained in detail since it is used very often while CS is operated.

newcamd.list can be considered as a server list. In other word, one receiver, as a client set, mgcamd.list will direct the client set to which card server to be connected.

If you open the newcamd.list, setting is done as below.( In each row, each can be distinguished by empty space)

CWS = 127.0.0.1 10000 User1 Pass1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 CWS = 127.0.0.1 10001 User1 Pass1 01 02 03 04 05 06 07 08 09 10 11 12 13 14

Card sharing server setting section

’127.0.0.1′

loopback IP (It allows you to connect to your receiver itself. This is used when your STB has card.)

’10000 or 10001′

Port number (See Note 1,2)

‘User1′

login ID (See Note 1)

‘Pass1′

login Password (Note 1)

’01 02 03 04 05 06 07 08 09 10 11 12 13 14′

DES key (See Note 1)

Note 1 : Each items has to be set in the CS server’s newcs.xml where you aim to be connected.
Note 2: You can designate the port number area. For example, if it is set A:B, it try to connect to numbers between A and B.

In order to do CS, you need to have IP, Port number, ID, Password, DES key details of your friends or third person. For example, you have managed to get the information below.

  • IP : 12.34.56.78
  • Port number : 10000
  • ID : user1
  • Password : pass1

The below row has to be added into newcamd.list and then restart EMU.

“CWS = 12.34.56.78 10000 user1 pass1 01 02 03 04 05 06 07 08 09 10 11 12 13 14”

evocamd settings can be done by two files, /var/keys/camd_cfg, /var/keys/newcamd-client.txt.

camd_cfg is normal settings for evocamd and newcamd-client.txt is settings which give you direction to which server can be connected.

camd_cfg is not a particular case that requires to be changed often, therefore frequently used newcamd-client.txt will be explained in detail.
newcamd-client.txt can be considered as a server list. In other words, it direct your receiver to where to be connected.

If you open the newcamd-client.txt, it is set as below. Each item is similar as mgcamd and the only difference is each item can be entered in every row.

[1] port = 10001 key = 01 02 03 04 05 06 07 08 09 10 11 12 13 14 username = dummy password = dummy

[2] port = 10000 key = 01 02 03 04 05 06 07 08 09 10 11 12 13 14 username = dummy password = dummy

[3]

IP address. And you may know what is meaning of other section if you see left side of =.

If you wish to add a new server, add 5 row as below. Server information is same with mgcamd example.

[4] port = 10000 key = 01 02 03 04 05 06 07 08 09 10 11 12 13 14 username = user1 password = pass1

This page is a Wiki! Log in or register an account to edit.

Posted in .