Thursday, October 15, 2009

CCCam Tutorial for 7020

DM 7025 & "CCcam Protocol" : how to establish a LAN Cardsharing process (VIACCESS 2)


A> NECESSARY EQUIPMENT FOR A LAN CONNECTION

- ADSL CONNECTION (over PSTN or ISDN)

- Modem-Router with at least 3 ethernet ports

- Cables RJ-45 (cat. 5 or cat. 6)

- DMBox 500/56XX/600/7000/7020

- DMBox 7025

- PC (WIN XP) with 10/100 MBit Compatible Ethernet Interface and an FTP Client installed (FILEZILLA CLIENT 2.2.31)

- An Official Subscription Card VIACCESS 2 (CAId : 0500)

B> PRELIMINARIES

HOW TO CONNECT THE DMBoxes TO THE PC AND TO THE INTERNET

I> USING THE Dynamic Host Configuration Protocol (DHCP) , via the Modem-Router.

i> Go to the configuration interface of your modem and ENABLE the DHCP option. The Modem-Router is now the default Internet Gateway which acts as a
DHCP Server , in order to distribute automatically to each device of the LAN (PC , DMBox) its own Local IP Address.

ii> Connect the PC and the DMBox to the modem-router , via cables RJ-45

iii> Configurations on the DMBoxes

- DM 500/56XX/7000/7020

Go to "Menu/Mainmenu/Setup/Expert setup/Communication Setup :
*ENABLE the DHCP option and CONFIRM the option "Enable Network"
*Connection Type : LAN
*Port : 80
Green button to SAVE the above configurations

- DM 7025

Go to Menu/Setup/System/Network :
* "Use DHCP" : YES
PRESS the OK button to confirm the choice

iv> Configurations on the PC :

Start/Control Panel/Network Connections/Local Area Connection/Properties/Internet Protocol (TCP/IP)/Properties :
- CHECK the following options : "Obtain an IP address automatically" & "Obtain DNS server address automatically"
- Go to Advanced/Default gateways : ADD the IP address of the Modem-Router

II> USING Personalized settings

- For the DMBoxes

The elements to be modified are the following :

- IP Address : Associate to the DMBoxes a Local IP address starting from 192.168.xxx.xxx , because this type of address is "private" and cannot be refound on the Network
- Nameserver : Set the Primary (Public) IP address of your ISProvider. You could also set the Local Internal IP address of the Modem-router. It's up to you.
- Gateway : Set the Local IP address of the Modem-router
- CHECK the option : "Enable Network"

PRESS the OK/Green button to SAVE the configutations.

- For the PC

Start/Control Panel/Network Connections/Local Area Connection/Properties/Internet Protocol (TCP/IP)/Properties :
- CHECK the option "Use the following IP address" and set :
i> IP address : 192.168.xxx.yyy
ii> Subnetmask : BY DEFAULT , 255.255.255.0
iii> Default gateway : the Local IP address of the Modem-router (192.168.xxx.zzz)
- CHECK the option : "Use the following DNS server addresses" and set as "preferred" & "alternate" the Public IP addresses (primary and secondary) of your
ISProvider

FOR EXAMPLE :
*Router's Local Internal IP address : 192.168.1.1
*PC's Local IP address : 192.168.1.2
*Default Gateway : 192.168.1.1 (router's IP address)
*DNS server addresses : ISP's main & alternative public IP addresses OR the Router's Local IP address (192.168.1.1)

**DMBoxes's LAN IP addresses :
- 192.168.1.3
- 192.168.1.4
**Gateway : 192.168.1.1 (the router's Local IP address)
**Nameserver : 192.168.1.1 (the router's IP address) OR the ISP's Primary IP address

C> DM 7025 & VIACCESS 2 CARD : HOW TO ESTABLISH A LAN "CARDSHARING PROCESS"

- DMBox 500 : CARDSERVER
- CARDSERVER'S IMAGE (img) : GP2 V. 3.50 MaxVar
- CARDSERVER'S LAN IP Address : 192.168.1.3
- CARDSERVER'S Username / Password : local / local
- DMBox 7025 : CLIENT
- CLIENT'S IMAGE (nfi) : GP2 V. 2.30
- CLIENT'S LAN IP Address : 192.168.1.4
- CLIENT'S Username / Password : user / pass
- Protocol to use during the Cardsharing process : "CCcam 1.7.1-Complete" Emu

a) CARDSERVER & CCcam Protocol {"CCcam 1.7.1" : Cardserver Emu}

- Blue Panel/Addons/Download & Install/Cam/"CCcam 1.7.1"
- Blue Panel/Addons/Download & Install/Cam-config/"CCcam-Config 1.7.1"
- Blue Panel/Right-Left Buttons/Selection of the "CCcam 1.7.1" Emu /
Green Button (Stop/start Cam) to activate the selected Emu

- Run the Filezilla 2.2.31 FTP Client on your PC and press "Quickconnect"
(http://sourceforge.net/project/showf...group_id=21558)

Address : 192.168.1.3 (Menu/Setup/System/Network/IP Address)
User : root
Password : dreambox
Port : 21

- Go to var/etc/ and download from the DM 500 straight to your PC (double click or drag & drop) the "CCcam cfg" file. Open it with WordPad.

Just add the following F (Friend/User/Client) Line :

F: {based on caid:id:sid}

* ClientUsername : user
* Clientpwd : pass
* MaxUphopsLimit ("Cascading") = 0,1,2,3,4,5,6,7,8,9,10
- If Uphops = 0 , the Friend/User gets ONLY the Administrator's LOCAL CARDS
- If Uphops = 1,2,3,4,5,6,7,8,9,10 , the Friend/User gets ALL Administrator's CARDS at a maximum of 1,2,3,4,5,6,7,8,9,10 hops away.
In other words the Client is allowed (by the Administrator) to share the Card down to other clients {1,2,3,4,5,6,7,8,9,10 further levels beyond his/her own}
* ShareEmus = 0 , 1 {Optional}
- If ShareEmus = 0 , the Client gets NO Emus
- If ShareEmus = 1 (default) , the Client receives Emu shares {the corresponding C Line on Client must have a "yes" entry in the "wantemus" parameter}
* AllowEmm = 0 , 1 {Optional}
- If AllowEmm = 0 , the Client is not allowed to send to the Administrator Emm (Key updates)
- If AllowEmm = 1 (default) , the Client is allowed to send Emm (Key updates)
* DownshareLimitsPerShare {Optional}
* DownshareLimitsPerShare {Optional}

** The SHARE PORT (ServerPort) = 12000 (by default)

The Server's (DM 500) Cardreader Slot "recognizes" the Smartcard's CAId (0500/VIACCESS) , so there's NO NEED for additional configuration {Server's LAN Ip Address / Server's name / Server's pwd}. In other words , there's NO NEED for the Administrator to add a C ("Connection") Line , in order to allow to the Server to connect to itself via the SharePort.
Anyway , EVEN IF IT'S USELESS , you could add the following C (Connection) Line :

C: {yes-optional}

* ServerIpAddress : 192.168.1.3
* ServerPort : 12000 (by default)
* ServerUsername : local
* Serverpwd : local

This is how the "CCcam cfg" file must look like :


Close the session and upload from the PC straight to the DM 500 (var/etc) the modified "CCcam cfg" file.
BLUE PANEL/SELECTION of the "CCcam 1.7.1" EMU/GREEN BUTTON : stop/start "CCcam 1.7.1" emu to reactivate and apply the modifications.

There are SEVERAL , EQUALLY VALUABLE , COMBINATIONS between , and parameters.
That's why , you must read carefully the explanations appearing in the configuration options of "CCcam-Config 1.7.1" file and define the rules of the Cardsharing Process according to your own needs (personalized settings).

Those are the official Configuration Options/Settings of the "CCcam cfg" File {"CCcam-Config 1.7.1"/CCcam Protocol} , according to the CCcam-Team :



b) CLIENT & CCcam Protocol {"CCcam 1.7.1" : Client Emu}

-Blue Panel/Addons/Download & Install/Camd/"CCcam 1.7.1"
-Blue Panel/Addons/Download & Install/Camd Config/"CCcam-Config 1.7.1"
-Blue Panel/Right-Left Buttons/Selection of the "CCcam 1.7.1" Emu/Green Button (Stop/start Cam) to activate the selected Emu
-Run the Filezilla 2.2.31 FTP Client on your PC and press "Quickconnect" (http://sourceforge.net/project/showf...group_id=21558)

Address : 192.168.1.4 (Get the information from : Menu /setup/ System/ Network/IP Address)
User : root
Password : - (for the DM 7025 there's no need for pwd-however you can type "dreambox")
Port : 21

Go to /etc/ and download from the DM 7025 straight to your PC (double click or drag & drop) the "CCcam cfg" file. Open it with WordPad.

Just add the following C (Connection) Line :

C: {yes-optional}

* ServerIpAddress = the Cardserver's (DM500) LAN Ip Address = 192.168.1.3
* ServerPort = the SHARE PORT = 12000 (by default)
* ClientUsername = user
* Clientpwd = pass
* WantEmus = yes {Optional , but necessary if the Client desires to activate the "ShareEmus" option (on the Server's F Line)}

This is how the "CCcam cfg" file must look like :


Close the session and upload from the PC straight to the DM 7025 (/etc) the modified "CCcam cfg" file.
BLUE PANEL/SELECTION of the "CCcam 1.7.1" EMU/GREEN BUTTON : stop/start "CCcam 1.7.1" emu to reactivate and apply the changes.

The LAN Cardsharing Process is about to begin , thanks to the powerful "CCcam Protocol" ("CCcam 1.7.1-Complete" Emu) and its (various & interesting) configuration options (via the associated "CCcam-Config 1.7.1" file).
The "CCcam" Emu can be used , AT THE SAME TIME , as a "Cardserver" (on DM 500) and as a "Client" Emulator (on DM 7025).
Via its configuration options , it can be totally compatible with other "Camd Server Protocols" (Newcamd/Camd3/Radegast/NewCS) and contributes to the establishment of a successful & fully operational cardsharing process.

0 comments:

Post a Comment