Jump to content
Калькуляторы

MPCS+open-sasc+getstream Проблема с настройкой

Всем привет!

Пробую настроить связку mpcs+open-sasc+getstream.

В журнале mpcs читаю такое:

-------------------------------------------------------------------------------

>> MPCS << cardserver started at Wed Apr 21 20:58:02 2010

-------------------------------------------------------------------------------

2010/04/21 20:58:02 [ s ] auth size=4652

2010/04/21 20:58:02 [ s ] version=1.0.6, sub=Jun 26 2009 15:48:50 system=i386-pc-linux, nice=-1

2010/04/21 20:58:02 [ s ] max. clients=126, client idle=120 sec, reader=32, pending=256, ecm=256, emm=64

2010/04/21 20:58:02 [ s ] max. logsize=10240 Kb

2010/04/21 20:58:02 [ s ] client timeout=30000 ms, fallback timeout=2500 ms, cache delay=120 msec

2010/04/21 20:58:02 [ s ] shared memory initialized (size=1027782, id=7602176)

2010/04/21 20:58:02 [ s ] Cannot open file "/usr/local/etc/mpcs//mpcs.services" (errno=2)

2010/04/21 20:58:02 [ s ] userdb reloaded: 0 accounts freed, 1 accounts loaded, 0 expired

2010/04/21 20:58:02 [ s ] signal handling initialized (type=sysv)

2010/04/21 20:58:02 [ s ] monitor: initialized (fd=6, port=988)

2010/04/21 20:58:02 [ s ] camd 3.3x: disabled

2010/04/21 20:58:02 [ s ] camd 3.5x: disabled

2010/04/21 20:58:02 [ s ] cs378x: disabled

2010/04/21 20:58:02 [ s ] newcamd: initialized (fd=7, port=50000, crypted)

2010/04/21 20:58:02 [ s ] CAID: 0500

2010/04/21 20:58:02 [ s ] provid #0: 023700

2010/04/21 20:58:02 [ s ] provid #1: 040600

2010/04/21 20:58:02 [ s ] radegast: disabled

2010/04/21 20:58:02 [ s ] pandora: disabled

2010/04/21 20:58:02 [ s ] resolver thread started

2010/04/21 20:58:02 [ s ] logger started (pid=9970)

2010/04/21 20:58:02 [ s ] resolver started (pid=9971, delay=30 sec)

2010/04/21 20:58:02 [ s ] reader started (pid=9972, device=/dev/ttyS0, detect=cd, speed=9600)

2010/04/21 20:58:02 [ s ] Waiting for local card init ....

2010/04/21 20:58:03 [ r 0002 ] Open /dev/ttyS0

2010/04/21 20:58:03 [ r 0002 ] Device: /dev/ttyS0, 9600 bps; 8 bits/byte; Even parity; 2 stopbits; dtr=1; rts=0

2010/04/21 20:58:04 [ r 0002 ] card detected

2010/04/21 20:58:07 [ r 0002 ] Device: /dev/ttyS0, 9600 bps; 8 bits/byte; Odd parity; 2 stopbits; dtr=1; rts=0

2010/04/21 20:58:10 [ r 0002 ] Protocol: T=0: WWT=1000 WI=10 F=372 Clock=3.57Mhz

2010/04/21 20:58:10 [ r 0002 ] ATR: 3F 77 18 00 00 C2 7A 41 02 68 90 00

2010/04/21 20:58:11 [ r 0002 ] Device: /dev/ttyS0, 115200 bps; 8 bits/byte; Odd parity; 2 stopbits; dtr=1; rts=0

2010/04/21 20:58:11 [ r 0002 ] type: viaccess(standard atr), caid: 0500, serial: 3249573595

2010/04/21 20:58:11 [ r 0002 ] providers: 2 (FFF500,040600)

2010/04/21 20:58:11 [ r 0002 ] ready for requests

2010/04/21 20:58:11 [ r 0002 ] serial: 3249573595

2010/04/21 20:58:12 [ r 0002 ] provider: 1, id: FFF500, name: HTB+, sa: C1B08EDB, geo: empty

2010/04/21 20:58:12 [ r 0002 ] provider: 2, id: 040600, name: HTB+, sa: C1B08EDB, geo: 55 4B 52 23

2010/04/21 20:58:12 [ r 0002 ] class: 25, date: 2010/03/31 - 2010/04/30

2010/04/21 20:58:12 [ r 0002 ] class: 24, date: 2010/03/31 - 2010/04/30

2010/04/21 20:58:12 [ r 0002 ] class: 23, date: 2010/03/31 - 2010/04/30

2010/04/21 20:59:33 [ c 0001 ] encrypted newcamd:50000-client 127.0.0.1 granted (dummy, au=ntv_plus, VDRSC)

2010/04/21 21:00:13 [ c 0001 ] 0500&040600/50E4/4F:0200 | 374 ms | found ntv_plus | newcamd | dummy | 10010

2010/04/21 21:00:15 [ r 0002 ] EMM: reader=ntv_plus, type=8e, len=81, idx=0, cnt =1: error (141 ms) by dummy (newcamd)

2010/04/21 21:00:18 [ c 0001 ] 0500&040600/50E4/4F:021B | 74 ms | missing | newcamd | dummy | 10010

2010/04/21 21:00:18 [ c 0001 ] 0500&040600/50E4/4F:021B | 78 ms | missing | newcamd | dummy | 10010

2010/04/21 21:00:28 [ c 0001 ] 0500&040600/50E4/4F:0169 | 77 ms | missing | newcamd | dummy | 10010

2010/04/21 21:00:28 [ c 0001 ] 0500&040600/50E4/4F:0169 | 75 ms | missing | newcamd | dummy | 10010

Вот конфиги mpcs:

 

[global]

Nice = -1

ClientTimeout = 30

#LogFile = stdout

MaxLogSize = 10240

LogFile = /var/log/mpcs.log

CacheDelay = 120

ReaderAlarm = 1

WaitCards = 1

 

[newcamd]

Label = NewCamd

Port = 50000@0500:023700,040600

Key = 0102030405060708091011121314

Group = 1

EMM = 1

 

reader:

 

[reader]

Label = ntv_plus

Protocol = mouse

#Protocol = smartmouse

Device = /dev/ttyS0

Account = dummy,dummy

Fallback = 0

Group = 1

EMMCache = 1,3,2

CAID = 0500

IDENT = 0500:023700,040600

 

account:

 

[account]

User = dummy

Pwd = dummy

Group = 1

AU = ntv_plus

CAID = 0500

IDENT = 0500:023700,040600

 

Cпасибо.

Edited by ccoder

Share this post


Link to post
Share on other sites

У нас получилось завести com-портовый ридер (phoenix) только с помощью CCCam, работает не первый месяц, раздаем около 40 каналов.

Share this post


Link to post
Share on other sites

У нас получилось завести com-портовый ридер (phoenix) только с помощью CCCam, работает не первый месяц, раздаем около 40 каналов.

Конфигами не поделитесь?

Share this post


Link to post
Share on other sites

Неужели никто ничего не посоветует ? :(

Share this post


Link to post
Share on other sites

Судя по id: 040600 у тебя белая карта.

Есть конфиги для зеленой.

Share this post


Link to post
Share on other sites

Извиняюсь, не совсем понял, что за "белая карта" ?

Чем они отличаются ?

И еще, что меня смущает, ключи начинают идти:

2010/04/21 21:00:13 [ c 0001 ] 0500&040600/50E4/4F:0200 | 374 ms | found ntv_plus | newcamd | dummy | 10010
Но потом в журнале появляется такое:
EMM: reader=ntv_plus, type=8e, len=81, idx=0, cnt =1: error (141 ms) by dummy (newcamd)
И после этой строчки идут одни missing.
Edited by ccoder

Share this post


Link to post
Share on other sites

Походу у тебя дропается карточка после прихода ЕММ пакета, а ЕСМ отдаются нормально. У mpcs есть такие приколы

Share this post


Link to post
Share on other sites

Палить серийники на форумах - ой как нехорошо. Сейчас прийдут товарищи из +++ и прикроют вашу карту.

Share this post


Link to post
Share on other sites

tipok

Уважаемый, это Вы, наверное, не мне? Серийников в упор не вижу в конфиге.

Share this post


Link to post
Share on other sites
это Вы, наверное, не мне?

Не Вам, а топикастеру, который засветил свою карту.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this