Jump to content
Cesbo Community
  • Announcements

    • RadioSintetica

      Information   10/21/18

      Registration on the forum temporarily closed! For support requests, please contacat us: https://cesbo.com/help
      Our community in Telegram: @cesbo_en (English language) , @cesbo_ru (Russian language) , @cesbo_es (Spanish Language)
Sign in to follow this  
tridochko

oscam + viaccess and irdeto

Recommended Posts

Добрый день.

Пытаюсь настроить связку oscam + astra для дескремблирования пары каналов.

Имею usb phoenix reader и 2 карты: viaccess и irdeto.

Конфиги oscam:

oscam.conf

[global]
pidfile             = /var/run/oscam07.pid
logfile             = /var/log/oscam07.log
logfile             = stdout
disablelog          = 0
disableuserfile     = 0
usrfileflag         = 0
clienttimeout       = 5000
fallbacktimeout     = 2500
clientmaxidle       = 120
bindwait            = 120
netprio             = 0
unlockparental      = 1
nice                = -1
maxlogsize          = 1024
waitforcards        = 1
preferlocalcards    = 0

[monitor]
port                = 988
aulow               = 120
hideclient_to       = 0
monlevel            = 0

[newcamd]
port                = 12000@0600:000000
key                 = 0102030405060708091011121314
keepalive           = 1
mgclient            = 0

[webif]
httpport            = 50007
httpuser            = user
httppwd             = user
httprefresh         = 0
httpallowed         = 192.168.0.0-192.168.0.255
httphideidleclients = 0
httpreadonly        = 0

oscam.server

[reader]
label                         = test1
enable                        = 1
protocol                      = mouse
device                        = /dev/ttyUSB1
key                           = 0102030405060708091011121314
detect                        = cd
caid                          = 0500
group                         = 4
emmcache                      = 1,3,31
ident                         = 0500:FFF500,040620

oscam.user

[account]
user                          = test-user1
pwd                           = testpass
description                   = test1
group                         = 4
au                            = 0
monlevel                      = 0
uniq                          = 0

 

Выставляю кварц на 3,759 mhz, вставляю viaccess. Получаю при старте:

 

/usr/local/bin/oscam -c /etc/oscam -d4
14:21:07 00000000 s >> OSCam <<  cardserver log switched, version 1.20_svn, build r11439 (x86_64-linux-gnu-ssl)
14:21:07 00000000 s     (main) System name    = Linux
14:21:07 00000000 s     (main) Host name      = test
14:21:07 00000000 s     (main) Release        = 4.4.0-116-generic
14:21:07 00000000 s     (main) Version        = #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018
14:21:07 00000000 s     (main) Machine        = x86_64
14:21:07 00000000 s     (main) creating pidfile /var/run/oscam07.pid with pid 16015
14:21:07 00000000 s   (config) userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
14:21:07 00000000 s     (main) signal handling initialized
14:21:07 00000000 s      (net) monitor: initialized (fd=4, port=988)
14:21:07 00000000 s      (net) newcamd: initialized (fd=5, port=12000)
14:21:07 00000000 s      (net) -> CAID: 0600 PROVID: 000000
14:21:07 00000000 s   (reader) test1 [mouse] creating thread for device /dev/ttyUSB1
14:21:07 00000000 s     (stat) loadbalancer: could not open /tmp/.oscam/stat for reading (errno=2 No such file or directory)
14:21:07 00000000 s     (main) waiting for local card init
14:21:07 0302EE8D h    (webif) webif: decompressed 178050 bytes back into 439096 bytes
14:21:07 0302EE8D h    (webif) HTTP Server running. ip=:: port=50007
14:21:07 0F8948FE r   (reader) test1 [mouse] Flush readed byte Nr 1 value 03 time_us 9023
14:21:07 0F8948FE r   (reader) test1 [mouse] Flush readed byte Nr 2 value 11 time_us 9
14:21:07 0F8948FE r   (reader) test1 [mouse] Flush readed byte Nr 3 value e7 time_us 6
14:21:07 0F8948FE r   (reader) test1 [mouse] Flush readed byte Nr 4 value ff time_us 6
14:21:07 0F8948FE r   (reader) test1 [mouse] Flush readed byte Nr 5 value ff time_us 6
14:21:07 0F8948FE r   (reader) test1 [mouse] Flush readed byte Nr 6 value bc time_us 5
14:21:07 0F8948FE r   (reader) test1 [mouse] Flush readed byte Nr 7 value a1 time_us 15898
14:21:07 0F8948FE r   (reader) test1 [mouse] Flush readed byte Nr 8 value dd time_us 7
14:21:07 0F8948FE r   (reader) test1 [mouse] Flush readed byte Nr 9 value bf time_us 6
14:21:07 0F8948FE r   (reader) test1 [mouse] Flush readed byte Nr 10 value e9 time_us 5
14:21:07 0F8948FE r   (reader) test1 [mouse] Flush readed byte Nr 11 value f6 time_us 6
14:21:07 0F8948FE r   (reader) test1 [mouse] Flush readed byte Nr 12 value ff time_us 6
14:21:07 0F8948FE r   (reader) test1 [mouse] Buffers readed  12 bytes total time_us 100196
14:21:07 0F8948FE r   (reader) test1 [mouse] Buffers readed  0 bytes total time_us 75091
14:21:07 0F8948FE r   (reader) test1 [mouse] Reader initialized (device=/dev/ttyUSB1, detect=cd, mhz=357, cardmhz=357)
14:21:08 0F8948FE r   (reader) test1 [mouse] card detected
14:21:08 0F8948FE r   (reader) test1 [mouse] cardreader_do_checkhealth: reader->card_status = 1, ret = 0
14:21:08 0F8948FE r   (reader) test1 [mouse] Buffers readed  0 bytes total time_us 75093
14:21:09 0F8948FE r   (reader) test1 [mouse] ATR: 3F 77 18 00 00 C2 7A 44 02 68 90 00
14:21:09 0F8948FE r   (reader) test1 [mouse] SRG v5 recognized
14:21:09 0F8948FE r   (reader) test1 [mouse] Buffers readed  0 bytes total time_us 75087
14:21:09 0F8948FE r   (reader) test1 [mouse] Transmit:
14:21:09 0F8948FE r   (reader)   FF 10 18 F7
14:21:10 0F8948FE r   (reader) test1 [mouse] Warning: D=0 is invalid, forcing D=1
14:21:10 0F8948FE r   (reader) test1 [mouse] Setting baudrate to 9600 bps
14:21:10 0F8948FE r   (reader) test1 [mouse] Buffers readed  0 bytes total time_us 75088
14:21:10 0F8948FE r   (reader) test1 [mouse] Card succesfully activated
14:21:11 0F8948FE r   (reader) test1 [mouse] write to cardreader
14:21:11 0F8948FE r   (reader)   87 02 00 00 03 00 00 28
14:21:11 0F8948FE r   (reader) test1 [mouse] Transmit:
14:21:11 0F8948FE r   (reader)   87 02 00 00 03
14:21:15 0F8948FE r   (reader)   87 02 00 00 03
14:21:19 0F8948FE r        (-) -- Skipped 1 duplicated log lines --
14:21:19 0F8948FE r   (reader) test1 [mouse] failed history check
14:21:19 0F8948FE r        (-) -- Skipped 1 duplicated log lines --
14:21:19 0F8948FE r   (reader) test1 [mouse] card system not supported
14:21:19 0F8948FE r   (reader) test1 [mouse] Normal mode failed, reverting to Deprecated Mode
14:21:19 0F8948FE r   (reader) test1 [mouse] Buffers readed  0 bytes total time_us 75088
14:21:20 0F8948FE r   (reader) test1 [mouse] ATR: 3F 77 18 00 00 C2 7A 44 02 68 90 00
14:21:20 0F8948FE r   (reader) test1 [mouse] SRG v5 recognized
14:21:20 0F8948FE r   (reader) test1 [mouse] Warning: D=0 is invalid, forcing D=1
14:21:21 0F8948FE r   (reader) test1 [mouse] Buffers readed  0 bytes total time_us 75088
14:21:21 0F8948FE r   (reader) test1 [mouse] Card succesfully activated
14:21:22 0F8948FE r   (reader) test1 [mouse] write to cardreader
14:21:22 0F8948FE r   (reader)   87 02 00 00 03 00 00 28
14:21:22 0F8948FE r   (reader) test1 [mouse] Transmit:
14:21:22 0F8948FE r   (reader)   87 02 00 00 03
14:21:26 0F8948FE r   (reader)   87 02 00 00 03
14:21:30 0F8948FE r        (-) -- Skipped 1 duplicated log lines --
14:21:30 0F8948FE r   (reader) test1 [mouse] failed history check
14:21:30 0F8948FE r        (-) -- Skipped 1 duplicated log lines --
14:21:30 0F8948FE r   (reader) test1 [mouse] card system not supported
14:21:30 0F8948FE r   (reader) test1 [mouse] THIS WAS A FAILED START ATTEMPT No 1 out of max alloted of 1
14:21:30 0F8948FE r   (reader) test1 [mouse] card initializing error
14:21:30 0F8948FE r   (reader) test1 [mouse] cardreader_do_checkhealth: reader->card_status = 3, ret = 0
14:21:30 00000000 s     (main) init for all local cards done
14:21:30 00000000 s (emmcache) loaded 0 emmcache records from /tmp/.oscam/oscam.emmcache in 0 ms
14:21:30 00000000 s (emmcache) loaded 0 emmstat records from /tmp/.oscam/oscam.emmstat in 0 ms
14:21:30 00000000 s (anticasc) anti cascading disabled
14:21:31 0F8948FE r   (reader) test1 [mouse] cardreader_do_checkhealth: reader->card_status = 3, ret = 0
14:22:30 0F8948FE r        (-) -- Skipped 58 duplicated log lines --

 

Выставляю кварц на 6 mhz и вставляю irdeto, получаю:

/usr/local/bin/oscam -c /etc/oscam -d4
14:34:10 00000000 s >> OSCam <<  cardserver log switched, version 1.20_svn, build r11439 (x86_64-linux-gnu-ssl)
14:34:10 00000000 s     (main) System name    = Linux
14:34:10 00000000 s     (main) Host name      = test
14:34:10 00000000 s     (main) Release        = 4.4.0-116-generic
14:34:10 00000000 s     (main) Version        = #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018
14:34:10 00000000 s     (main) Machine        = x86_64
14:34:10 00000000 s     (main) creating pidfile /var/run/oscam07.pid with pid 16470
14:34:10 00000000 s   (config) userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
14:34:10 00000000 s     (main) signal handling initialized
14:34:10 00000000 s      (net) monitor: initialized (fd=4, port=988)
14:34:10 00000000 s      (net) newcamd: initialized (fd=5, port=12000)
14:34:10 00000000 s      (net) -> CAID: 0600 PROVID: 000000
14:34:10 00000000 s   (reader) test1 [mouse] creating thread for device /dev/ttyUSB1
14:34:10 00000000 s     (stat) loadbalancer: could not open /tmp/.oscam/stat for reading (errno=2 No such file or directory)
14:34:10 00000000 s     (main) waiting for local card init
14:34:10 55C0850E h    (webif) webif: decompressed 178050 bytes back into 439096 bytes
14:34:10 55C0850E h    (webif) HTTP Server running. ip=:: port=50007
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 1 value 3b time_us 14015
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 2 value 9f time_us 7
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 3 value 21 time_us 6
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 4 value 0e time_us 6
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 5 value 49 time_us 6
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 6 value 52 time_us 6
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 7 value 44 time_us 6
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 8 value 45 time_us 6
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 9 value 54 time_us 6
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 10 value 4f time_us 6
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 11 value 20 time_us 6
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 12 value 41 time_us 6
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 13 value 43 time_us 15834
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 14 value 53 time_us 7
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 15 value 20 time_us 6
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 16 value 56 time_us 6
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 17 value 35 time_us 5
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 18 value 2e time_us 5
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 19 value 38 time_us 6
14:34:10 0F674FD6 r   (reader) test1 [mouse] Flush readed byte Nr 20 value 95 time_us 6
14:34:10 0F674FD6 r   (reader) test1 [mouse] Buffers readed  20 bytes total time_us 105211
14:34:10 0F674FD6 r   (reader) test1 [mouse] Buffers readed  0 bytes total time_us 75089
14:34:10 0F674FD6 r   (reader) test1 [mouse] Reader initialized (device=/dev/ttyUSB1, detect=cd, mhz=600, cardmhz=600)
14:34:11 0F674FD6 r   (reader) test1 [mouse] card detected
14:34:11 0F674FD6 r   (reader) test1 [mouse] cardreader_do_checkhealth: reader->card_status = 1, ret = 0
14:34:11 0F674FD6 r   (reader) test1 [mouse] Buffers readed  0 bytes total time_us 75090
14:34:12 0F674FD6 r   (reader) test1 [mouse] ATR: 3B 9F 21 0E 49 52 44 45 54 4F 20 41 43 53 20 56 35 2E 38 95
14:34:12 0F674FD6 r   (reader) test1 [mouse] Buffers readed  0 bytes total time_us 75088
14:34:12 0F674FD6 r   (reader) test1 [mouse] Card succesfully activated
14:34:13 0F674FD6 r   (reader) test1 [mouse] detect irdeto card
14:34:13 0F674FD6 r   (reader) test1 [mouse] write to cardreader
14:34:13 0F674FD6 r   (reader)   02 1E 00 00 00
14:34:13 0F674FD6 r   (reader) test1 [mouse] Transmit:
14:34:13 0F674FD6 r   (reader)   01 02 1E 00 00 00 22
14:34:20 0F674FD6 r   (reader)   01 02 1E 00 00 00 22
14:34:28 0F674FD6 r        (-) -- Skipped 1 duplicated log lines --
14:34:28 0F674FD6 r   (reader) test1 [mouse] write to cardreader
14:34:28 0F674FD6 r   (reader)   02 02 03 00 00
14:34:28 0F674FD6 r   (reader) test1 [mouse] Transmit:
14:34:28 0F674FD6 r   (reader)   01 02 02 03 00 00 3D
14:34:35 0F674FD6 r   (reader)   01 02 02 03 00 00 3D
14:34:42 0F674FD6 r        (-) -- Skipped 1 duplicated log lines --
14:34:42 0F674FD6 r   (reader) test1 [mouse] failed history check
14:34:42 0F674FD6 r        (-) -- Skipped 1 duplicated log lines --
14:34:42 0F674FD6 r   (reader) test1 [mouse] card system not supported
14:34:42 0F674FD6 r   (reader) test1 [mouse] Normal mode failed, reverting to Deprecated Mode
14:34:42 0F674FD6 r   (reader) test1 [mouse] Buffers readed  0 bytes total time_us 75088
14:34:43 0F674FD6 r   (reader) test1 [mouse] ATR: 3B 9F 21 0E 49 52 44 45 54 4F 20 41 43 53 20 56 35 2E 38 95
14:34:43 0F674FD6 r   (reader) test1 [mouse] Buffers readed  0 bytes total time_us 75086
14:34:43 0F674FD6 r   (reader) test1 [mouse] Card succesfully activated
14:34:44 0F674FD6 r   (reader) test1 [mouse] detect irdeto card
14:34:44 0F674FD6 r   (reader) test1 [mouse] write to cardreader
14:34:44 0F674FD6 r   (reader)   02 1E 00 00 00
14:34:44 0F674FD6 r   (reader) test1 [mouse] Transmit:
14:34:44 0F674FD6 r   (reader)   01 02 1E 00 00 00 22
14:34:49 0F674FD6 r   (reader)   01 02 1E 00 00 00 22
14:34:54 0F674FD6 r        (-) -- Skipped 1 duplicated log lines --
14:34:54 0F674FD6 r   (reader) test1 [mouse] write to cardreader
14:34:54 0F674FD6 r   (reader)   02 02 03 00 00
14:34:54 0F674FD6 r   (reader) test1 [mouse] Transmit:
14:34:54 0F674FD6 r   (reader)   01 02 02 03 00 00 3D
14:34:59 0F674FD6 r   (reader)   01 02 02 03 00 00 3D
14:35:03 0F674FD6 r        (-) -- Skipped 1 duplicated log lines --
14:35:03 0F674FD6 r   (reader) test1 [mouse] failed history check
14:35:03 0F674FD6 r        (-) -- Skipped 1 duplicated log lines --
14:35:03 0F674FD6 r   (reader) test1 [mouse] card system not supported
14:35:03 0F674FD6 r   (reader) test1 [mouse] THIS WAS A FAILED START ATTEMPT No 1 out of max alloted of 1
14:35:03 0F674FD6 r   (reader) test1 [mouse] card initializing error
14:35:04 00000000 s     (main) init for all local cards done
14:35:04 00000000 s (emmcache) loaded 0 emmcache records from /tmp/.oscam/oscam.emmcache in 0 ms
14:35:04 00000000 s (emmcache) loaded 0 emmstat records from /tmp/.oscam/oscam.emmstat in 0 ms
14:35:04 00000000 s (anticasc) anti cascading disabled
14:35:04 0F674FD6 r   (reader) test1 [mouse] cardreader_do_checkhealth: reader->card_status = 3, ret = 0
^C14:35:10 55C0850E h        (-) -- Skipped 5 duplicated log lines --

 

Сдаётся мне, что как-то не так собран oscam (собирал по официальной инструкции allyesconfig) или я неправильно использую ридер. Сама коробочка в режиме smartmouse.

Подскажите, где я не прав?

 

Share this post


Link to post
Share on other sites

Вопрос снят. После переключения ридера в режим phoenix и питания в 5v обе карты активировались. 

Правда, пока не могу проверить на живом потоке.

Share this post


Link to post
Share on other sites

Идента 0500:040620 уже давно в потоке нет, что смотреть собрался :)

А у новой SRG идент другой и у ирдето такой красивый caid 0600

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×