Помогите разобратся:
Установил newcs и mgcamd с azboxworld.com
Кратко:
- порты и ip у обоих настроены на 127.0.0.1:12000
Запускаю через телнет сессии оба бинарника но mgcamd не видит NEWcs
Connection to 127.0.0.1:12000 failed
помогите найти причину!!!
[hr]
вот конфиги
[spoiler=NewCS]
[/spoiler]
[spoiler=newcamd.list]
[/spoiler]
[hr]
Вот логи:
[spoiler=mgcamd]
[/spoiler]
[spoiler=newcs]
[/spoiler]
Установил newcs и mgcamd с azboxworld.com
Кратко:
- порты и ip у обоих настроены на 127.0.0.1:12000
Запускаю через телнет сессии оба бинарника но mgcamd не видит NEWcs
Connection to 127.0.0.1:12000 failed
помогите найти причину!!!
[hr]
вот конфиги
[spoiler=NewCS]
Код:
<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>no</autosid> <carddetect>yes</carddetect> <priority>hard</priority> <PTShandshake>no</PTShandshake> <mhz>500</mhz> <boxkey>ID моей карты</boxkey> </device> </readers> <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>dummy</name> <password>dummy</password> <hostname>127.0.0.1</hostname> <port>12000</port> </user> </newcamd_server> </newCSconfig>
[spoiler=newcamd.list]
Код:
CWS = 127.0.0.1 12000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan local
[hr]
Вот логи:
[spoiler=mgcamd]
Код:
./mgcamd tuxbox mgcamd v1.35 by mixvt (compiled Jan 20 2010 21:34:06) [mg] Net:9:7:2:5s Show ecm:1, emm:1 Up:1 Au:0 Dir:0 Osd:no:80:0 Cache:6 Log:3:172.16.1.1:8028 Reread:4 [mg] Ecm cache time: 15 Box type: azbox Conax.Key error 2: No such file or directory Keys readed AutoRoll.Key error 2: No such file or directory Conax.Key error 2: No such file or directory [config] newcamd route = dummy:127.0.0.1:12000 server local newcamd keep alive: 0, incoming port: 20000 Me: host id 0000 port 0 max send 10 max dist 10 Resend time: normal 3000 5000, nds 700 1500 Ports to monitor: [OPENXCAS_API:Tue Nov 8 16:26:50.951] openxcas_open:285 ## mgcamd [OPENXCAS_API:Tue Nov 8 16:26:50.960] load_xcas_control:98 ## loaded controller ID = 0x19760507 osdep_msq_server_open : key_request 0x54C4D100 key_response 0x54C4D101 key(54c4d100), msgflg(448) key(54c4d101), msgflg(448) osdep_msq_client_connect : key_request 0x54C4D100 key_response 0x54C4D101 [mgcam] emm thread started [newcamd] Connecting to 127.0.0.1:12000... [newcamd] Connection to 127.0.0.1:12000 failed (1ms)
[spoiler=newcs]
Код:
./newcs Reading Config file from /var/tuxbox/config/newcs.xml Reading Config file from /PLUGINS/OpenXCAS/NewCS/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 [ 16:26:46 ] [ Box detect ] Box type 9 [ 16:26:46 ] [ Config ] /dev/scard ECM priority: hard [ 16:26:46 ] [ Config ] No SIDFILTER is configured, disabling SidOverride for device 0 (upper)! [ 16:26:46 ] [ Newcamd ] Server name : local [ 16:26:46 ] [ Newcamd ] Des key : 0102030405060708091011121314 [ 16:26:46 ] [ Newcamd ] User 2: dummy, Pass: dummy, Host 127.0.0.1, Port: 12000, Au: Off, Spider allowed: No, Sidoverride: No, reader control: No, level: 0 [ 16:26:46 ] [ EMM Cache ] Initialising Cache with 10 entries [ 16:26:46 ] [ ECM Cache ] Initialising dynamic Cache [ NewCS ] Process ID is: 1226 [ 16:26:46 ] Calibrating delay loops [ 16:26:46 ] usleep(5) takes: 0 s 15 us [ 16:26:46 ] usleep(10) takes: 0 s 16 us [ 16:26:46 ] usleep(100) takes: 0 s 108 us [ 16:26:46 ] usleep(500) takes: 0 s 507 us [ 16:26:46 ] [ Loader ] Reader type 11 on node /dev/scard [ 16:26:46 ] [ azbox ] Opening device /dev/scard SCARD_IOC_CHECKCARD: ATR len=22 [ 16:26:48 ] ATR: 3F FF 14 25 03 10 80 33 B0 10 69 FF 4A 50 70 00 [ 16:26:48 ] ATR: 00 43 52 01 00 00 [ 16:26:48 ] [ CardMan ] Atr header is 3F FF [INVERSE] [ 16:26:48 ] [ ATR ] T=0 1etu=46.50us Guardtime:15etu WWT:76800etu [ 16:26:48 ] [ ATR ] Fi 1 (372) Di 4 (8) [ 16:26:48 ] [ ATR ] Historical bytes: 3 [B0] [10] i [FF] J P p [00] [00] C R [01] [00] [00] [ 16:26:48 ] [ ATR ] freq 1000000.000 sciFreq 5000000.000 [ 16:26:48 ] [ Loader ] Init NDS card [ 16:26:48 ] [ NDS ] Sending to Card: D074018001 [ 16:26:48 ] [ azbox ] Delay is 9us [ 16:26:48 ] write: D0 74 01 80 01 [ 16:26:48 ] [ azbox ] Timeout is 714240us [ 16:26:48 ] read: 74 [ 16:26:48 ] [ azbox ] Timeout is 714240us [ 16:26:48 ] read: 84 [ 16:26:48 ] [ azbox ] Timeout is 714240us [ 16:26:48 ] read: 90 00 [ 16:26:48 ] [ NDS ] Status Word from Card: 9000 [ 16:26:48 ] [ NDS ] Sending to Card: D074010084 [ 16:26:48 ] [ azbox ] Delay is 9us [ 16:26:48 ] write: D0 74 01 00 84 [ 16:26:48 ] [ azbox ] Timeout is 714240us [ 16:26:48 ] read: 74 [ 16:26:48 ] [ azbox ] Timeout is 714240us ....и далее
Комментарий