Register

Welcome to the RDI-Board Community.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


Donate Now Goal amount for this month: 100 EUR, Received: 100 EUR (100%)
Donate to support this site...

Results 1 to 3 of 3
  1. #1
    Moderator Expert
    Join Date
    Jul 2006
    Location
    blowfish me....
    Posts
    2,472
    Posts Thanks / Likes

    Talking configurare corecta setari gbox

    as vrea putin ajutor daca se poate , ma supara faptul ca desi am mai nou sky italia canal+ sau boom in dist 1 , pe fiecare dintre ele si nu numai am intreruperi gen 3-5sec(chiar MTV-urile ) la un interval destul de des mai nou de 2 ori pe minut pe unele. probabil am gresit ceva in setari de aceea am sa postez mai jos setarile mele poate ajuta si pe altii si poate mai invatzam si noi cateva ceva.

    gbox_cfg

    Code:
    # gbox config file
    
    # Trace/Debug
    # xx yz ; xx=00 no konsole output
    # xx yz ; xx=01 konsole output
    # xx yz ; y=0 debug output (don't use)
    # xx yz ; y=1 no debug output
    # xx yz ; z=0 ouput to konsole
    # xx yz ; z=1 output to /var/tmp/debug.txt
    # xx yz ; z=2 Output to UDP (to capture with gboxt)
    Z: { 01 12 } nuconteaza 8024
    
    # Task type
    #    00 **  normal mode gbox mode (no season, use Multicam instead)
    #    01 **  Season Emulation in a ****** allcam chid 0602 nonZ
    #    10 **  Season Emulation in a ****** allcam chid 1702 nonZ
    #    11 **  Season Emulation in a ****** allcam chid 1702 Z
    #    12 **  Season Emulation in a ****** allcam chid 1722 Z
    #    13 **  Season Emulation in a ****** allcam chid 1762 Z
    #    ** *1  Com port to use for season emulatiom (1 or 2)
    #    ** 0*  Use CTS fr RST detection
    #    ** 1*  Use DCD fr RST detection
    #    ** **   9600 = Baudrate to be used (working only on dbox2)
    W: { 00 00 } 9600
    
    # gbox working mode
    #    00 pure Emu
    #    01 pure SoftCam (when card inside), Emu (when no card inside)
    #    02 pure Net Client
    #    03 Mixed mode !!!!! always use this !!!!!
    G: { 03 }
    
    # Display ECM messages on Konsole
    #    00 don't show any ECM's
    #    01 show only valid ECM's
    #    02 show valid and bad ECM's with complete data display
    C: { 01 }
    
    # Display EMM messages on Konsole
    #    *0 don't show any EMM's
    #    *1 show only valid EMM's
    #    *2 show valid and bad EMM's with complete data display
    #    1* Log any tier change on PW-Nagra-17xx cards into /var/keys/pwupdate.log
    M: { 01 }
    
    # AutoUpdate
    #    00 is ignored (default)
    #    01 enable AU
    #    02 Auto AU !!!!! always use this !!!!!
    A: { 01 }
    
    # Key update
    #    01 update only new keys, default setting
    #    02 update all keys (used for valid PMK checking)
    U: { 01 }
    
    # Hash pids
    #    00 hash all pids, DO NOT USE THIS OPTION, IT IS ONLY FOR TESTING STUFF
    #    01 hash only pids with implemented algos and available keys !!!!! always u
    H: { 00 }
    
    # Key files folder
    #    00 keyfiles in /var/keys
    #    01 keyfiles in /var/tmp
    T: { 00 }
    
    # On Screen Display for the Multysystemcam on com1/com2
    #    00 No OSD (default)
    #    01 display Smartcard messages in Neutrino
    #    02 display Smartcard messages in Neutrino new nhttpd format
    #    03 display Smartcard messages in Enigma
    #                      mypass (use user=root and pass=mypass for nhttpd)
    #O: { 00 } nuconteaza    #OSD IP set by Enigma
    
    # Logger and NET-mode UDP port Init
    #    00 do not init UDP port
    #    01 Init UDP port for IP, port, UDP
    L: { 00 } nuconteaza  23
    
    # demux, multicam/comport configuration
    # *x ** ; x = device nummber to be used (0= default)
    # D* ** ; force use of /proc/bus/gtx for cw write operations
              (in the dbox2 the gbox writes directly the CW's, 00 is the
               recommended mode ! No drivers are required) use D* ** ONLY if
               you have Problems. 0* ** should be prefered !!!
    # F* ** ; write CW's in both devices (used for PVR in STB04xxx devices)
    # ** y* ; y=0001b (0x1*) use slot1 as Multicam (only on STB04xxx)
    # ** y* ; y=0010b (0x2*) use slot2 as Multicam (only on STB04xxx)
    # ** y* ; y=0011b (0x3*) use slot1 and slot2 as Multicams (only on STB04xxx)
    # ** *z ; z=0001b (0x*1) use com1 as Multicam
    # ** *z ; z=0010b (0x*2) use com2 as Multicam
    # ** *z ; z=0011b (0x*3) use com1 and com2 as Multicams
    # ** yz ; yz=00110011b (0x33) use slot1+slot2+com1+com2 as Multicams
    # ** *z ; z=0100b (0x*4) invert CTS detection on com1
    # ** *z ; z=1000b (0x*8) invert CTS detection on com2
    # example: yz = 0x0A = 00001010 (use com2 with inverted CTS detection line)
    V: { F0 30 }
    
    # =============================================================================
    # extra options to override default seting in case you expirience Problems,
    # normaly these setings are not required.
    #
    # cpu, api, cw write method
    #
    #     00 auto
    #     01 80X86
    #     02 MPC823
    #     03 IBM STB04xxx
    #        00 auto
    #        01 ibm
    #        02 api2
    #        03 api3
    #           00 cw write style = use internal routine (only dbox2)
    #           01 cw write style = CA_SET_DESCR type1 (dbox2, vdr)
    #           02 cw write style = CA_SET_DESCR type2
    #           03 cw write style = CA_SET_DESCR type3
    #           04 cw write style = 16 byte /proc/bus/gtx
    #           05 cw write style = 4096 byte /proc/bus/gtx, cw offset=0x04D0
    #              xx write cw in 1st device with index=xx
    #                 yy write cw in 2nd device with index=yy
    #                      01 means with .index=0 (default)
    #                      02 means with .index=1
    #                      03 means with .index=0 and .index=1
    #                      .. any bitwise combination ...
    #                      FF means with all 8 indexes (0-7)
    #J: { 01 00 00 01 01 }
    
    # Files, folders, devices
    #          folder/device             comment
    #
    #F: { 01 } /var/tmp/pmt.tmp          // pmt file
    #F: { 02 } /var/tmp/emm.info         // key update log file
    #F: { 03 } /var/tmp/ecm.info         // ecm info file
    #F: { 04 } /var/tmp/atack.txt        // atack info file
    #F: { 11 } /var/keys                 // folder for config files
    F: { 12 } /tmp
    F: { 13 } /tmp                  // folder for keyfiles
    #F: { 21 } /dev/dvb/adapter0/ca0     // ca device
    #F: { 22 } /dev/dvb/adapter0/dvr0    // dvr device
    #F: { 23 } /dev/dvb/adapter0/demux0  // demux device
    #F: { 31 } /dev/dvb/adapter0/ca1     // second ca device to write cw's (recordi
    #F: { 41 } /dev/sci0                 // STB04xxx slot1
    #F: { 42 } /dev/sci1                 // STB04xxx slot1
    #F: { 43 } /dev/tts/0                // rs232 com1
    #F: { 44 } /dev/tts/1                // rs232 com2
    
    # For overclocking freaks, Clocking internal STB04xxx slots with:
    # 1=7.80MHz 2=6.30MHz 3=5.25MHz 4=4.50MHz 5=3.94MHz 6=3.50MHz 7=3.15MHz
    # ****** works fine on 7.8MHz, all other fine on 6.30MHz or 5.25MHz
    #
    F: { 51 } 02                        // ******   6.30MHz
    F: { 52 } 03                        // seca     5.25MHz
    F: { 53 } 03                        // viaccess 5.25MHz
    F: { 54 } 03                        // nagra    5.25MHz
    F: { 55 } 03                        // crypto   5.25MHz
    F: { 57 } 03                        // conax    5.25MHz
    F: { 58 } 03                        // nds      5.25MHz
    
    # Emu
    #    00 Card is running - gbox Emu is off (default)
    #    01 Card is off - Emu is running
    E: { 01 }
    mg_cfg -mcamd 1.24 -pt multivisioane offline online cu gboxu inca nu am reusit ....
    Code:
    # 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
    U: { 04 }
    
    # 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: { 07 } 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: { 02 } root dreambox
    
    # 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: { 02 } 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: { 03 } 172.16.1.1 28007 /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: { 07 }
    
    # 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: { 00 }
    cwshare.cfg -lojic ca numai antetu , restul nu are sens , nu vad ce altceva as mai putea seta la el dar sa fie pt toti
    Code:
    M: { xxxxxxxxx.no-ip.xxx { xxxxxxxx }}
    ######################################################################################                                                                                        
    #########
    N: { 00 00 01 30 1000 4500 }								
    X: { 0A }											
    I: { 02 }
    peer.cfg -ma gandesc ca aici tre configurate si pues peerurile de la mgcamd
    Code:
    # sample peer.cfg for gbox client in mgcamd
    # syntax the same as in cwshare.cfg, 
    # you can just copy cwshare.cfg to this file.
    # see below for supported tags, others not supported (yet).
    
    # max cards to send ecm too + preffered cards ids (up to 32)
    X: { 05 } 1234 ABCD
    
    # max card's distance to use for ecm
    I: ( 05 }
    
    # resend after 2 seconds, re-sync (send to all) after 3 seconds
    N: { 0 0 0 0 2000 3000 }
    # same, but for NDS cards
    S: { 0 0 0 0 400 500 }
    
    # my host and password
    M: { my.dyndns.com { 1234ABCD }}
    
    # peers, unlimited number, but only up to 32 unique ports to listen
    # host, port to listen, remote port, password, levels (ignored)
    D: { peer1.dyndns.com { 2471 3471 { ABCD1234 { 9 9 }}}}
    D: { peer2.dyndns.com { 2471 3471 { 6789ABCD { 9 9 }}}}
    softcam.cfg
    Code:
    # SoftCam EMM Log configuration
    #
    # Save EMM data
    #    00 Don't save anything (default)
    #    01 Save processed EMMs (/var/tmp/emmproc.bin)
    #    02 Save rejected EMMs (/var/tmp/emmblock.bin)
    #    03 Save both EMMs
    L: { 00 }
    
    # Check additional OSC Frequency !!! ONLY FOR DBOX2 !!!
    #    00 No Check (default)
    #    >0 Check on, Value in KHz , example 8MHz=08000
    F: { 0000 }
    
    # Check additional Baurate for ATR !!! ONLY FOR DBOX2 !!!
    #    00 No Check (default)
    #    >0 Check on, Value in bit/s, example 81861
    B: { 0000 }
    
    # Enable TPScrypt Support
    #    *0 TPScrypt off
    #    *1 TPScrypt on (default)
    #    1* don't use PTS on Viaccess cards
    #    2* don't use PTS on Cryptoworks cards
    #    3* don't use PTS on Viaccess and Cryptoworks cards
    Y: { 01 }
    
    # Empty RS232 buffer before writing
    #    00 No reset
    #    01 Reset Buffer (default)
    E: { 01 }
    
    # SoftCam Blocker/Filter definition
    #
    # 00 = Allow EMM (default for all)
    # 01 = Block EMM addressed to:
    #     all card
    #     |  shared address/provider
    #     |  |  unique address/hex_serial
    # ----------------------------------
    I: { 00 00 00 } ******  All  SA  UA
    V: { 00 00 00 } Via       -  SA  UA
    S: { 00 00 00 } Seca      -  SA  UA
    N: { 00 00 00 } Nagra   All  SA  UA
    C: { 00 00 00 } Crypto  All  SA  UA
    O: { 00 00 00 } Conax     -  SA  UA
    D: { 00 00 00 } NDS     All  SA  UA
    
    # Timeout Definitions
    #
    T: { 00 02 01 } ATR timeout (normal*X), instruction timeout (normal*X)
    
    # com1/com2 delays, all delays to be entered in decimal !
    #
    # Do NOT touch !!!!!!!!!!!!!!!!!!
    # all timings should be 0, change only if you have problems.
    T: { 01 00000 000 } ******      : byte delay (1e-6 s), instruction delay (1e-3 s)
    T: { 02 00000 000 } Seca
    T: { 03 00000 000 } Viaccess
    T: { 04 00000 000 } Nagra
    T: { 05 00000 000 } CryptoWorks
    T: { 06 00000 000 } Geldkarte
    T: { 07 00000 000 } Conax
    T: { 08 00000 000 } NDS
    
    # Use Crypto card bug to decode any CW, no matter of chid
    #
    # Cxxx configuration (is aktiv for the provider only if a config line is present)
    # (ECM sample to be used to get the cw's with Cxxx)
    #
    # Provider                           provider       chid - that is present on the card for that provider
    #    ||                                 ||          || ||
    # UPC-Astra
    8: { 8D } A4 4C 00 00 2E 20 00 2B 83 01 8D 8C 03 20 01 00 8E 02 00 00 C5 01 00 DB 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 DF 08 00 00 00 00 00 00 00 00
    # Digiturk
    8: { C1 } A4 4C 00 00 31 28 00 2E 83 01 C1 8C 03 89 19 19 8E 02 00 00 8F 01 A9 91 01 55 DB 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 DF 08 00 00 00 00 00 00 00 00
    
    
    # Use constant CW's for
    #    caid  pid     CW0 ...                 CW1 ...
    #0: { 01 00 56 00 { 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF }
    my ignore.list and ident.info mean nothing to YOU !

    oricum sper sa ramna un topik deschis fiind un subiect ce ne intereseaza cat de cat pe totzi

  2. #2
    Plictisit Teacher
    RDI - Board Default Avatar

    Join Date
    Apr 2006
    Posts
    320
    Posts Thanks / Likes

    Default

    Nu cred ca vei rezolva nimic din setari:

    urmareste Log-ul la traficul de la gbox pe PC si vezi timpul in care iti raspunde peer-ul cu key:
    - Daca depaseste 400ms vei avea desincronizari. La mine timpul mediu de respuns ptr cardul NDS este ~240ms.
    - Daca ai ADSL upload-ul este mic si daca ai trafic la viteza maxima viteza de upload scade foarte mult si iti apar desincronizari - timp mare de raspuns. Rezolvarea este sa limitezi viteza de upload-download in retea pentru toate PC-urile cu exceptia DM-ului. ( QoS )

    Daca urmaresti log-ul pe PC poti sa constati ca iti vin key de la mai multe peer-uri care initial raspund rapid dar in timp din diferite motive ce tin de respectivii cw-urile vor veni mai tarziu >400ms.
    Din acest motiv daca ai un peer care stii ca are cardul full si internetul OK va trebui sa faci cumva ca sa ceri key doar de la el.
    Ptr asta foloseste Y ( ex: Y: { 07 24 } ) ca sa ignori toate celelalte peer-uri cu acelasi card. Asa am ajuns eu sa ignor 9 carduri NDS ( la 39E ) pentru a putea vede fara desincronizari.

    L.

  3. #3
    Moderator Expert
    Join Date
    Jul 2006
    Location
    blowfish me....
    Posts
    2,472
    Posts Thanks / Likes

    Default

    da man , ar fi o faza , dar ce se intampla cand peerul care il faci tu g -line de fapt pleaca :P) totusi consider ca ar trebui lasati si ceilalti .... 9 de ex:P) ca macar de la 1 din ei sa imi intre

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to Top