Update a Viaccess 3.0 card using NewCS+Mgcamd

''
In this small ''How to'', I will try to share my experience of updating a TV-card based on Viaccess 3.0 using my DM600PVR Dreambox.

By updating a Viaccess card I mean updating the subscription period, for example, my card is a JSC Sport+ based on Viaccess 3.0 with 1 year subscription period, I started using the card on 16/5/2008 at that time it gave me subscription rights to 23/8/2008...the card stopped working after that, enabling EMM on CCcam did not update the card neither leaving the card in another receiver for several days did update the subscription rights.

The reason for me writing this small ''How to'' is that I could not find any information on how to update a Viaccess card anywhere on ECS forum or the internet, there is however a small post by our Mod Smurfer where he wrote that he uses Mgcamd to update his Viaccess card, but unfortunately, he did not give any information of how to do that.

So, if you have a Viaccess card that you need to be updated, here is how to do that using your Dreambox...

For this I used NewCS 1.61 and Mgcamd 1.3d on PLI-image, NewCS 1.62 can be downloaded and installed on PLI but it will not show as server, it's why I used NewCS 1.61...DCC 2.95 is used for configuration/editing the configuration files.


1. Installing NewCS 1.61 and Mgcamd 1.3d


A. Press the Blue-button on your remote, and choose Software Mangement

B. Choose Download latest menu from the menu, choose Yes and then press the Red-button on your remote to close the window.

C. Choose Downloads from the menu then choose SoftCams/Cardservers from the menu.

D. Choose and press OK on Mgcamd (1.3d) to download, press the Red-button to close the installation window and return to the SoftCams/Cardservers when the installation is done, repeat the same with Mgcamd config (1.3d) to download and install the Mgcamd configuration file.

E. On the SoftCams/Cardservers, brows down to Older Softcams and then choose NewCS cardserver, press OK to download and install the NewCS Cardserver (1.61)

2. Configuring NewCS 1.61 and Mgcamd 1.3d

A. Run DCC 2.95, choose the FTP tab and brows to the folder /etc/tuxbox, if you have a Gemini-image or a Nabilo-image then it's located in /etc/tuxbox/config, right-click the file newcs.xml and choose Edit from the menu.
When the file opens, clear all the text inside of it and copy these line from here and paste them in the newcs.xml file:



<newCSconfig>
<readers name="SCI">
<device>
<name>Lower Cardreader</name>
<type>sci</type>
<mhz>357</mhz>
<node>/dev/sci0</node>
<parity>odd</parity>
<reset>normal</reset>
<export>Yes</export>
<enabled>Yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<!-- <boxkey>0000000000</boxkey> -->
<!-- <rsa>0000000000</rsa> -->
<irdeto-camkey>0000000000000000</irdeto-camkey>
<irdeto-camkey-data>000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000</irdeto-camkey-data>
<crypto-special>No</crypto-special>
<ipk>000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000</ipk>
<ucpk>00000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000000000</ucpk>
<PTShandshake>No</PTShandshake>
<carddetect>yes</carddetect>
<newcamd_port>34000</newcamd_port>
<autosid>Yes</autosid>
<Seca-PPV>no</Seca-PPV>
<pincode>0000</pincode>
<priority>round</priority>
</device>
</readers>
<cache>
<emm>20</emm>
<ecm>-1</ecm>
</cache>
<debug>
<password>NewCSpwd</password>
<level>normal</level>
<type>init</type>
<output>console,tcp</output>
<console_options>normal,init</console_options>
<tcp_port>1001</tcp_port>
<tcp_options>normal,init</tcp_options>
</debug>
<newcamdserver>
<enabled>Yes</enabled>
<name>newcs</name>
<server-ip>Your_DNS_Host_Name</server-ip>
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
<user>
<name>Your_Dreambox_User_name</name>
<password>Your_Dreambox_Pass</password>
<hostname>Your_Dreambox_Lan_IP</hostname>
<port>34000</port>
<au>on</au>
<sidoverride>on</sidoverride>
<spider>No</spider>
<allow>lower</allow>
<rate>2</rate>
</user>
</newcamdserver>
<httpd>

<server>
<port>8080</port>
<enabled>yes</enabled>
</server>
<user>
<name>Your_Admin_User_Name</name>
<password>Your_Admin_Pass</password>
<accesslevel>admin</accesslevel>
</user>

</httpd>
</newCSconfig>

The lines in Red are to be changed to your own parameters such as your Dreambox Lan-IP, User-names, Passwords...etc.

When done, choose Save and Exit to exit the editor.


B. Brows to the file newcam.list in /usr/keys , right-click the file and choose to edit, when the file opens, you will see these to lines:

CWS = 127.0.0.0 10000 local local 01 02 03 04 05 06 07 08 09 10 11 12 13 14 wan cardserver
CWS = 127.0.0.1 10001 local local 01 02 03 04 05 06 07 08 09 10 11 12 13 14 wan cardserver

Change the first line to:

CWS = Your_Dreambox_Lan_IP 34000 Your_Dream_User_Name Your_Dreambox_Pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan cardserver

Again, the parameters in Red and Blue are to be changed to your own parameters such as your Dreambox Lan-IP, user-name, password...etc,and you must keep the spaces as they are, parameters that have to be changed are the same as in the newcs.xml

Choose Save and Exit to exit the editor when done.

3. Starting NewCS+Mgcamd


A. Press the Blue button on your Dreambox remote, move to Softcamd Setup and press OK, choose NewCS as Cardserver and choose Mgcamd as Default SoftCam, press the Red button to start the NewCS Server and press the Green button to Save and Restart the Mgcamd emulator.

B. Put your card in your Dreambox and change the channel in your Dreambox to one of your card providers channels, if you have configured NewCS and Mgcamd correctly then it will only take a few seconds for the picture to appear which means that the update is complete.

You can check if your card has been updated by writing your Dreambox Lan-IP followed by port 8080, means, if your Dreambox has the Lan-IP ( example ): 192.168.1.5 then you need to write: 192.168.1.5:8080 in your browser and hit Enter...
Enter the username and the password that you have created in the <httpd> lines in your newcs.xml configuration file to log in to the server.

The subscription period can be shown by clicking on Entitlements and then clicking on List to download the Entitlements informations, such as subscription period.

The only difference between PLI image, Gemini and Nabilo images is that Gemini and Nabilo offers the combination of Mgcamd+NewCS as a single download, everything else is the same.

I hope that this small ''How to'' can be helpful for them that have trouble updating there cards. ''