Re: OScam Satdream Edition- internal reader support (тестверсия)
Ништяк !!! Завелось !!!
Логи oscam и mgcamd в спойлере
Файлик oscam all in one (плагином с настройками) в аттаче.
В данном случае настройка для Триколор-Сибирь.
Для Триколор-центр надо просто поменять 4AE1 на 4AE0 в файлах
oscam.conf , oscam.server и oscam.user
Стартует всё само. После ребута всё само сразу работает.
В newcamd.list если нету, то добавить строку:
CWS = 127.0.0.1 20000 dummy dummy 0102030405060708091011121314
В newcamd/mg_cfg нужно врубить AU
A: { 02 }
U: { 01 }
Мз плагинов OpenXCAS должны быть включенными только mgcamd и oscam.
(не знаю что будет, если включены другие)
Не забываем, что бинарник oscam д.б. запускаемым. т.е. либо
chmod +x /PLUGINS/OpenXCAS/oscam/oscam
или выставить свойство eXecute в ftp клиенте.
После настроек REBOOT !!!!
Ништяк !!! Завелось !!!
Логи oscam и mgcamd в спойлере
Spoiler
Сообщение от oscam
-------------------------------------------------------------------------------
>> OSCam << cardserver started at Tue Jan 19 11:47:10 2010
-------------------------------------------------------------------------------
2010/01/19 11:47:10 1031 s version=0.99.4svn, build #1211, system=mipsel-azbox-linux, nice=-1
2010/01/19 11:47:10 1031 s max. clients=29, client max. idle=120 sec
2010/01/19 11:47:10 1031 s max. logsize=unlimited
2010/01/19 11:47:10 1031 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=0 ms
2010/01/19 11:47:10 1031 s shared memory initialized (size=477148, fd=6)
2010/01/19 11:47:10 1031 s Open OpenXCAS interface
2010/01/19 11:47:11 1031 s auth size=4740
2010/01/19 11:47:11 1031 s services reloaded: 0 services freed, 0 services loaded
2010/01/19 11:47:11 1031 s userdb reloaded: 0 accounts freed, 2 accounts loaded, 0 expired
2010/01/19 11:47:11 1031 s signal handling initialized (type=sysv)
2010/01/19 11:47:11 1031 s 2276 service-id's loaded
2010/01/19 11:47:11 1031 s monitor: initialized (fd=13, port=98
2010/01/19 11:47:11 1031 s camd 3.3x: disabled
2010/01/19 11:47:11 1031 s camd 3.5x: disabled
2010/01/19 11:47:11 1031 s cs378x: disabled
2010/01/19 11:47:11 1031 s newcamd: initialized (fd=14, port=20000, crypted)
2010/01/19 11:47:11 1031 s CAID: 4AE1
2010/01/19 11:47:11 1031 s provid #0: 000000
2010/01/19 11:47:11 1031 s radegast: disabled
2010/01/19 11:47:11 1031 s resolver thread started
2010/01/19 11:47:11 1031 s logger started (pid=1049)
2010/01/19 11:47:11 1031 s resolver started (pid=1050, delay=30 sec)
2010/01/19 11:47:11 1031 s reader started (pid=1051, device=/dev/scard)
2010/01/19 11:47:11 1031 s Waiting for local card init ....
2010/01/19 11:47:11 1051 r02 OpenXCAS open /dev/scard0
2010/01/19 11:47:11 1051 r02 card detected
2010/01/19 11:47:19 1051 r02 ATR: 3B 15 11 12 CA 07 14 CF.
2010/01/19 11:47:20 1051 r02 DRECRYPT illegal command: 5903E2E3FE9000.
2010/01/19 11:47:20 1051 r02 type: DRECrypt, caid: 4AE1, serial: ********, dre id: ************, geocode 0, card: Tricolor Syberia / Platforma HD new v2.4
2010/01/19 11:47:20 1051 r02 Provider name:TricolorSiberia.
2010/01/19 11:47:20 1051 r02 DEBUG: SA = ********, UA = ********
2010/01/19 11:47:21 1051 r02 Active package 0 valid from 2009/**/** to 2014/**/**
2010/01/19 11:47:21 1051 r02 Active package 9 valid from 2009/**/** to 2010/**/**
2010/01/19 11:47:21 1051 r02 ready for requests
2010/01/19 11:47:21 1031 s Init for all local cards done !
2010/01/19 11:47:21 1031 s anti cascading disabled
2010/01/19 11:47:21 1031 s client(1) connect from 127.0.0.1 (pid=1057, pipfd=21)
2010/01/19 11:47:21 1057 c01 encrypted newcamd:20000-client 127.0.0.1 granted (dummy, au=azboxreader)
2010/01/19 11:47:21 1057 c01 user dummy authenticated successfully (using client 6D67)
2010/01/19 11:47:21 1057 c01 AU flag 0 for user dummy
2010/01/19 11:47:22 1057 c01 dummy (4AE1&000000/98AD/29:3C89): found (181 ms) by azboxreader
2010/01/19 11:47:36 1057 c01 dummy (4AE1&000000/98AD/29:32F9): found (175 ms) by azboxreader
2010/01/19 11:47:51 1057 c01 dummy (4AE1&000000/98AD/29:4400): found (176 ms) by azboxreader
2010/01/19 11:48:06 1057 c01 dummy (4AE1&000000/98AD/29:7C30): found (174 ms) by azboxreader
2010/01/19 11:48:21 1057 c01 dummy (4AE1&000000/98AD/29:7E5E): found (175 ms) by azboxreader
2010/01/19 11:48:36 1057 c01 dummy (4AE1&000000/98AD/29:7EAE): found (175 ms) by azboxreader
2010/01/19 11:48:51 1057 c01 dummy (4AE1&000000/98AD/29:E1E4): found (177 ms) by azboxreader
2010/01/19 11:49:06 1057 c01 dummy (4AE1&000000/98AD/29ED4): found (174 ms) by azboxreader
2010/01/19 11:49:21 1057 c01 dummy (4AE1&000000/98AD/29:F10B): found (176 ms) by azboxreader
2010/01/19 11:49:36 1057 c01 dummy (4AE1&000000/98AD/29:417B): found (175 ms) by azboxreader
>> OSCam << cardserver started at Tue Jan 19 11:47:10 2010
-------------------------------------------------------------------------------
2010/01/19 11:47:10 1031 s version=0.99.4svn, build #1211, system=mipsel-azbox-linux, nice=-1
2010/01/19 11:47:10 1031 s max. clients=29, client max. idle=120 sec
2010/01/19 11:47:10 1031 s max. logsize=unlimited
2010/01/19 11:47:10 1031 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=0 ms
2010/01/19 11:47:10 1031 s shared memory initialized (size=477148, fd=6)
2010/01/19 11:47:10 1031 s Open OpenXCAS interface
2010/01/19 11:47:11 1031 s auth size=4740
2010/01/19 11:47:11 1031 s services reloaded: 0 services freed, 0 services loaded
2010/01/19 11:47:11 1031 s userdb reloaded: 0 accounts freed, 2 accounts loaded, 0 expired
2010/01/19 11:47:11 1031 s signal handling initialized (type=sysv)
2010/01/19 11:47:11 1031 s 2276 service-id's loaded
2010/01/19 11:47:11 1031 s monitor: initialized (fd=13, port=98
2010/01/19 11:47:11 1031 s camd 3.3x: disabled
2010/01/19 11:47:11 1031 s camd 3.5x: disabled
2010/01/19 11:47:11 1031 s cs378x: disabled
2010/01/19 11:47:11 1031 s newcamd: initialized (fd=14, port=20000, crypted)
2010/01/19 11:47:11 1031 s CAID: 4AE1
2010/01/19 11:47:11 1031 s provid #0: 000000
2010/01/19 11:47:11 1031 s radegast: disabled
2010/01/19 11:47:11 1031 s resolver thread started
2010/01/19 11:47:11 1031 s logger started (pid=1049)
2010/01/19 11:47:11 1031 s resolver started (pid=1050, delay=30 sec)
2010/01/19 11:47:11 1031 s reader started (pid=1051, device=/dev/scard)
2010/01/19 11:47:11 1031 s Waiting for local card init ....
2010/01/19 11:47:11 1051 r02 OpenXCAS open /dev/scard0
2010/01/19 11:47:11 1051 r02 card detected
2010/01/19 11:47:19 1051 r02 ATR: 3B 15 11 12 CA 07 14 CF.
2010/01/19 11:47:20 1051 r02 DRECRYPT illegal command: 5903E2E3FE9000.
2010/01/19 11:47:20 1051 r02 type: DRECrypt, caid: 4AE1, serial: ********, dre id: ************, geocode 0, card: Tricolor Syberia / Platforma HD new v2.4
2010/01/19 11:47:20 1051 r02 Provider name:TricolorSiberia.
2010/01/19 11:47:20 1051 r02 DEBUG: SA = ********, UA = ********
2010/01/19 11:47:21 1051 r02 Active package 0 valid from 2009/**/** to 2014/**/**
2010/01/19 11:47:21 1051 r02 Active package 9 valid from 2009/**/** to 2010/**/**
2010/01/19 11:47:21 1051 r02 ready for requests
2010/01/19 11:47:21 1031 s Init for all local cards done !
2010/01/19 11:47:21 1031 s anti cascading disabled
2010/01/19 11:47:21 1031 s client(1) connect from 127.0.0.1 (pid=1057, pipfd=21)
2010/01/19 11:47:21 1057 c01 encrypted newcamd:20000-client 127.0.0.1 granted (dummy, au=azboxreader)
2010/01/19 11:47:21 1057 c01 user dummy authenticated successfully (using client 6D67)
2010/01/19 11:47:21 1057 c01 AU flag 0 for user dummy
2010/01/19 11:47:22 1057 c01 dummy (4AE1&000000/98AD/29:3C89): found (181 ms) by azboxreader
2010/01/19 11:47:36 1057 c01 dummy (4AE1&000000/98AD/29:32F9): found (175 ms) by azboxreader
2010/01/19 11:47:51 1057 c01 dummy (4AE1&000000/98AD/29:4400): found (176 ms) by azboxreader
2010/01/19 11:48:06 1057 c01 dummy (4AE1&000000/98AD/29:7C30): found (174 ms) by azboxreader
2010/01/19 11:48:21 1057 c01 dummy (4AE1&000000/98AD/29:7E5E): found (175 ms) by azboxreader
2010/01/19 11:48:36 1057 c01 dummy (4AE1&000000/98AD/29:7EAE): found (175 ms) by azboxreader
2010/01/19 11:48:51 1057 c01 dummy (4AE1&000000/98AD/29:E1E4): found (177 ms) by azboxreader
2010/01/19 11:49:06 1057 c01 dummy (4AE1&000000/98AD/29ED4): found (174 ms) by azboxreader
2010/01/19 11:49:21 1057 c01 dummy (4AE1&000000/98AD/29:F10B): found (176 ms) by azboxreader
2010/01/19 11:49:36 1057 c01 dummy (4AE1&000000/98AD/29:417B): found (175 ms) by azboxreader
Сообщение от mgcamd
18:08:23 tuxbox mgcamd v1.34c by mixvt (compiled Oct 27 2009 21:48:2
18:08:23 [mg] Net:1:7:2:7s Show ecm:0, emm:0 Up:1 Au:2 Dir:0 Osd:no:8081:0 Cache:0 Log:3:*.*.*.1:514 Reread:0
18:08:23 [mg] Ecm cache time: 1800
18:08:23 Box type: azbox
18:08:23 Keys readed
18:08:23 [config] newcamd route = dummy:127.0.0.1:20000
18:08:23 newcamd keep alive: 300, incoming port: 21000
18:08:23 [mgcam] emm thread started
18:08:23 [newcamd] Connecting to 127.0.0.1:20000...
18:08:24 [newcamd] Login to 127.0.0.1:20000 as dummy accepted (9ms)
18:08:24 [newcamd] Card data from 127.0.0.1:20000 (19ms):
18:08:24 EMM enabled: UA yes SA yes GA yes, Card serial: ********
18:08:24 Userid 1 caid 4AE1 providers 1
18:08:24 Idents: 000000
18:08:24 ids: ********
18:08:24
18:08:25 [mg0] service 98AD index 0 pmt pid 0 (1)
18:08:25 Starting emm for newcamd shared card
18:08:25 *EMM: CaID: 0x4AE1 -> CaPID: 0x0020 ProvID: 000000
18:08:25 [mg0] ECM: CaID: 0x4AE1 -> CaPID: 0x0023 ProvID: 000000
18:08:26 [mg0] -> ECM to newcamd 127.0.0.1:20000
18:08:26 [mg0] <- CW from newcamd 127.0.0.1:20000 (231ms)
18:08:36 [mg0] -> ECM to newcamd 127.0.0.1:20000
18:08:36 [mg0] <- CW from newcamd 127.0.0.1:20000 (191ms)
18:08:51 [mg0] -> ECM to newcamd 127.0.0.1:20000
18:08:51 [mg0] <- CW from newcamd 127.0.0.1:20000 (191ms)
18:08:23 [mg] Net:1:7:2:7s Show ecm:0, emm:0 Up:1 Au:2 Dir:0 Osd:no:8081:0 Cache:0 Log:3:*.*.*.1:514 Reread:0
18:08:23 [mg] Ecm cache time: 1800
18:08:23 Box type: azbox
18:08:23 Keys readed
18:08:23 [config] newcamd route = dummy:127.0.0.1:20000
18:08:23 newcamd keep alive: 300, incoming port: 21000
18:08:23 [mgcam] emm thread started
18:08:23 [newcamd] Connecting to 127.0.0.1:20000...
18:08:24 [newcamd] Login to 127.0.0.1:20000 as dummy accepted (9ms)
18:08:24 [newcamd] Card data from 127.0.0.1:20000 (19ms):
18:08:24 EMM enabled: UA yes SA yes GA yes, Card serial: ********
18:08:24 Userid 1 caid 4AE1 providers 1
18:08:24 Idents: 000000
18:08:24 ids: ********
18:08:24
18:08:25 [mg0] service 98AD index 0 pmt pid 0 (1)
18:08:25 Starting emm for newcamd shared card
18:08:25 *EMM: CaID: 0x4AE1 -> CaPID: 0x0020 ProvID: 000000
18:08:25 [mg0] ECM: CaID: 0x4AE1 -> CaPID: 0x0023 ProvID: 000000
18:08:26 [mg0] -> ECM to newcamd 127.0.0.1:20000
18:08:26 [mg0] <- CW from newcamd 127.0.0.1:20000 (231ms)
18:08:36 [mg0] -> ECM to newcamd 127.0.0.1:20000
18:08:36 [mg0] <- CW from newcamd 127.0.0.1:20000 (191ms)
18:08:51 [mg0] -> ECM to newcamd 127.0.0.1:20000
18:08:51 [mg0] <- CW from newcamd 127.0.0.1:20000 (191ms)
Файлик oscam all in one (плагином с настройками) в аттаче.
В данном случае настройка для Триколор-Сибирь.
Для Триколор-центр надо просто поменять 4AE1 на 4AE0 в файлах
oscam.conf , oscam.server и oscam.user
Стартует всё само. После ребута всё само сразу работает.
В newcamd.list если нету, то добавить строку:
CWS = 127.0.0.1 20000 dummy dummy 0102030405060708091011121314
В newcamd/mg_cfg нужно врубить AU
A: { 02 }
U: { 01 }
Spoiler
Сообщение от mg_cfg
M: { 01 }
C: { 00 }
A: { 02 }
U: { 01 }
T: { 00 }
G: { 01 }
N: { 07 } 2 4
K: { 02 }
Q: { 10 }
P: { 02 }
O: { 00 }
S: { 03 }
L: { 02 }
E: { 07 }
H: { 07 }
R: { 00 }
D: { 00 }
B: { 00 }
C: { 00 }
A: { 02 }
U: { 01 }
T: { 00 }
G: { 01 }
N: { 07 } 2 4
K: { 02 }
Q: { 10 }
P: { 02 }
O: { 00 }
S: { 03 }
L: { 02 }
E: { 07 }
H: { 07 }
R: { 00 }
D: { 00 }
B: { 00 }
Мз плагинов OpenXCAS должны быть включенными только mgcamd и oscam.
(не знаю что будет, если включены другие)
Не забываем, что бинарник oscam д.б. запускаемым. т.е. либо
chmod +x /PLUGINS/OpenXCAS/oscam/oscam
или выставить свойство eXecute в ftp клиенте.
После настроек REBOOT !!!!
Комментарий