PDA

View Full Version : How to put the Gemini image GBOX



afc007
10-02-2011, 04:38
How to put the Gemini image GBOX


FTP: Add gbox in var / bin

telnet

Type: cd / var / bin

and to type the dodijelis rights: chmod 755 gbox

Ftp: keys u var-keys

copy the text below in to a file.txt :

CAMNAME="Gbox"
USERNAME=""
ZAPTIME=8
CAMID=970
DVBSET=1
INFOFILE="ecm.info"
# end


# This method cleans up /tmp folder of gbox files
remove_tmp ()
{
rm -rf /tmp/*info* /tmp/*gbox* /tmp/*online* /tmp/*share* /tmp/atack* /tmp/debug*
}

# This method Gbox (That order)
start_cam ()
{
/var/bin/gbox &
}

# This method stops gbox and then calles the tmp cleanup method
stop_cam ()
{
touch /tmp/gbox.kill
/bin/prockill gbox
remove_tmp
}

case "$1" in
start)
echo "[SCRIPT] $1: $CAMNAME"
start_cam
;;
stop)
echo "[SCRIPT] $1: $CAMNAME"
stop_cam
;;
restart)
echo "Restaring $CAMNAME"
stop_cam
start_cam
;;
*)
"$0" stop
exit 1
;;
esac

exit 0


Rename this file.txt to: gbox_cam.sh

Ftp this file to: var/script

telnet:
cd var/script
chmod 755 gbox_cam.sh

now select gbox as emu



Now the sharing part. You know that over the net it’s not allowed so use for testing only : - )


DNS
U should make an account for your dns. This is a name like nekinaziv.dyndns.org or moj_dreambox.no-ip.info for example .
You can singe up for a name like this for free, this name is the connection to you’re ip.
When u share over the internet use a dns name. When u share only in house u can use you’re ip.

You can sign up you’re name on this site’s. :
Code:

http://www.dyndns.org

or
Code:

http://www.no-ip.info

* it can take a few minutes before it really works!! (5-10 min)

UDP
Now you have to adjust your router. You have to know what port you want to use. The information you receive on that port must be send to your dreambox.

In the example we use port 5566. I don’t know all the routers but on my router it looks like this.
go to: Advanced Setup =>NAT Settings => Virtual Server

Choose the ip (internal) from your dreambox and choose port 5566 UDP


cwshare.cfg
This is an example cwshare.cfg :

M: { box1.dyndns.org { 11111111 }}
#
D: { box2.dyndns.org { 5566 5580 { 22222222 { 5 5 }}}}
D: { box3.dyndns.org { 5566 5566 { 33333333 { 5 5 }}}}
#
D: { 192.168.1.102 { 5566 5590{ 44444444 { 5 5 }}}}



The line "M:" M: { you’re DNSNAME { your password }}

• The DNS name is the name that you did sign up for.
• The password contains 8 numbers/letters this is a combination you can make yourself (Letters A,B,C,D,E only) [Is NOT the password of no-ip.info or dyndns.org account !]

The line "D:" D :{ DNSNAME { PORT1 PORT2 { password { share level 2 x }}}}

• The DNSNAME is the name that the one you are going to share with is using.
• PORT1 this is the on you are using yourself on 5566.
That means the one you put it in your router.
• PORT2 this is the one that the person where you are going to share with is using. This port he had to put in his router to forward to his dreambox.
• The password here is the code the one you are going to share with has in his M: line.
• The share levels: here is how far you allow them to share. Normally this is A5 A5. The first A5 says how far your own card can be shared. The second A5 says how far the cards in your network can be shared. (if possible)



You should never use the same password for different boxes !!!!!!.

You can use for more shares the same port in your router like you can see in the example.

In the example the last D line is for sharing in house.

Sharing over the net.

With this the example share.cfg from the client would look like this:

M: { box2.dyndns.org { 22222222 }}
#
D: { box1.dyndns.org { 5580 5566 { 11111111 { 5 5 }}}}

Like you can see is the port this box is using the first one, 5580.
11111111 is the password box1 is using in his M line so it has to be in this D line.


Sharing in house:

With this the example cwshare.cfg from the client would look like this:

M: { 192.168.1.102 { 44444444 }}
#
D: { 192.168.1.101 { 5590 5566 { 11111111 { 5 5 }}}}

In this example the ip internal from box1 is 192.168.1.101, here i use the ip, because the information is not going over the net.



Well now everything should work......

Please mind. If you get a D line from a friend. Please do not show it to others !!.
If u post a backup img. Take away all the information that there is about you’re share’s.
People will just put those lines in there own files and that is giving problems!!!!

Dist and level….

To see this kind of information you can look in the .tmp file of your dreambox

Here you see a number of file’s in the file share.onl you can see who is online and who is not. The one’s with a 1 in front is online and the one’s with a 0 is not.

Share.info in this file you can see how many cards you receive for what provider. Also you can see witch card has witch level. A card with level 0 you cannot share to another. The distance this means how many boxes there are between the card and your box is.
Example dist 1 this means someone you are direct connected with has this card.

ignore.list

This file you should put in the Keys folder. This file is made to leave the unused providers out. This is important because you can’t have more than 1024 cards

I

When you reach the limit of 1024 cards gbox will set it self back to less cards. It does do that by
setting I back. Normally I is set to 5 , this means you can’t receive cards that are further than 5 dreamboxes away. You can adjust this yourself by setting this in you’re share.cfg:

I: { 3 }

This means you will not receive cards that are more than 3 boxes away.


X

With this one you can control how many cards you will receive for each provider. Normally it is 10, I think you should leave it this way.

X: { 10 }


Y

There is the possibility you can receive lots of cards that do not have the full packets. But if there are cards who do not have the full packets it is possible they block the way for the good cards.
Than you can put this cards in a line Y: to make room for the good cards.
If de box id is in a line like this gbox will not use this card.

Y: { 12 34 }

Now the cards from box 12 34 will not be used anymore. Be sure to put a space between the first two and the last two!!!!

[attachment=0:23w8nevk]satbannerbig2.gif[/attachment:23w8nevk]