Se pare ca acum merge NEWCS 1.65 cu Azbox.
Dar acum nu prea reusesc sa fac NEWCS sa citeasca cardul.
Am pus in boxkey valoarea hexa (care am folosit-o cu success si in cccam pe un dream). Am incercat diferite frecvente, dar nimic, aparent vede cardul, dar cand trimite D074018001 la el, nu primeste nimic inapoi.
Am obesrvat ca apare in log:
[ 21:22:32 ] [ Config ] hwkey not found !
[ 21:22:32 ] [ Config ] ekpair not found !
ce sunt astea? cum le pot configura, daca e nevoie?
Daca poate cineva sa ma ajute, as fi recunoscator.
Fisierul de Configuratie incercat e:
Code:
<?xml version="1.0"?>
<newCSconfig>
<readers name="Card Readers">
<device>
<name>upper</name>
<type>azbox</type>
<node>/dev/scard</node>
<export>yes</export>
<enabled>yes</enabled>
<blocksa>no</blocksa>
<blockua>no</blockua>
<blockga>no</blockga>
<newcamd_port>20000</newcamd_port>
<autosid>yes</autosid>
<carddetect>yes</carddetect>
<priority>round</priority>
<!--PTShandshake>no</PTShandshake-->
<mhz>357</mhz>
<boxkey>0ADxxxxx</boxkey>
<!--boxid> 0ADxxxxx</boxid-->
<!--rsa>00000000</rsa-->
</device>
</readers>
<xmlserver>
<enabled>0</enabled>
</xmlserver>
<radegastserver>
<enabled>0</enabled>
</radegastserver>
<cache>
<emm>10</emm>
<ecm>-1</ecm>
</cache>
<debug>
<darint39>sintoi51</darint39>
<level>internal</level>
<type>all</type>
<output>console, tcp</output>
<logfile>/tmp/newcs.txt</logfile>
<console_options></console_options>
<file_options></file_options>
<udp_host>172.16.1.1</udp_host>
<udp_port>9000</udp_port>
<udp_options></udp_options>
<tcp_port>1001</tcp_port>
<tcp_options></tcp_options>
</debug>
<!--httpd>
<server>
<port>8080</port>
<enabled>yes</enabled>
</server>
<user>
<name></name>
<password></password>
<accesslevel>admin</accesslevel>
</user>
</httpd-->
<newcamdserver>
<enabled>yes</enabled>
<name>local</name>
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
<user>
<name>***</name>
<password>***</password>
<hostname>127.0.0.1</hostname>
<port>12000</port>
</user>
</newcamd_server>
</newCSconfig>
Si logul:
Code:
MMP[newcs]$ ./newcs -c newcs.xml
Reading Config file from newcs.xml
****** INTERNAL enabled
TCP-log password is disabled!
level: internal
type: all
output: console, tcp
logger config: level 16777215 type 255 output 5
Console log options: level 16777215 type 255
tcp port: 1001
TCP log options: level 16777215 type 255
[ 22:50:24 ] [ Box detect ] Box type 9
[ 22:50:24 ] [ Config ] hwkey not found !
[ 22:50:24 ] [ Config ] ekpair not found !
[ 22:50:24 ] [ Config ] /dev/scard ECM priority: round
[ 22:50:24 ] [ Newcamd ] Server name : local
[ 22:50:24 ] [ Newcamd ] Des key : 0102030405060708091011121314
[ 22:50:24 ] [ Newcamd ] User 2: user, Pass: ***, Host 127.0.0.1, Port: 12000
, Au: Off, Spider allowed: No, Sidoverride: No, reader control: No, level: 0
[ 22:50:24 ] [ EMM Cache ] Initialising Cache with 10 entries
[ 22:50:24 ] [ ECM Cache ] Initialising dynamic Cache
[ NewCS ] Process ID is: 1269
[ 22:50:24 ] Calibrating delay loops
[ 22:50:24 ] usleep(5) takes: 0 s 16 us
[ 22:50:24 ] usleep(10) takes: 0 s 18 us
[ 22:50:24 ] usleep(100) takes: 0 s 822 us
[ 22:50:24 ] usleep(500) takes: 0 s 809 us
[ 22:50:24 ] [ Loader ] Reader type 11 on node /dev/scard
[ 22:50:24 ] [ azbox ] Opening device /dev/scard
[ 22:50:25 ] ATR: 3F FF 14 25 03 10 80 41 B0 01 69 FF 4A 50 70 00
[ 22:50:25 ] ATR: 00 5A 4A 01 00 00
[ 22:50:25 ] [ CardMan ] Atr header is 3F FF [INVERSE]
[ 22:50:25 ] parseAtr: 3F FF 14 25 03 10 80 41 B0 01 69 FF 4A 50 70 00
[ 22:50:25 ] parseAtr: 00 5A 4A 01 00 00 00 00 00 00 00
[ 22:50:25 ] [ ATR ] T=0 1etu=46.50us Guardtime:15etu WWT:76800etu
[ 22:50:25 ] [ ATR ] Historical bytes: A [B0] [01] i [FF] J P p [00] [00] Z J [01] [00] [00]
[ 22:50:25 ] [ ATR ] freq 1000000.000 sciFreq 3570000.000
[ 22:50:25 ] [ Loader ] Init NDS card
[ 22:50:25 ] [ NDS ] Sending to Card: D074018001
[ 22:50:25 ] [ azbox ] Delay is 13us
[ 22:50:25 ] write: D0 74 01 80 01
[ 22:50:25 ] [ azbox ] Timeout is 1000308us