B
Bennieboy
Heeft er hier iemand ervaring met newcs?
Ik heb het wel voor elkaar gekregen om het aan de praat te krijgen.
Maar na 10 min stopt ie opeens de ecm te sturen.
Ik gebruik newcs i.v.m een cardlink.
Ik gebruik een debian server En heb newcs geinstalleerd op basis van deze handleiding.
De config bestand.
Als ik newcs opstart
Kan iemand hier zo zien of ik iets fouts doen?
Ik heb het wel voor elkaar gekregen om het aan de praat te krijgen.
Maar na 10 min stopt ie opeens de ecm te sturen.
Ik gebruik newcs i.v.m een cardlink.
Ik gebruik een debian server En heb newcs geinstalleerd op basis van deze handleiding.
Code:
13: As lot asked how to install NewCs into Clarkconnect so here is tutorial how do too that.
On Clarkconnetc we need to update first libcrypto.so.0.9.7a to a libcrypto.so.0.9.8. Please follow exaclty my next instruction!
cd /lib
ln -sf libcrypto.so.0.9.7a libcrypto.so.0.9.8
Download NewCs pack and do so:
Unpack Newcs pack and take out from there 2 files: newcs.i686 and
newcs.xml.phoenix Next rename newcs.i686 to a newcs.x86 and newcs.xml.phoenix to a newcs.xml
Copy newcs.x86 to /var/bin and set chmod 755
Copy newcs.xml to /etc
Next edit newcs.xml for you needs and start newcs.x86 same way as you started CCcam: /var/bin ./newcs.x86
And for last we put newcs.x86 to server auto startup script.
If use newcs and CCcam together then palce so that newcs.x86 script is next over CCcam.x86 startup script then boots newcs.x86 first up and then CCcam.x86 like it should.
newcs auto startup script:
Code:
Phoenix on Com1
phoenix
368
/dev/ttyS0
odd
normal
Yes
Yes
No
No
No
Yes
no
34000
Yes
0000
round
no
10001
localhost
20
-1
34001
yes
newcs
newcs
admin
newcs
simple
internal
all
console,tcp
1001
normal,init
Yes
newcs
01 02 03 04 05 06 07 08 09 10 11 12 13 14
ben
test1
on
off
No
1
1234
no
myShares
remote
1234
myname
mypassword
myShares
myname
mypassword
myShares
Code:
[ 23:07:51 ] [ Seca ] Status Word from Card: 9000
[ 23:07:51 ] [ Seca ] Sending to Card: C112000019
[ 23:07:51 ] Phoenix_write:
0000: c1 12 00 00 19 .....
[ 23:07:51 ] [ Serial ] Write on fd 5 (len=5)
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=5 timeout=15032ms)
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=1 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 12 .
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=25 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 00 00 53 45 43 41 20 20 20 20 20 20 20 20 20 20 ..SECA
0010: 20 20 00 00 00 00 00 00 00 .......
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=1 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 90 .
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=1 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 00 .
[ 23:07:51 ] [ Seca ] Status Word from Card: 9000
[ 23:07:51 ] [ Seca ] Sending to Card: C112010019
[ 23:07:51 ] Phoenix_write:
0000: c1 12 01 00 19 .....
[ 23:07:51 ] [ Serial ] Write on fd 5 (len=5)
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=5 timeout=15032ms)
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=1 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 12 .
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=25 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 00 6a 43 41 4e 41 4c 44 49 47 49 54 41 41 4c 20 .jCANALDIGITAAL
0010: 20 20 08 6a 29 80 26 5c 00 .j).&\.
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=1 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 90 .
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=1 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 00 .
[ 23:07:51 ] [ Seca ] Status Word from Card: 9000
[ 23:07:51 ] [ KeymaN ] Adding key 000000086a2980 type 1 on Provider 00006A for caid 0100 ID=1
[ 23:07:51 ] [ Seca ] Sending to Card: C112020019
[ 23:07:51 ] Phoenix_write:
0000: c1 12 02 00 19 .....
[ 23:07:51 ] [ Serial ] Write on fd 5 (len=5)
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=5 timeout=15032ms)
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=1 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 12 .
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=25 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 00 6b 4f 50 45 52 41 54 4f 52 20 32 20 20 20 20 .kOPERATOR 2
0010: 20 20 00 00 00 00 00 00 00 .......
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=1 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 90 .
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=1 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 00 .
[ 23:07:51 ] [ Seca ] Status Word from Card: 9000
[ 23:07:51 ] [ KeymaN ] Adding key 00000000000000 type 1 on Provider 00006B for caid 0100 ID=2
[ 23:07:51 ] [ Seca ] Sending to Card: C112030019
[ 23:07:51 ] Phoenix_write:
0000: c1 12 03 00 19 .....
[ 23:07:51 ] [ Serial ] Write on fd 5 (len=5)
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=5 timeout=15032ms)
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=1 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 12 .
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=25 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 00 6c 4f 50 45 52 41 54 4f 52 20 33 20 20 20 20 .lOPERATOR 3
0010: 20 20 00 00 00 00 00 00 00 .......
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=1 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 90 .
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=1 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 00 .
[ 23:07:51 ] [ Seca ] Status Word from Card: 9000
[ 23:07:51 ] [ KeymaN ] Adding key 00000000000000 type 1 on Provider 00006C for caid 0100 ID=3
[ 23:07:51 ] [ Seca ] Sending to Card: C112040019
[ 23:07:51 ] Phoenix_write:
0000: c1 12 04 00 19 .....
[ 23:07:51 ] [ Serial ] Write on fd 5 (len=5)
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=5 timeout=15032ms)
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=1 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 12 .
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=25 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 00 6d 4f 50 45 52 41 54 4f 52 20 34 20 20 20 20 .mOPERATOR 4
0010: 20 20 00 00 00 00 00 00 00 .......
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=1 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 90 .
[ 23:07:51 ] [ Serial ] Read on fd 5 (len=1 timeout=14832ms)
[ 23:07:51 ] Phoenix_read:
0000: 00 .
[ 23:07:51 ] [ Seca ] Status Word from Card: 9000
[ 23:07:51 ] [ KeymaN ] Adding key 00000000000000 type 1 on Provider 00006D for caid 0100 ID=4
[ 23:07:51 ] Card reader unlocked for reader Phoenix on Com1 [/dev/ttyS0]
[ 23:07:51 ] [ 0100 ] Init took: 0.403754
[ 23:07:51 ] [ Loader ] Card 0100 on port /dev/ttyS0 ready
[ 23:07:51 ] [ Loader ] Starting Newcamd Server on port 34000
[ 23:07:51 ] [ Card queue /dev/ttyS0 ] Starting...
[ 23:07:51 ] [ Newcamd ] Newcamd thread Server started on port 34000
newcamd: main loop
[ 23:07:51 ] [ NewCS ] Ready to GO!