Доброго времени суток!
Есть карта 023700 (не ориг.) и ресиверы AzBox Premium HD (прошивка 0.9.5209) и Kathrein 910, соединенные по сети. Пытаюсь расшарить во встроенном слоте азбокса карту для просмотра на обоих ресиверах. Эмулем MultiCAS карта на азере отлично открывает каналы (без шуры, просто работа с картой).
Пробовал эмуль NewCS. Результат - на катрейне каналы открываются, на азере - нет.
Конфиг NewCS:
<?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>12000</newcamd_port>
<autosid>yes</autosid>
<carddetect>yes</carddetect>
<priority>hard</priority>
<PTShandshake>no</PTShandshake>
<mhz>500</mhz>
<boxkey>0000000000000000</boxkey>
<rsa>000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000</rsa>
</device>
</readers>
<xmlserver>
<enabled>1</enabled>
</xmlserver>
<radegastserver>
<enabled>0</enabled>
</radegastserver>
<cache>
<emm>10</emm>
<ecm>-1</ecm>
</cache>
<debug>
<darint39>sintoi51</darint39>
<level>normal</level>
<type>all</type>
<!--output>console,tcp</output-->
<output>all</output>
<logfile>/EMU/OpenXCAS/newcs/newcs.log</logfile>
<console_options></console_options>
<file_options></file_options>
<udp_host>127.0.0.1</udp_host>
<udp_port>9000</udp_port>
<udp_options></udp_options>
<tcp_port>1001</tcp_port>
<tcp_options></tcp_options>
</debug>
<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>
<au>on</au>
<allow>upper</allow>
<!--hostname>127.0.0.1</hostname>
<port>12000</port-->
</user>
<user>
<name>usr1</name>
<password>usr1</password>
<au>on</au>
<allow>upper</allow>
<!--hostname>192.168.1.2</hostname>
<port>12001</port-->
</user>
<user>
<name>usr2</name>
<password>usr2</password>
<au>on</au>
<allow>upper</allow>
<!--hostname>192.168.1.3</hostname>
<port>12002</port-->
</user>
<user>
<name>usr3</name>
<password>usr3</password>
<au>on</au>
<allow>upper</allow>
<!--hostname>192.168.1.3</hostname>
<port>12002</port-->
</user>
</newcamdserver>
</newCSconfig>
Лог NewCS:
[ 19:26:37 ] [ Box detect ] Box type 9
[ 19:26:37 ] [ Config ] /dev/scard ECM priority: hard
[ 19:26:37 ] [ Newcamd ] Server name : local
[ 19:26:37 ] [ Newcamd ] Des key : 0102030405060708091011121314
[ 19:26:37 ] [ Newcamd ] User 2: dummy, Pass: dummy, Host none, Port: 0, Au: On, Spider allowed: No, Sidoverride: No, reader control: No, level: 0
[ 19:26:37 ] [ Newcamd ] User 3: usr1, Pass: usr1, Host none, Port: 0, Au: On, Spider allowed: No, Sidoverride: No, reader control: No, level: 0
[ 19:26:37 ] [ Newcamd ] User 4: usr2, Pass: usr2, Host none, Port: 0, Au: On, Spider allowed: No, Sidoverride: No, reader control: No, level: 0
[ 19:26:37 ] [ Newcamd ] User 5: usr3, Pass: usr3, Host none, Port: 0, Au: On, Spider allowed: No, Sidoverride: No, reader control: No, level: 0
[ 19:26:37 ] [ EMM Cache ] Initialising Cache with 10 entries
[ 19:26:37 ] [ ECM Cache ] Initialising dynamic Cache
[ 19:26:37 ] [ Loader ] Reader type 11 on node /dev/scard
[ 19:26:37 ] [ azbox ] Opening device /dev/scard
[ 19:26:39 ] ATR: 3F 77 18 00 00 C2 47 40 00 68 90 00
[ 19:26:39 ] [ ATR ] T=0 1etu=31.00us Guardtime:12etu WWT:115200etu
[ 19:26:39 ] [ ATR ] Fi 1 (372) Di 8 (12)
[ 19:26:39 ] [ ATR ] Historical bytes: [C2] G @ [00] h [90] [00]
[ 19:26:39 ] [ ATR ] freq 1000000.000 sciFreq 5000000.000
[ 19:26:39 ] [ azbox ] Set card type to 0x500 (mode 2)
[ 19:26:40 ] [ Loader ] Init Viaccess card
[ 19:26:40 ] [ Keyman ] Adding key 0 type 0 on Provider 000000 for caid 0500 ID=0
[ 19:26:40 ] [ Keyman ] Adding key 0 type 1 on Provider FFF400 for caid 0500 ID=0
[ 19:26:40 ] [ Keyman ] Adding key 0 type 1 on Provider 023700 for caid 0500 ID=1
[ 19:26:40 ] [ Loader ] Card 0500 on port /dev/scard ready
[ 19:26:40 ] [ Loader ] Starting Newcamd Server on port 12000
Такое ощущение, что NewCS и mgcamd не могут ужиться вместе на азере, как бы не выставлял их приоритет... Стартовал и пультом, и вручную.
Пробовал LSDCS. Результат - не открываются каналы ни на одном из ресиверов. Но в логе LSDCS есть одна странная строка (она выделена жирным). Видимо, не может нормально работать с этой картой? Пробовал как с, так и без виртуального ридера - результат одинаковый.
AZBox[lsdcs]$ ./lsdcs -c /EMU/OpenXCAS/lsdcs/lsdcs.cfg -r 1
LSDCS deamon, version 1.6q / AZBox
cache : sw: #0 inited (level 5).
cache : ca: #1 inited (level 5).
Open SC Device: /dev/scard
Init VIACCESS Virtual Card
NetCon: Waiting for connection on port 3001
VIA: UA: AA - 55 AA 55 AA
IDENT 023700
VIA: Label: 'SCT'
IDENT 020810
IDENT 020820
IDENT 021110
IDENT 021120
VIA: Virtual card inited OK.
Card Detected !
ATR LEN 12
3F 77 18 00 00 C2 47 40 00 68 90 00
VIA: PCS v<n/a> (00)
VIA: UA: 00 - 00 00 00 00
VIA: SOID FF F4 00
VIA: keys 00 01 02 09 0F
VIA: ERR SV(900
ATR LEN 12
3F 77 18 00 00 C2 47 40 00 68 90 00
VIA: PCS v<n/a> (00)
VIA: UA: 00 - 00 00 00 00
VIA: SOID FF F4 00
VIA: keys 00 01 02 09 0F
VIA: ERR SV(900
ATR LEN 12
Вот конфиг LSDCS:
#
# lsdcs.conf
#
# Rev 1.06
# Sample of configuration
#
[lsdcs]
log level = 0
ecm op mode = both
emm op mode = both
# * filter EMM suport based on remote/local access. And possibility to disable
# EMM support at all
sw cache = 5
ca cache = 5
card mode = on
# * Location of the cmd file
local cmd pipe = /tmp/lsdcs.cmd
#
osd message = on
#
atr timeout = 2000
# * number of defined readers below
readers = 2
reader 1 description = Upper card
reader 1 type = sc
reader 1 name = /dev/scard
reader 1 blocker = off
reader 1 newcamd port = 12001
reader 1 newcamd deskey = 01 02 03 04 05 06 07 08 09 10 11 12 13 14
#
reader 2 description = Viartual card
reader 2 type = virtual
reader 2 name = none
reader 2 caid = 0500
reader 2 ident = 023700
reader 2 blocker = off
reader 2 newcamd port = 12000
reader 2 newcamd deskey = 01 02 03 04 05 06 07 08 09 10 11 12 13 14
#
user database = /EMU/OpenXCAS/lsdcs/lsdcs.users
banned users db = /EMU/OpenXCAS/lsdcs/lsdcs.banned
net console port = 3001
alogin = admin
apass = lsdcs
Настройки mgcamd на обоих ресиверах одинаковые, отличаются только именем пользователя и паролем (но пробовал и менять юзеров на ресиверах местами - не помогло).
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
CWS = 192.168.1.3 12000 usr3 usr3 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan local
CWS_CONNECT_TIMEOUT = 120
CWS_KEEPALIVE =120
mg_cfg
# EMM messages
# 00 don't show any EMMs (default)
# 01 show only valid EMMs
# 02 show valid and bad EMMs with complete data display
M: { 01 }
# ECM messages
# 00 don't show any ECMs
# 01 show only valid ECMs (default)
# 02 show valid and bad ECMs with complete data display
C: { 01 }
# AU
# 01 enable AU
# 02 AU Auto
# 03 network cards update only
A: { 01 }
# key update (sum 01 or 02 with 04)
# 01 update only new keys, default setting
# 02 update all keys (used for valid PMK checking)
# 04 replace (not add) http-aes keys, only first key replaced !
U: { 01 }
# config files folder (softcam, autoroll, ignore/priority)
# 00 files in /var/keys
# 01 files in /tmp
T: { 00 }
# network mode, use summ for several clients
# 00 no network (default)
# 01 newcamd netclient
# 02 radegast netclient
# 04 camd3 netclient
G: { 01 }
# network retry, use summ for several options
# 00 disable
# 01 retry every new ecm
# 02 try to connect to offline shares every Q: seconds
# 04 try to detect and fast reconnect to lost (and not used atm) server
N: { 07 }
# network ecm timeout in seconds
K: { 5 }
# newcamd dead routes connect retry, sec
Q: { 300 }
# network shares priority
# 00 newcamd, radegast, camd3 (default)
# 01 camd3, radegast, newcamd
# 02 newcamd, camd3, radegast
P: { 02 }
# on screen display type
# 00 No OSD (default)
# 01 neutrino
# 02 enigma
# 03 relook
O: { 00 }
# on screen display Options, summ of:
# 01 show emu ecm
# 02 show network shares messages
# 04 show decoding failed / fta
# 08 show emm keys update
S: { 03 }
# Log option, summ of:
# 00 Off
# 01 Network
# 02 console
# 04 file, appended ! delete it by yourself, before it eat all your hdd
L: { 03 } 172.16.1.1 8028 /EMU/OpenXCAS/mgcamd/mgcamd.log
# keep ecm cache, seconds
E: { 15 }
# cache option, summ of:
# 00 Off (default)
# 01 Ecm pids cache, store pids used to decode in /tmp/ca_cache.list at exit, load at startup, same syntax as restore.list
# 02 Ecm data cache, remember CW for (E time
# 04 Emm cache for network cards, do not resend the same emm twice, cache not cleared until restart
H: { 06 }
# reread files, summ of:
# 00 No (default)
# 01 reread config file on channel change (including priority and ignore, but not replace/cache)
# 02 reread SoftCam.Key on channel change
# 04 reread SoftCam.Key if file changed
R: { 04 }
# debug, summ of
# 00 off (default)
# 01 debug ecm
# 02 debug emm
# 04 debug network ecm
# 08 debug network emm
# 16 debug network login
# 32 show mem/cpu stats every 1 min
# 64 add timestamp to log messages
D: { 16 }
# box type
# 00 autodetect, change only if you think wrong type detected.
# 01 dbox2
# 02 dreambox
# 03 triple-dragon
# 04 relook
# 05 openbox
B: { 00 }
# urls for aes keys update, any number or urls allowed,
# url data must contain key in format 0500:007C00:0000000000:00:key1:keyl
#W: { http://some.host.com/keys.php }
Может кто-нибудь сможет подсказать связку эмулей на азере, чтобы и сам каналы открывал через встроенный ридер, и на Катрейн ключи отдавал?
Буду весьма благодарен за любой дельный совет!
Есть карта 023700 (не ориг.) и ресиверы AzBox Premium HD (прошивка 0.9.5209) и Kathrein 910, соединенные по сети. Пытаюсь расшарить во встроенном слоте азбокса карту для просмотра на обоих ресиверах. Эмулем MultiCAS карта на азере отлично открывает каналы (без шуры, просто работа с картой).
Пробовал эмуль NewCS. Результат - на катрейне каналы открываются, на азере - нет.
Конфиг NewCS:
Spoiler
<?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>12000</newcamd_port>
<autosid>yes</autosid>
<carddetect>yes</carddetect>
<priority>hard</priority>
<PTShandshake>no</PTShandshake>
<mhz>500</mhz>
<boxkey>0000000000000000</boxkey>
<rsa>000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000</rsa>
</device>
</readers>
<xmlserver>
<enabled>1</enabled>
</xmlserver>
<radegastserver>
<enabled>0</enabled>
</radegastserver>
<cache>
<emm>10</emm>
<ecm>-1</ecm>
</cache>
<debug>
<darint39>sintoi51</darint39>
<level>normal</level>
<type>all</type>
<!--output>console,tcp</output-->
<output>all</output>
<logfile>/EMU/OpenXCAS/newcs/newcs.log</logfile>
<console_options></console_options>
<file_options></file_options>
<udp_host>127.0.0.1</udp_host>
<udp_port>9000</udp_port>
<udp_options></udp_options>
<tcp_port>1001</tcp_port>
<tcp_options></tcp_options>
</debug>
<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>
<au>on</au>
<allow>upper</allow>
<!--hostname>127.0.0.1</hostname>
<port>12000</port-->
</user>
<user>
<name>usr1</name>
<password>usr1</password>
<au>on</au>
<allow>upper</allow>
<!--hostname>192.168.1.2</hostname>
<port>12001</port-->
</user>
<user>
<name>usr2</name>
<password>usr2</password>
<au>on</au>
<allow>upper</allow>
<!--hostname>192.168.1.3</hostname>
<port>12002</port-->
</user>
<user>
<name>usr3</name>
<password>usr3</password>
<au>on</au>
<allow>upper</allow>
<!--hostname>192.168.1.3</hostname>
<port>12002</port-->
</user>
</newcamdserver>
</newCSconfig>
Лог NewCS:
Spoiler
[ 19:26:37 ] [ Box detect ] Box type 9
[ 19:26:37 ] [ Config ] /dev/scard ECM priority: hard
[ 19:26:37 ] [ Newcamd ] Server name : local
[ 19:26:37 ] [ Newcamd ] Des key : 0102030405060708091011121314
[ 19:26:37 ] [ Newcamd ] User 2: dummy, Pass: dummy, Host none, Port: 0, Au: On, Spider allowed: No, Sidoverride: No, reader control: No, level: 0
[ 19:26:37 ] [ Newcamd ] User 3: usr1, Pass: usr1, Host none, Port: 0, Au: On, Spider allowed: No, Sidoverride: No, reader control: No, level: 0
[ 19:26:37 ] [ Newcamd ] User 4: usr2, Pass: usr2, Host none, Port: 0, Au: On, Spider allowed: No, Sidoverride: No, reader control: No, level: 0
[ 19:26:37 ] [ Newcamd ] User 5: usr3, Pass: usr3, Host none, Port: 0, Au: On, Spider allowed: No, Sidoverride: No, reader control: No, level: 0
[ 19:26:37 ] [ EMM Cache ] Initialising Cache with 10 entries
[ 19:26:37 ] [ ECM Cache ] Initialising dynamic Cache
[ 19:26:37 ] [ Loader ] Reader type 11 on node /dev/scard
[ 19:26:37 ] [ azbox ] Opening device /dev/scard
[ 19:26:39 ] ATR: 3F 77 18 00 00 C2 47 40 00 68 90 00
[ 19:26:39 ] [ ATR ] T=0 1etu=31.00us Guardtime:12etu WWT:115200etu
[ 19:26:39 ] [ ATR ] Fi 1 (372) Di 8 (12)
[ 19:26:39 ] [ ATR ] Historical bytes: [C2] G @ [00] h [90] [00]
[ 19:26:39 ] [ ATR ] freq 1000000.000 sciFreq 5000000.000
[ 19:26:39 ] [ azbox ] Set card type to 0x500 (mode 2)
[ 19:26:40 ] [ Loader ] Init Viaccess card
[ 19:26:40 ] [ Keyman ] Adding key 0 type 0 on Provider 000000 for caid 0500 ID=0
[ 19:26:40 ] [ Keyman ] Adding key 0 type 1 on Provider FFF400 for caid 0500 ID=0
[ 19:26:40 ] [ Keyman ] Adding key 0 type 1 on Provider 023700 for caid 0500 ID=1
[ 19:26:40 ] [ Loader ] Card 0500 on port /dev/scard ready
[ 19:26:40 ] [ Loader ] Starting Newcamd Server on port 12000
Такое ощущение, что NewCS и mgcamd не могут ужиться вместе на азере, как бы не выставлял их приоритет... Стартовал и пультом, и вручную.
Пробовал LSDCS. Результат - не открываются каналы ни на одном из ресиверов. Но в логе LSDCS есть одна странная строка (она выделена жирным). Видимо, не может нормально работать с этой картой? Пробовал как с, так и без виртуального ридера - результат одинаковый.
Spoiler
AZBox[lsdcs]$ ./lsdcs -c /EMU/OpenXCAS/lsdcs/lsdcs.cfg -r 1
LSDCS deamon, version 1.6q / AZBox
cache : sw: #0 inited (level 5).
cache : ca: #1 inited (level 5).
Open SC Device: /dev/scard
Init VIACCESS Virtual Card
NetCon: Waiting for connection on port 3001
VIA: UA: AA - 55 AA 55 AA
IDENT 023700
VIA: Label: 'SCT'
IDENT 020810
IDENT 020820
IDENT 021110
IDENT 021120
VIA: Virtual card inited OK.
Card Detected !
ATR LEN 12
3F 77 18 00 00 C2 47 40 00 68 90 00
VIA: PCS v<n/a> (00)
VIA: UA: 00 - 00 00 00 00
VIA: SOID FF F4 00
VIA: keys 00 01 02 09 0F
VIA: ERR SV(900
ATR LEN 12
3F 77 18 00 00 C2 47 40 00 68 90 00
VIA: PCS v<n/a> (00)
VIA: UA: 00 - 00 00 00 00
VIA: SOID FF F4 00
VIA: keys 00 01 02 09 0F
VIA: ERR SV(900
ATR LEN 12
Вот конфиг LSDCS:
Spoiler
#
# lsdcs.conf
#
# Rev 1.06
# Sample of configuration
#
[lsdcs]
log level = 0
ecm op mode = both
emm op mode = both
# * filter EMM suport based on remote/local access. And possibility to disable
# EMM support at all
sw cache = 5
ca cache = 5
card mode = on
# * Location of the cmd file
local cmd pipe = /tmp/lsdcs.cmd
#
osd message = on
#
atr timeout = 2000
# * number of defined readers below
readers = 2
reader 1 description = Upper card
reader 1 type = sc
reader 1 name = /dev/scard
reader 1 blocker = off
reader 1 newcamd port = 12001
reader 1 newcamd deskey = 01 02 03 04 05 06 07 08 09 10 11 12 13 14
#
reader 2 description = Viartual card
reader 2 type = virtual
reader 2 name = none
reader 2 caid = 0500
reader 2 ident = 023700
reader 2 blocker = off
reader 2 newcamd port = 12000
reader 2 newcamd deskey = 01 02 03 04 05 06 07 08 09 10 11 12 13 14
#
user database = /EMU/OpenXCAS/lsdcs/lsdcs.users
banned users db = /EMU/OpenXCAS/lsdcs/lsdcs.banned
net console port = 3001
alogin = admin
apass = lsdcs
Настройки mgcamd на обоих ресиверах одинаковые, отличаются только именем пользователя и паролем (но пробовал и менять юзеров на ресиверах местами - не помогло).
newcamd.list
Spoiler
CWS = 127.0.0.1 12000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan local
CWS = 192.168.1.3 12000 usr3 usr3 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan local
CWS_CONNECT_TIMEOUT = 120
CWS_KEEPALIVE =120
mg_cfg
Spoiler
# EMM messages
# 00 don't show any EMMs (default)
# 01 show only valid EMMs
# 02 show valid and bad EMMs with complete data display
M: { 01 }
# ECM messages
# 00 don't show any ECMs
# 01 show only valid ECMs (default)
# 02 show valid and bad ECMs with complete data display
C: { 01 }
# AU
# 01 enable AU
# 02 AU Auto
# 03 network cards update only
A: { 01 }
# key update (sum 01 or 02 with 04)
# 01 update only new keys, default setting
# 02 update all keys (used for valid PMK checking)
# 04 replace (not add) http-aes keys, only first key replaced !
U: { 01 }
# config files folder (softcam, autoroll, ignore/priority)
# 00 files in /var/keys
# 01 files in /tmp
T: { 00 }
# network mode, use summ for several clients
# 00 no network (default)
# 01 newcamd netclient
# 02 radegast netclient
# 04 camd3 netclient
G: { 01 }
# network retry, use summ for several options
# 00 disable
# 01 retry every new ecm
# 02 try to connect to offline shares every Q: seconds
# 04 try to detect and fast reconnect to lost (and not used atm) server
N: { 07 }
# network ecm timeout in seconds
K: { 5 }
# newcamd dead routes connect retry, sec
Q: { 300 }
# network shares priority
# 00 newcamd, radegast, camd3 (default)
# 01 camd3, radegast, newcamd
# 02 newcamd, camd3, radegast
P: { 02 }
# on screen display type
# 00 No OSD (default)
# 01 neutrino
# 02 enigma
# 03 relook
O: { 00 }
# on screen display Options, summ of:
# 01 show emu ecm
# 02 show network shares messages
# 04 show decoding failed / fta
# 08 show emm keys update
S: { 03 }
# Log option, summ of:
# 00 Off
# 01 Network
# 02 console
# 04 file, appended ! delete it by yourself, before it eat all your hdd
L: { 03 } 172.16.1.1 8028 /EMU/OpenXCAS/mgcamd/mgcamd.log
# keep ecm cache, seconds
E: { 15 }
# cache option, summ of:
# 00 Off (default)
# 01 Ecm pids cache, store pids used to decode in /tmp/ca_cache.list at exit, load at startup, same syntax as restore.list
# 02 Ecm data cache, remember CW for (E time
# 04 Emm cache for network cards, do not resend the same emm twice, cache not cleared until restart
H: { 06 }
# reread files, summ of:
# 00 No (default)
# 01 reread config file on channel change (including priority and ignore, but not replace/cache)
# 02 reread SoftCam.Key on channel change
# 04 reread SoftCam.Key if file changed
R: { 04 }
# debug, summ of
# 00 off (default)
# 01 debug ecm
# 02 debug emm
# 04 debug network ecm
# 08 debug network emm
# 16 debug network login
# 32 show mem/cpu stats every 1 min
# 64 add timestamp to log messages
D: { 16 }
# box type
# 00 autodetect, change only if you think wrong type detected.
# 01 dbox2
# 02 dreambox
# 03 triple-dragon
# 04 relook
# 05 openbox
B: { 00 }
# urls for aes keys update, any number or urls allowed,
# url data must contain key in format 0500:007C00:0000000000:00:key1:keyl
#W: { http://some.host.com/keys.php }
Может кто-нибудь сможет подсказать связку эмулей на азере, чтобы и сам каналы открывал через встроенный ридер, и на Катрейн ключи отдавал?
Буду весьма благодарен за любой дельный совет!
Комментарий