Newcs.xml:
<newCSconfig>
<readers name="Phoenix">
<device>
<name>smargo</name>
<type>phoenix</type>
<mhz>600</mhz>
<node>/dev/ttyUSB0</node>
<parity>odd</parity>
<reset>normal</reset>
<export>Yes</export>
<enabled>Yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<irdeto-camkey>0000000000000000</irdeto-camkey>
<irdeto-camkey-data>0000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000</irdeto-camkey-data>
<crypto-special>No</crypto-special>
<ipk>0000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000</ipk>
<ucpk>000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000</ucpk>
<PTShandshake>No</PTShandshake>
<carddetect>yes</carddetect>
<newcamd_port>15000</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>
<httpd>
<server>
<port>8081</port>
<enabled>yes</enabled>
</server>
<user>
<name>newcs</name>
<password>newcs</password>
<accesslevel>admin</accesslevel>
</user>
</httpd>
<debug>
<password>newcs</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>
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
<name>cardserver</name>
<userfile>/tmp/users.txt</userfile>
<user>
<name>freetzncs</name>
<password>xxxxxxxxx</password>
<au>on</au>
</user>
<user>
<name>avg</name>
<password>xxxxxxxxxxx</password>
<au>on</au>
</user>
</newcamdserver>
</newCSconfig>
In der Cardclient.conf vom SC steht einzig und alleine:
newcamd:localhost:15000:1/1702/FFFF:avg:xxxxxx:0102030405060708091011121314
Ergebnis:
This is NewCS 1.62 - the New CardServer by the Butter-team..
Compiled on Jan 14 2009 at 20:00:03
Reading Config file from /etc/newcs.xml
TCP-log password is disabled!
TCP-log set to simple mode
level: normal
type: init
output: console,tcp
logger config: level 1 type 3 output 5
Console log options: level 1 type 3
TCP log options: level 1 type 3
[ 16:24:32 ] [ Box detect ] Box type 1 (General Boxtype - PC compatible)
[ 16:24:32 ] [ Config ] Option <blockc0> for device 0 (smargo) not present, defaulting to NO
[ 16:24:32 ] [ Config ] Value in <ipk> for device 0 (smargo) is INVALID, skipping...
[ 16:24:32 ] [ Config ] Value in <ucpk> for device 0 (smargo) is INVALID, skipping...
[ 16:24:32 ] [ Config ] Pincode for device 0 (smargo): 0000
[ 16:24:32 ] [ Config ] /dev/ttyUSB0 ECM priority: round
[ 16:24:32 ] [ Config ] Option <spider> not present for User: freetzncs, defaulting to NO
[ 16:24:32 ] [ Config ] Option <spider> not present for User: avg, defaulting to NO
[ 16:24:32 ] [ httpd ] httpd-user: newcs, password: newcs, accesslevel: admin
[ 16:24:32 ] [ EMM Cache ] Initialising dynamic Cache
[ 16:24:32 ] [ ECM Cache ] Initialising dynamic Cache
[ NewCS ] Process ID is: 7861
[ 16:24:32 ] [ Loader ] Starting Telnet on port 1001
[ 16:24:32 ] [ Loader ] Started HTTP-server on port: 8081
[ 16:24:32 ] [ Loader ] Reader type 2 on node /dev/ttyUSB0
[ 16:24:32 ] [ Phoenix ] Opening device /dev/ttyUSB0
[ 16:24:32 ] [ Phoenix ] Setting Parity to: ODD
[ 16:24:32 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0
[ 16:24:32 ] [ Phoenix ] Setting Baud to custom 16129
[ 16:24:33 ] [ Phoenix ] Normal RESET on node /dev/ttyUSB0
[ 16:24:35 ] [ ATR ] T=14 1etu=104.17us Guardtime:17etu WWT:9600etu
[ 16:24:35 ] [ ATR ] Historical bytes: I R D E T O A C S [03] [84] U [FF] [80]
[ 16:24:35 ] [ Loader ] Init Irdeto card
[ 16:24:35 ] [ Phoenix ] Setting Parity to: NONE
[ 16:24:35 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0
[ 16:24:35 ] [ Phoenix ] Setting Baud to standard 9600
[ 16:24:35 ] [ KeymaN ] Adding key 000000007c1cdd type 0 on Provider 000000 for caid 1702 ID=0
[ 16:24:35 ] [ KeymaN ] Adding key 00000000ffffff type 1 on Provider 000000 for caid 1702 ID=0
[ 16:24:35 ] [ KeymaN ] Adding key 00000000ffffff type 1 on Provider 000001 for caid 1702 ID=1
[ 16:24:35 ] [ KeymaN ] Skipping duplicate irdeto
[ 16:24:35 ] [ KeymaN ] Adding key 00000000ffffff type 1 on Provider 000002 for caid 1702 ID=2
[ 16:24:35 ] [ KeymaN ] Skipping duplicate irdeto
[ 16:24:35 ] [ KeymaN ] Adding key 00000000ffffff type 1 on Provider 000003 for caid 1702 ID=3
[ 16:24:35 ] [ KeymaN ] Skipping duplicate irdeto
[ 16:24:38 ] [ Loader ] Card 1702 on port /dev/ttyUSB0 ready
[ 16:24:38 ] [ Loader ] Starting Newcamd Server on port 15000
[ 16:24:38 ] [ NewCS ] Ready to GO!
Du musst angemeldet sein, um Bilder zu sehen.
>>> DONE <<<
root@ReelBox:/usr/sbin# [ 16:24:38 ] [ Newcamd ] Newcamd thread Server started on port 15000
newcamd: main loop
[ 16:24:47 ] [ httpd ] User newcs logged in..
[ 16:25:10 ] [ Newcamd:15000 ] User avg logged in, client: Generic
[ 16:25:18 ] [ Newcamd ] ECM -> avg (OK) 1702 0000 0011
[ 16:25:21 ] [ Newcamd ] ECM -> avg (NOT OK) 1702 0000 0011
[ 16:25:21 ] [ Newcamd ] ECM -> avg (NOT OK) 1702 0000 0011
[ 16:25:28 ] [ Newcamd ] ECM -> avg (NOT OK) 1702 0000 0011
[ 16:25:28 ] [ Newcamd ] ECM -> avg (NOT OK) 1702 0000 0011
[ 16:25:35 ] [ Newcamd ] ECM -> avg (NOT OK) 1702 0000 0011
[ 16:25:35 ] [ Newcamd ] ECM -> avg (NOT OK) 1702 0000 0011
[ 16:25:42 ] [ Newcamd ] ECM -> avg (NOT OK) 1702 0000 0011
[ 16:25:42 ] [ Newcamd ] ECM -> avg (NOT OK) 1702 0000 0011
[ 16:25:50 ] [ Newcamd ] ECM -> avg (OK) 1702 0000 0011
[ 16:25:56 ] [ Newcamd ] ECM -> avg (NOT OK) 1702 0000 0011