NewCS Howto (dm7025, 7020, ...)

witten
21-12-2006, 14:19
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
SLOT=localhost:4:1:1:1:34000:login1:passw1:01020304050607080 91011121314
SLOT=localhost:4:1:1:1:34001:login1:passw1:01020304050607080 91011121314

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:010203040506070 8091011121314
SLOT=192.168.1.1:4:1:1:1:34001:login1:passw1:010203040506070 8091011121314

Enjoy

mhuk
21-12-2006, 15:35
What characters should be where the smiley faces are in the code? :p

Guess it is : P

Rocknroll
21-12-2006, 15:37
Thats when code tag should be used. Because smilies are not parsed in code:
:p

witten
21-12-2006, 15:55
sorry, didn't see that

Rocknroll
21-12-2006, 15:58
sorry, didn't see that

Not a problem at all. Thx for sharing in any case.

witten
21-12-2006, 16:55
I tried to edit it but I don't get to choose code-tags then

Rocknroll
21-12-2006, 17:15
I tried to edit it but I don't get to choose code-tags then

You have to click on "go advanced" button after clicking edit to get full editor. But never mind, I edited the post.

XX25
21-12-2006, 17:58
SI TUTTO OK RAGAZZI:clapping:

witten
21-12-2006, 19:25
SI TUTTO OK RAGAZZI:clapping:

:) my chinese is not that good :p

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum