Thursday, October 15, 2009

Lines Definition in CWshare and Gbox.cfg

W line in Cwshare:
The W line decides how your local card shall be used and shared on the network, and goes in cwshare.cfg like this:

W: { 0A 0B 0C } P001 P002 P003 ...

A= Slot number (1 to 8 )
B= How your card shall be used locally (on your own box)
-0= Dont use card
-1= Use card for all Pid's
-2= Use card only for following Pid's
-3= Don't use card for following Pid's

C= How the card shall be shared on the network
-0= Dont share card
-1= Share all Pid's on card
-2= Share only following Pid's on card
-3= Don't share following Pid's on card

P is the Pid's

Example 1: I want my card in slot 1 to be used for all Pid's locally, and to be shared on the network with all Pid's ( 1FFF means all Pid's):

W: { 01 01 01 } 1FFF

Example 2: I want my card in slot 1 to be used locally for all Pid's on card, and DONT want it to be shared on the network at all:

W: { 01 01 00} 1FFF

Example 3: I want my card in slot 1 to be used locally with the following Pids only, and to be shared on the network too with the following Pid's only:

W: { 01 02 02 } Pid1 Pid2 Pid3 ...

Well, the example 3 is the most interesting, and if we all used it in the right way, it would give a good and stable share environment. Why?

I will try to explain:

Lets say i have a package with 5 channels. I only have a subsription to 3 of these channels, so 2 channels dont open with my card.
Open channels: Pid1, Pid2, Pid3
Scrambled channels: Pid4, Pid5.

There is no need to use my card or share my card with Pid's 4 and 5 since they dont open with my card!

So i would do a W line like this in my cwshare.cfg:

W: { 01 02 02 } Pid1 Pid2 Pid3

The easiest way to see Pid numbers for the channels, is by zapping and then pressing "Quick info" In Gbox Suite and look for the value CaPID for each channel.

Example: CaPID: 0x0021

The Pid number in this case is 0021.

So it would be entered like this:

W: { 01 02 02 } 0021

PS: Max 32 Pid's/Sid's allowed (32 of each) allowed

PS: This explanation goes for the S line aswell. S line goes S: { .. .. .. } and instead of Pid's, Sid's are used!

*Thanks to MasteR for corrections!*

Update (thanks to @emilio29):

Easiest way to see Pid's: In GboxSuite look in "Quickinfo".
Easiest way to see Sid's: Press "Menu", then "Information", then "Streaminfo". Look in the field "Service id" (this value is already in hex).

You get the best result using Sid's (S line), since some of the Pid's are shared!


V line in Gbox_cfg
V: { F0 00 } # no slots
V: { F0 10 } # slot 1
V: { F0 20 } # slot 2
V: { F0 30 } # 2 slots
V: { F0 35 } # 2 slots + port com
V: { F0 31 } # Sc8in1
V: { 00 05 } #Dbox2 multicam
V: { 00 07 } # Dbox2 multicam slot 1+cardreader com

G line in Cwshare:
The G line is used to force the reception of a specific card even if you received all cards that you set up by the X parameter.
So, it is used to force the card that gbox can't get usually itself.
The syntaxe of the G line is :

G: { 01000081 ZZAA }

G: { prov_id box_id }

N line in CWshare
# 01 repeat EMMs
# 00 consider every EMM only once

# 01 restart pid on overflow
# 10 reset ENX on every channel change
# 01 check/reset ENX freezes on FTA
# 02 check/reset ENX freezes on PayTV
# 03 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 wrong
# 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 00 2000 5000 }

i hope this will help you
the colors in the d line are the same as above
you can change the values if you want to
like the attack log if you have a dream 500 the log file can flood youre box
so set the atack numbers only on what you would like to see like 04 means that youre peers ip is wrong
then as you can see you can also change the value for sending ecm and resync decode


D nad M line in CWshare:
the dline is the line that makes it possible for the client box to logon to the other box
ofcourse is the first one in the living and the second one in the bedroom

for example
the cw from the LIVINGROOM go's like this

# cwshare.cfg --- dbox1 --- Internet und Lokales Netzt
#
# ip number password
M: { 192.168.2.10 { 2B1C1D7C }}
#
# Internet Friends port range password cod
D: { 192.168.2.20 { 2244 4422 { 98765432 { A3 A3 }}}}
#
#
# allow maximum 06 share level for recieved card data
I: { 03 }
#
# Send ECMs at maximum 5 cards (please use this as default)
X: { 09 }
#
# FOR NLINE=
# 01 repeat EMMs
# 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 3F 3000 5000 }

ok so this is ths cw share file
what does this dline meens
the ip number : 192.168.2.20 is youre friend thats what is says
so youre friend is alowed to logon to the livingroom box
the ports in the living are 2244--4422
2244 is used by the box in the livingroom
4422 is used by the box in the bedroom
so the bedroom logs on thru port 2244 on the living
and vice versa

the pasword needs no explanation i think

the code:
A meens you let nds go thru without A you dont share nds signals
1,2,3,4,5,6,7,8,9 meens that you share it a specific amount of boxes
so if you put A1 A! then it go's no further then 1 box and so on


so let me put this simple

#livingroom :
M: { 192.168.2.10 { 45456565 }}
#
#
D: { 192.168.2.20 { 2244 4422 { 98765432 { A3 A3 }}}}
#
I: { 03 }
X: { 09 }
N: { 00 01 03 3F 3000 5000 }
--------------------------------------------------------------

#and the bedroom:

M: { 192.168.2.20 { 98765432}}
#
#
D: { 192.168.2.10 { 4422 2244 { 45456565 { A3 A3 }}}}
#
I: { 03 }
X: { 09 }
N: { 00 01 03 3F 3000 5000 }

I line In CWshare:
Just some explanation for people who do not yet get this matter

the I line determines the maximum distance of cards which you obtain
That is the number of boxes that you have to go thru to get at the card to come
example: Jan have card A and is the pear of piet now you are also a pear of piet
therefore to go to Jan and use its card you must go by piet
piet is then the first distance and jan then the second distance

This way i think its clearly enough for everyone

As from dist 3 the quality of the card becomes more badly
since there is not higher shared than level 5 it is entirely
unnecessary to put it higher as level 5

X line in CWshare:

The X line is the line which determine the number of cards you get answers from
the ammount of cards you address to give you a color on your screen
this card provide you then with the correct data

therefore e.g. X {07} that means that there to 7 cards asked for an answer for the correct data

0 comments:

Post a Comment