Acum va trebui sa repornesti Dreambox-ul.
Mergi in Blue Panel si selecteaza Gbox, apoi selecteaza Start/Restart Cam pentru a activa Gbox cam-ul.
![](http://img69.imageshack.us/img69/9932/scr01zf4.jpg)
Pentru ca Gbox-ul sa functioneze corect trebuie sa ai in dir: /var/keys anumite fisiere de configuratie:
gbox_cfg, softcam.cfg and cwshare.cfg ( cwshare.cfg -este important sa-l setezi cu datele tale ).
Aici este listingul gbox_cfg pe care poti sa-l copiezi si sa-l inserezi intr-un fisier text si apoi sa-l salvezi cu numele: gbox_cfg daca nu cumva il ai deja.
# start 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: { 00 12 } 192.168.1.4 8024
# Task type
# 00 ** normal mode gbox mode (no season, use Multicam instead)
# 01 ** Season Emulation in a Irdeto allcam chid 0602 nonZ
# 10 ** Season Emulation in a Irdeto allcam chid 1702 nonZ
# 11 ** Season Emulation in a Irdeto allcam chid 1702 Z
# 12 ** Season Emulation in a Irdeto allcam chid 1722 Z
# 13 ** Season Emulation in a Irdeto allcam chid 1762 Z
# ** *1 Com port to use for season emulatiom (1 or 2)
# ** 0* Use CTS fur RST detection
# ** 1* Use DCD fur 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: { 02 }
# Key update
# 01 update only new keys, default setting
# 02 update all keys (used for valid PMK checking)
U: { 02 }
# 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 use this !!!!!
H: { 01 }
# 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: { 03 } 192.168.1.2
# Logger and NET-mode UDP port Init
# 00 do not init UDP port
# 01 Init UDP port for IP, port, UDP
L: { 00 } 10.0.0.3 8017
# 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 10 }
# 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 } /var/tmp // folder for temporary file
#F: { 13 } /var/keys // folder for keyfiles
#F: { 21 } /dev/dvb/card0/ca0 // ca device
#F: { 22 } /dev/dvb/card0/dvr0 // dvr device
F: { 23 } /dev/dvb/card0/demux0 // demux device
#F: { 31 } /dev/dvb/adapter0/ca1 // second ca device to write cw's (recording)
#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
# Irdeto works fine on 7.8MHz, all other fine on 6.30MHz or 5.25MHz
# The Dream has not a clean clock signal, some cards that are sensitive will
# refuse to work even on 3.5MHz, thats why 3.15MHz is the default value there.
# On other STB04xxx recievers the same cards work with 6.30MHz
#
#F: { 51 } 02 // irdeto
#F: { 52 } 03 // seca
#F: { 53 } 03 // viaccess
#F: { 54 } 03 // nagra
#F: { 55 } 03 // crypto
#F: { 57 } 03 // conax
#F: { 58 } 03 // nds
# end gbox config file
Aici este listingul softcam.cfg pe care poti sa-l copiezi si sa-l inserezi intr-un fisier text si apoi sa-l salvezi cu numele: softcam.cfg daca nu cumva il ai deja.
# 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: { 00 }
# Check additional Baurate for ATR !!! ONLY FOR DBOX2 !!!
# 00 No Check (default)
# >0 Check on, Value in bit/s, example 81861
B: { 00 }
# 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 } Irdeto 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 } Irdeto : 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: { 09 61 2E E5 { F0 07 84 7B F2 24 E9 FF 00 00 00 00 00 00 00 00 }
0: { 09 61 C3 57 { 86 FA 87 07 33 F2 AF D4 00 00 00 00 00 00 00 00 }
0: { 26 00 03 EB { 2D 4E 53 CE 6A 42 5F 0B 2D 4E 53 CE 6A 42 5F 0B }
0: { 26 00 03 E9 { 2D 4E 53 CE 6A 42 5F 0B 2D 4E 53 CE 6A 42 5F 0B }
0: { 26 00 03 EA { 2D 4E 53 CE 6A 42 5F 0B 2D 4E 53 CE 6A 42 5F 0B }
0: { 26 00 03 EC { 2D 4E 53 CE 6A 42 5F 0B 2D 4E 53 CE 6A 42 5F 0B }
0: { 26 00 03 ED { 2D 4E 53 CE 6A 42 5F 0B 2D 4E 53 CE 6A 42 5F 0B }
0: { 26 00 03 EE { 2D 4E 53 CE 6A 42 5F 0B 2D 4E 53 CE 6A 42 5F 0B }
0: { 26 00 03 EF { 2D 4E 53 CE 6A 42 5F 0B 2D 4E 53 CE 6A 42 5F 0B }
0: { 26 00 03 F0 { 2D 4E 53 CE 6A 42 5F 0B 2D 4E 53 CE 6A 42 5F 0B }
0: { 26 00 00 01 { 10 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00 }
0: { 26 00 00 04 { 18 AA 00 00 C2 D3 28 00 18 AA 00 C2 C2 D3 28 00 }
0: { 26 00 00 03 { B9 8A C0 00 DE 11 03 00 B9 8A C0 00 DE 11 03 00 }
0: { 26 00 00 05 { AB CD EF 67 FE DC BA 94 AB CD EF 67 FE DC BA 94 }
0: { 26 00 1F 06 { 11 11 11 33 11 11 11 33 11 11 11 33 11 11 11 33 }
0: { 26 00 00 63 { 13 24 35 6C AC BD EF 58 13 24 35 6C AC BD EF 58 }
0: { 26 00 00 06 { 10 10 10 30 10 10 10 30 10 10 10 30 10 10 10 30 }
0: { 26 00 00 07 { 1A 2B 3C 00 4D 5E 6F 00 1A 2B 3C 00 4D 5E 6F 00 }
0: { 26 00 00 67 { DB A5 45 00 FD E3 62 00 DB A5 45 00 FD E3 62 00 }
#MINSK TV 53E
#0: { 26 00 00 01 { 10 09 19 32 36 24 62 BC 10 09 19 32 36 24 62 BC }
#ENTV 22W
#0: { 26 00 00 04 { 11 00 00 00 00 00 00 00 11 00 00 00 00 00 00 00 }
#TV7 INDO 108E
#0: { 26 00 00 04 { 44 C4 DE 00 7B 94 32 00 44 C4 DE 00 7B 94 32 00 }
Acum despre fisierul cwshare.cfg :
in linia M: va trebui sa introduci numele taudyndns ( sau adresa de Internet IP ) apoi parola ta din 8 caractere in format HEX ( adica: cifre 0-9 si litere A-F ).
* Important parola ta trebuie sa fie unica, deci sa nu se mai regaseasca in alta linie D. Nu faceti confuzie intre aceasta parola si parola dyndns , dreambox, sau router.
* Prin dyndns iti vei asigna numelui tau adresa de internet IP, asfel incit daca IP-ul tau internet se schimba vei actualiza dyndns-ul cu noul IP.
in linia D: vei introduce detaliile partenerului de share: nume dyndns, portul tau UDP, portul lui UDP, parola lui si parametrii de share.
* Portul tau UDP va trebui sa fie directionat catre IP-ul intern al dreambox-ului;
pentru aceasta va trebui sa folosesti Router si sa-l configurezi ca pachetele UDP care ajung pe portul dorit ( yyyy ) catre IP-ul tau de internet
sa fie directionate catre acelasi port UDP ( yyyy ) spre IP-ul local al dreambox-ului.
Cum sa construiesti linia ta D sa o poti da altor parteneri:
D: { numele_tau_dydns_sau_ip { xxxx yyyy { parola_ta { local_card_dist virtual_card_dist }}}}
in xxxx partenerul tau de share va introduce portul lui, las-o necompletata, ca si xxxx.
yyyy - este portul tau UDP.
parola_ta = parola din linia M.
local_card_dist = A5 aceasta este distanta la care vrei ca sa fie vizibil cardul tau local, A este pentru cartele speciale NDS, de ex: SKY UK/IT.
virtual_card_dist = A5 aceasta este distanta la care vrei sa fie vizibile cardurile tele virtuale care iti vin de la parteneri, A este pentru cartele speciale NDS, de ex: SKY UK/IT.
* Atentie sa nu confunzi linia ta D care o dai prietenilor tai cu liniile tale D din cwshare.cfg
* Atentie sa nu faci publice liniile tele D&M sau liniile D din cwshare
# start cwshare.cfg config file
# allow maximum 06 share level for recieved card data
I: { 06 }
# 01 repeat EMM's
# 00 consider every EMM only once
# 01 restart pid on overflow
# 1* reset ENX on every channel change
# *1 check/reset ENX freezes on FTA
# *2 check/reset ENX freezes on PayTV
# *3 check/reset ENX freezes on FTA and PayTV
# 00 write nothing in atack.txt
# 01 write into atack.txt: password is wrong
# 02 write into atack.txt: ID unknown
# 04 write into atack.txt: IP is wrong
# 08 write into atack.txt: port is worng
# 10 write into atack.txt: share.stat
# 20 create online.log for online/offline logging
# 3F write everything. (combine bits for other combinations)
# 4000 send ecm again after 4 Seconds if no reply.
# 6000 resync decode after 6 Seconds if net decode failed
N: { 00 01 03 1F 4000 6000 }
# Send ECM's at maximum 5 cards (please use this as default)
X: { 05 }
# Send ECM's in any case to these card ID's, even they are more then X:
# some examples ...
#G: { 17020000 1234 }
#G: { 0B000000 ABCD }
#G: { 05021510 AB34 }
#G: { 0D03A000 A234 }
# For W: please read the cwshare.txt, here only some examples
# use card 1 only for the following pids
#W: { 01 02 02 } 1022 100A 100B 102B 1009 101D 1029 1014 1011 101B
# don't use card 2 for the following pids
#W: { 02 03 03 } 1008 1016
# S: is the same as W:, just using the SID instead of the ECMPID
# cwshare.cfg --- dbox1 --- Internet und Lokales Netzt
#
# password
M: { mydbox2.homeip.net { AA242456 }}
# Internet Friends port range password cod
D: { friend1.homeip.net { 8010 8010 { B142AB11 { 5 5 }}}}
D: { friend2.homelinux.net { 8010 8010 { 81BFF901 { 5 5 }}}}
# other local boxes
D: { 192.168.0.51 { 8020 8020 { AB333441 { 5 5 }}}}
D: { 192.168.0.52 { 8020 8020 { BA334B24 { 5 5 }}}}
# end cwshare.cfg config file
G-Box Center este un utilitar care iti afiseaza informatii despre partenerii de share si cartelele virtuale
![](http://img69.imageshack.us/img69/5018/scrgc01bx5.jpg)
Fereastra cu status-ul liniilor D, ver gbox, adresa IP... selecteaza o linie si apasa OK pentru a avea mai multe informatii
![](http://img134.imageshack.us/img134/97/scrgc01acc5.jpg)
Aici poti vedea cite cartele iti vin si de la ce distanta, teoretic distanta mai mica inseamna o viteza de raspuns mai buna
![](http://img134.imageshack.us/img134/2430/scrgc02po5.jpg)
Daca o cartela are Level 0 nu va mai fi redistribuita mai departe, cartelele cu Level 1 vor fi redistribuite o singura data, Level 2 de doua ori pina vor ajunge la level 0... etc
![](http://img134.imageshack.us/img134/2966/scrgc03pa5.jpg)
Aici este afisat ce provideri pot fi accesati si cite cartele sunt in retea pentru fiecare provider
![](http://img69.imageshack.us/img69/7897/scrgc04lb5.jpg)
Cum sa instalezi manual G-Box Center:
copiaza egboxcenterd in /var/bin si seteaza atributul 755
copiaza urmatoarele fisiere in /var/tuxbox/plugins
egboxcenter.cfg
egboxcenter.so -seteaza atributul 755
Apoi mergi in Blue Panel - Plugins si selecteaza G-Box Center pentru a-l porni
![](http://img69.imageshack.us/img69/7053/scrgc00om1.jpg)
Tips
* Daca vei avea atacuri de genul bad port o cauza poate fi faptul ca folosesti v 2.20-2.25 si primesti >1024 carduri. Foloseste PC log-er pentru a verifica aceasta problema.
Pentru a corecta eroarea ai doua optiuni:
instaleaza gbox v 2.1b sau
coboara valoarea parametrului I la 04 sau 03 astfel I: { 03 } si verifica parametrul X sa nu fie prea mare; valoarea narmala este X: { 05 }
* Daca in linia ta M vei introduce adresa ta sub forma de IP atunci nu poti avea in liniile D nume cu dyndns, doar IP-uri.
* Aici ai lista mea ident & ignore.
verifica cit de multe catele virtuale ai inainte si dupa ce instalezi ignore-ul; aceasta lista va ignora cardurile vechi sau false din retea.
download ident & ignore list
Instaleaza in dir: /var/keys si reporneste gbox-ul.