NewCS Howto (dm7025, 7020, ...)

witten

Registered
Messages
10
Howto activate the cardreader of the 7025 with NewCS


NewCS (=Server)
NewCs is a cardserver. This means that it activates the internal cardreaders of the dreambox and makes the cards in the cardreaders available over a network connection (TCP/UDP). Nothing less, nothing more. Doing just this doesn't mean that you can share your card... You also need a client application to connect to the server. This is the big difference between NewCS and CAMD3.
CAMD3 can be client and server at the same time. NewCS is only a server. When started, he just waits in Standby-modus until a client asks for connection.

evocamd/mgcamd (=Client)
Very important!!!! You also need a client on the same box as the server who connects to the localhost

Installation:

You'll need following packages:

1.NewCS
blue button -> 2.Addons -> Download and install -> camd -> NewCS-v1.xx
blue button -> 2. Addons -> Download and install-> camd-config -> NewCS-Config

2.Evocamd
blue button -> 2.Addons -> Download and install -> camd -> Evocamd-v2.xx complete
blue button -> 2. Addons -> Download and install-> camd-config -> Evocamd-Config

3.Mgcamd
blue button -> 2.Addons -> Download and install -> camd -> Mgcamd-v1.xx complete
blue button -> 2.Addons -> Download and install -> camd -> Mgcamd-Config


Configuration:

You will need an FTP programm like FlashFXP or SmartFTP to connect to your dreambox. The files can be changed with a text-editor like Notepad++ (don't use notepad from Windows)


NewCS configuration:

/var/tuxbox/config/newcs.xml

<newCSconfig>
<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>no</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>no</crypto-special>
<carddetect>yes</carddetect>
<newcamd_port>34001</newcamd_port>
<autosid>yes</autosid>
<priority>round</priority>
</device>

<debug>
<level>normal</level>
<type>init</type>
<output>console,udp,tcp</output>
<logfile></logfile>
<console_options></console_options>
<file_options></file_options>
<udp_host>192.168.0.100</udp_host> (Put here IP of the server)
<udp_port>1000</udp_port>
<udp_options></udp_options>
<tcp_port>3001</tcp_port>
<tcp_options></tcp_options>
</debug>
<newcamdserver>
<enabled>yes</enabled>
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
<name>newcs</name>
<userfile>/tmp/users.txt</userfile>
<user>
<name>login1</name> (choose a login)
<password>Passw1</password> (choose a password)
<au>on</au>
<allow>lower</allow>
<allow>upper</allow>
</user>
</newcamdserver>
</newCSconfig>

Evocamd cofiguration

following is the configuration if you want to connect to the newCS server with an Evocamd client. You have to do this on the same box as the server.
This connection to the localhost lets you share and watch at the same time

/var/keys/newcamd-client.txt

[127.0.0.1]
port = 34001
key = 01 02 03 04 05 06 07 08 09 10 11 12 13 14
username = login1
password = passw1

[127.0.0.1]
port = 34000
key = 01 02 03 04 05 06 07 08 09 10 11 12 13 14
username = login1
password = passw1

When you prefer Mgcamd in stead of Evocam, change the following:
/var/tuxbox/config/newcamd.conf
CWS = 127.0.0.1 34000 login1 passw1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs
CWS = 127.0.0.1 34001 login1 passw1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs

If you want to connect with camd3, change the following:
/var/keys/camd3.config
Code:
SLOT=localhost:4:1:1:1:34000:login1:passw1:0102030405060708091011121314
SLOT=localhost:4:1:1:1:34001:login1:passw1:0102030405060708091011121314

Sharing:
Sharing with evocamd
/var/keys/newcamd-client.txt (on the client box)
[192.168.1.1]   IP of your client box      
port = 34001            
key = 01 02 03 04 05 06 07 08 09 10 11 12 13 14                    
username = login1        
password = passw1        

[192.168.1.1]             
port = 34000
key = 01 02 03 04 05 06 07 08 09 10 11 12 13 14
username = login1
password = passw1

Sharing with Mgcamd
/var/tuxbox/config/newcamd.conf
CWS = 192.168.1.1 34000 login1 passw1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs
CWS = 192.168.1.1 34001 login1 passw1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs

Sharing with Camd3
/var/keys/camd3.config
SLOT=192.168.1.1:4:1:1:1:34000:login1:passw1:0102030405060708091011121314
SLOT=192.168.1.1:4:1:1:1:34001:login1:passw1:0102030405060708091011121314
Enjoy
 
Last edited:

mhuk

Registered
Messages
61
What characters should be where the smiley faces are in the code? :p

Guess it is : P
 

Rocknroll

Staff member
Administrator
Messages
6,174
Thats when code tag should be used. Because smilies are not parsed in code:
Code:
:p
 
Top