DOMICA Team

:: Блог - Спутниковое телевидение :: :: ВКонтакте - Спутниковое телевидение:: :: Одноклассники - Спутниковое телевидение:: :: FACEBOOK - Спутниковое телевидение::

Автор Тема: Официальная карта НТВ+ на Dreambox/Tuxbox  (Прочитано 47675 раз)

0 Пользователей и 1 Гость просматривают эту тему.

omoh

  • Гость
Официальная карта НТВ+ на Dreambox/Tuxbox
« Ответ #30 : 04 сентября 2010, 16:53:37 »
  • Nikname of reply

  • Пост  #583 предпоследний на 39й странице
    моя текущая конфига

    MIRAGE

    • Гость
    Официальная карта НТВ+ на Dreambox/Tuxbox
    « Ответ #31 : 04 сентября 2010, 17:13:53 »
  • Nikname of reply

  • newcs.xml

    <?xml version="1.0"?>
    <newCSconfig>
       <readers name="Card Readers">
          <device>
             <name>lower</name>
             <type>Sci</type>
             <node>/dev/sci0</node>
             <mhz>357</mhz>
             <parity>even</parity>
             <export>yes</export>
             <enabled>yes</enabled>
             <blocksa>no</blocksa>
             <blockua>no</blockua>
             <blockga>no</blockga>
             <boxid></boxid>
             <PTShandshake>yes</PTShandshake>
             <Seca-PPV>no</Seca-PPV>
             <crypto-special>no</crypto-special>
             <carddetect>yes</carddetect>
             <newcamd_port>10000</newcamd_port>
             <autosid>yes</autosid>
             <priority>round</priority>
          </device>
       </readers>
       <debug>
          <level>verbose</level>   
          <type>all</type>
          <output>udp,tcp</output>
          <logfile></logfile>
          <console_options></console_options>
          <file_options></file_options>
          <udp_host>192.168.10</udp_host>
          <udp_port>514</udp_port>
          <udp_options></udp_options>
          <tcp_port></tcp_port>
          <tcp_options></tcp_options>
       </debug>
       <httpd>
          <server>
             <port>8080</port>
             <enabled>yes</enabled>
          </server>
          <user>
             <name>newcs</name>
             <password>newcs</password>
             <accesslevel>admin</accesslevel>
          </user>
       </httpd>   
       <newcamdserver>
          <enabled>yes</enabled>
          <deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
          <name>newcs</name>
          <userfile>/tmp/users.txt</userfile>
          <user>
             <name>dreambox</name>
             <password>dreambox</password>
             <au>on</au>
             <allow>lower</allow>
          </user>
          <user>                                                                                    
       </newcamdserver>
    </newCSconfig>

    MIRAGE

    • Гость
    Официальная карта НТВ+ на Dreambox/Tuxbox
    « Ответ #32 : 04 сентября 2010, 17:17:14 »
  • Nikname of reply

  • 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 anything about ecm
    #    01 normal mode, show pids processed, decoded ecm and cw
    #    02 verbose mode, show valid and bad ECMs with data
    C: { 01 }

    # AU
    #    00 disable, no emm pids processed
    #    01 enable, emm pids always processed for soft-au and shared cards
    #    02 auto, emm started only if channel cant be decoded
    #    03 process emm pids for 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 enable TPS au
    #    + tps au pid
    U: { 00 } 0x1ACB

    # 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
    #    08 gbox 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
    #    + XX messages number and YY seconds to reconnect
    #    mg will reconnect to server, if no answer to last XX ecm/keepalive or
    #    if no answer for last ecm or keepalive sent for YY seconds
    #    set to 0 to disable
    N: { 01 } 5 30

    # network ecm timeout in seconds
    K: { 05 }

    # newcamd dead routes connect retry, sec
    Q: { 600 }

    # network shares priority
    # 00 gbox, newcamd, radegast, camd3 (default)
    # 01 camd3, radegast, newcamd, gbox
    # 02 newcamd, camd3, gbox, radegast
    P: { 02 }

    # on screen display type
    #    00 No OSD (default)
    #    01 neutrino
    #    02 enigma
    #    03 relook
    #    + user password for http auth
    O: { 00 } username password

    # 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
    #    + web port to use for osd
    S: { 03 } 80

    # Log option, summ of:
    #    00 off
    #    01 network udp log
    #    02 log to console
    #    04 file, appended ! delete it by yourself, before it eat all your hdd
    #    + IP udp-port log-file-name
    L: { 00 } 192.168.10 514 /tmp/mgcamd.log

    # keep ecm cache, seconds
    # every cache entry takes 28 bytes, so 24h cache will take *only* 240-400kb of memory,
    # for openbox/elanvision users with remote shares make sense to set it higher than default value,
    # to not hammer cards while timeshifting or playing crypted recordings.
    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: { 07 }

    # 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: { 00 }

    # 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: { 00 }

    # box type
    # 00 autodetect, change only if you think wrong type detected.
    # 01 dbox2
    # 02 dreambox
    # 03 triple-dragon
    # 04 relook
    # 05 openbox
    B: { 02 }

    MIRAGE

    • Гость
    Официальная карта НТВ+ на Dreambox/Tuxbox
    « Ответ #33 : 04 сентября 2010, 17:18:40 »
  • Nikname of reply

  • newcamd.list

    CWS = 127.0.0.1 10000 dreambox dreambox 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan server

    MIRAGE

    • Гость
    Официальная карта НТВ+ на Dreambox/Tuxbox
    « Ответ #34 : 04 сентября 2010, 17:20:33 »
  • Nikname of reply

  • Неохота мне разгребать посты, вот необходимый набор настроек что бы работало, и еще логи удобней снимать по 514 порту, так как большенство прог по умолчанию с ним работают.

    Пробуй должно все работать.
    « Последнее редактирование: 04 сентября 2010, 17:26:34 от MIRAGE »

    omoh

    • Гость
    Официальная карта НТВ+ на Dreambox/Tuxbox
    « Ответ #35 : 04 сентября 2010, 18:59:21 »
  • Nikname of reply

  • Переделал по твоему примеру, не помогло

    Цитировать
    Sep 04 18:35:17 192.168.10.246 tuxbox mgcamd v1.35a by mixvt (compiled Jan 26 2010 15:59:04)
    Sep 04 18:35:17 192.168.10.246 [mg] Net:1:1:2:5s Show ecm:1, emm:1 Up:0 Au:1 Dir:0 Osd:no:80:0 Cache:7 Log:1:192.168.10.250:514 Reread:0
    Sep 04 18:35:17 192.168.10.246 [mg] Ecm cache time: 15
    Sep 04 18:35:17 192.168.10.246 Box type: dreambox
    Sep 04 18:35:17 192.168.10.246 Conax.Key error 2: No such file or directory
    Sep 04 18:35:17 192.168.10.246 SoftCam.Key error 2: No such file or directory
    Sep 04 18:35:17 192.168.10.246 AutoRoll.Key error 2: No such file or directory
    Sep 04 18:35:17 192.168.10.246 Conax.Key error 2: No such file or directory
    Sep 04 18:35:17 192.168.10.246 [config] newcamd route = dreambox:127.0.0.1:10000 server server
    Sep 04 18:35:17 192.168.10.246 newcamd keep alive: 0, incoming port: 0
    Sep 04 18:35:17 192.168.10.246 [mgcam] emm thread started
    Sep 04 18:35:17 192.168.10.246 [newcamd] Connecting to 127.0.0.1:10000...
    Sep 04 18:35:17 192.168.10.246 [newcamd] Login to 127.0.0.1:10000 as dreambox accepted (0ms)
    Sep 04 18:35:17 192.168.10.246 [newcamd] Card data from 127.0.0.1:10000 (0ms):
    Sep 04 18:35:17 192.168.10.246    EMM enabled: UA yes SA yes GA yes, Card serial: C1AF7078
    Sep 04 18:35:17 192.168.10.246    Userid 1 caid 500 providers 2
    Sep 04 18:35:17 192.168.10.246    Idents: FFF500 040600
    Sep 04 18:35:17 192.168.10.246    ids: C1AF7078 C1AF7078
    Sep 04 18:35:17 192.168.10.246 
    Sep 04 18:37:15 192.168.10.246 got 8 cmd 9F
    Sep 04 18:37:15 192.168.10.246 got 114 cmd 9F
    Sep 04 18:37:15 192.168.10.246 [mg0] namespace 1680000 t-id 5 on-id 70
    Sep 04 18:37:15 192.168.10.246 [mg0] descramble on 1, source 1
    Sep 04 18:37:15 192.168.10.246 [mg0] service 5015 index 0 pmt pid 8C (2), pids: video 0x0140, audio  0x0190 0x0191
    Sep 04 18:37:15 192.168.10.246  CaPID: 0x0FA1 ProvID: 023700
    Sep 04 18:37:15 192.168.10.246  CaPID: 0x07D1 ProvID: 040600
    Sep 04 18:37:15 192.168.10.246 [mg0] No viaccess key(s) found for id 23700 keynr 08
    Sep 04 18:37:15 192.168.10.246 [mg0] network can't decode
    Sep 04 18:37:15 192.168.10.246 [mg0] pid 0x0FA1 failed to decode.
    Sep 04 18:37:15 192.168.10.246 [mg0] No viaccess key(s) found for id 40600 keynr 08
    Sep 04 18:37:15 192.168.10.246  ECM to newcamd 127.0.0.1:10000
    Sep 04 18:37:16 192.168.10.246 [mg0] newcamd route 127.0.0.1:10000 cant decode (291ms)
    Sep 04 18:37:16 192.168.10.246 [mg0] network can't decode
    Sep 04 18:37:16 192.168.10.246 [mg0] pid 0x07D1 failed to decode.
    Sep 04 18:37:16 192.168.10.246 [mgcamd] emm started
    Sep 04 18:37:16 192.168.10.246 Starting emm for newcamd shared card(s)
    Sep 04 18:37:16 192.168.10.246  CaPID: 0x03EC ProvID: 040600
    Sep 04 18:37:16 192.168.10.246  CaPID: 0x03ED ProvID: 040610
    Sep 04 18:37:16 192.168.10.246  CaPID: 0x03EB ProvID: 030600
    Sep 04 18:37:16 192.168.10.246  CaPID: 0x03E8 ProvID: 023700
    Sep 04 18:37:17 192.168.10.246  ECM to newcamd 127.0.0.1:10000
    Sep 04 18:37:17 192.168.10.246 [mg0] newcamd route 127.0.0.1:10000 cant decode (3ms)
    Sep 04 18:37:18 192.168.10.246  ECM to newcamd 127.0.0.1:10000
    Sep 04 18:37:18 192.168.10.246 [mg0] newcamd route 127.0.0.1:10000 cant decode (2ms)
    Sep 04 18:37:20 192.168.10.246  ECM to newcamd 127.0.0.1:10000
    Sep 04 18:37:20 192.168.10.246 [mg0] newcamd route 127.0.0.1:10000 cant decode (2ms)
    Sep 04 18:37:21 192.168.10.246  ECM to newcamd 127.0.0.1:10000
    Sep 04 18:37:21 192.168.10.246 [mg0] newcamd route 127.0.0.1:10000 cant decode (3ms)
    Sep 04 18:37:22 192.168.10.246  ECM to newcamd 127.0.0.1:10000
    Sep 04 18:37:22 192.168.10.246 [mg0] newcamd route 127.0.0.1:10000 cant decode (3ms)
    Sep 04 18:37:24 192.168.10.246  ECM to newcamd 127.0.0.1:10000
    Sep 04 18:37:24 192.168.10.246 [mg0] newcamd route 127.0.0.1:10000 cant decode (252ms)
    Sep 04 18:37:25 192.168.10.246  127.0.0.1:10000

    Fire

    • Супер модератор
    • Оффлайн

    • *
    • Сообщений: 617
    • Статус: +4074/-0
    • Пол: Мужской
    Официальная карта НТВ+ на Dreambox/Tuxbox
    « Ответ #36 : 04 сентября 2010, 20:11:49 »
  • Nikname of reply

  • Явно какая-то невнимательность:
    Пример от MIRAGE при его данных и что получается у тебя:

    Newcamd Port: 10000 - CAID: 0500 - Reader: 0 (lower)
    ID   Username Status  Ok ECM    Bd ECM     EMM  Hostname  Client  Spdr AU SO                                    
    02  dreambox  Offline      0             0           0      Offline     Offline

    Newcamd Port: 34000 - CAID: 0500 - Reader: 0 (NTV+)
    ID    Username    Status    Ok ECM    Bd ECM    EMM    Hostname    Client    Spdr    AU    SO
    02    root      00d 00:49:59      0             9        19     127.0.0.1 Mgcamd     X      V      X


    Так что у тебя там всетаки прописано  в newcs.xml :
     <name>dreambox</name>
     <password>dreambox</password>
     <newcamd_port>10000</newcamd_port>

    И после этого строка в newcamd.list должна выглядеть так :

    CWS = 127.0.0.1 10000 dreambox dreambox  01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan server  
    Чем лучше цель, тем целимся мы метче.

    omoh

    • Гость
    Официальная карта НТВ+ на Dreambox/Tuxbox
    « Ответ #37 : 04 сентября 2010, 20:33:21 »
  • Nikname of reply

  • В данный момент так

    Так что у тебя там всетаки прописано  в newcs.xml :
     <name>dreambox</name>
     <password>dreambox</password>
     <newcamd_port>10000</newcamd_port>

    И после этого строка в newcamd.list должна выглядеть так :

    CWS = 127.0.0.1 10000 dreambox dreambox  01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan server   

    Согласно последнего примера Миража

    Вариант  с портом 34000 от предыдущей конфиги Легионера

    MIRAGE

    • Гость
    Официальная карта НТВ+ на Dreambox/Tuxbox
    « Ответ #38 : 04 сентября 2010, 20:35:59 »
  • Nikname of reply

  • Внимательность в этом деле это перво-очередная вещь.

    omoh

    • Гость
    Официальная карта НТВ+ на Dreambox/Tuxbox
    « Ответ #39 : 04 сентября 2010, 20:43:09 »
  • Nikname of reply

  • Текущий конфиг
    192.168.10.246 сам Тукс
    192.168.10.250 Комп смотрящий лог

    Клиент авторизуется, карточка видна
    Но декодирования нет

    Цитировать
    <?xml version="1.0"?>
    <newCSconfig>
       <readers name="Card Readers">
          <device>
             <name>lower</name>
             <type>Sci</type>
             <node>/dev/sci0</node>
             <mhz>357</mhz>
             <parity>even</parity>
             <export>yes</export>
             <enabled>yes</enabled>
             <blocksa>no</blocksa>
             <blockua>no</blockua>
             <blockga>no</blockga>
             <boxid></boxid>
             <PTShandshake>yes</PTShandshake>
             <Seca-PPV>no</Seca-PPV>
             <crypto-special>no</crypto-special>
             <carddetect>yes</carddetect>
             <newcamd_port>10000</newcamd_port>
             <autosid>yes</autosid>
             <priority>round</priority>
          </device>
       </readers>
       <debug>
          <level>verbose</level>   
          <type>all</type>
          <output>udp,tcp</output>
          <logfile></logfile>
          <console_options></console_options>
          <file_options></file_options>
          <udp_host>192.168.10.246</udp_host>
          <udp_port>514</udp_port>
          <udp_options></udp_options>
          <tcp_port></tcp_port>
          <tcp_options></tcp_options>
       </debug>
       <httpd>
          <server>
             <port>8080</port>
             <enabled>yes</enabled>
          </server>
          <user>
             <name>newcs</name>
             <password>newcs</password>
             <accesslevel>admin</accesslevel>
          </user>
       </httpd>   
       <newcamdserver>
          <enabled>yes</enabled>
          <deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
          <name>newcs</name>
          <userfile>/tmp/users.txt</userfile>
          <user>
             <name>dreambox</name>
             <password>dreambox</password>
             <au>on</au>
             <allow>lower</allow>
          </user>
          <user>                                                                                   
       </newcamdserver>
    </newCSconfig>

    Цитировать
    #CWS_KEEPALIVE = 300
    #CWS_INCOMING_PORT = 17200
    CWS = 127.0.0.1 10000 dreambox dreambox 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan server

    Цитировать
    # 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 anything about ecm
    #    01 normal mode, show pids processed, decoded ecm and cw
    #    02 verbose mode, show valid and bad ECMs with data
    C: { 01 }

    # AU
    #    00 disable, no emm pids processed
    #    01 enable, emm pids always processed for soft-au and shared cards
    #    02 auto, emm started only if channel cant be decoded
    #    03 process emm pids for 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 enable TPS au
    #    + tps au pid
    U: { 00 } 0x1ACB

    # 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
    #    08 gbox 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
    #    + XX messages number and YY seconds to reconnect
    #    mg will reconnect to server, if no answer to last XX ecm/keepalive or
    #    if no answer for last ecm or keepalive sent for YY seconds
    #    set to 0 to disable
    N: { 01 } 5 30

    # network ecm timeout in seconds
    K: { 05 }

    # newcamd dead routes connect retry, sec
    Q: { 600 }

    # network shares priority
    # 00 gbox, newcamd, radegast, camd3 (default)
    # 01 camd3, radegast, newcamd, gbox
    # 02 newcamd, camd3, gbox, radegast
    P: { 02 }

    # on screen display type
    #    00 No OSD (default)
    #    01 neutrino
    #    02 enigma
    #    03 relook
    #    + user password for http auth
    O: { 00 } username password

    # 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
    #    + web port to use for osd
    S: { 03 } 80

    # Log option, summ of:
    #    00 off
    #    01 network udp log
    #    02 log to console
    #    04 file, appended ! delete it by yourself, before it eat all your hdd
    #    + IP udp-port log-file-name
    L: { 01 } 192.168.10.250 514 /tmp/mgcamd.log

    # keep ecm cache, seconds
    # every cache entry takes 28 bytes, so 24h cache will take *only* 240-400kb of memory,
    # for openbox/elanvision users with remote shares make sense to set it higher than default value,
    # to not hammer cards while timeshifting or playing crypted recordings.
    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: { 07 }

    # 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: { 00 }

    # 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: { 00 }

    # box type
    # 00 autodetect, change only if you think wrong type detected.
    # 01 dbox2
    # 02 dreambox
    # 03 triple-dragon
    # 04 relook
    # 05 openbox
    B: { 02 }

     

    :: спутниковые ресиверы ::