PDA

View Full Version : How To Setup 2 Dreambox For Cardsharing In Lan Or Wan



mijami
13-03-2008, 20:28
This guide its to help newbies to setup 2 boxes for Card Sharing in
Lan or Wan.

You need :

2 dreamboxes ( of course)network conected
1 Network cable

a) If you connect the 2 boxes direct you need a cross network cable
if you connect the to boxes in a hub with other network devices then you need straigth network cable
(both of them easy to find in computer stores)
************************************************** ********
Network setup:
Go in dreambox setup-expert setup-network settings and put ip address (something like this)
dreambox1 : ip 192.168.0.1
subnet 255.255.255.0
gateway (ip address of the router)
DNS (ip address of the router)
If you dont have Internet connection leave Gateway and DNS blanc

dreambox2 : ip 192.168.0.2
subnet 255.255.255.0
gateway (ip address of the router)
DNS (ip address of the router)
If you dont have Internet connection leave Gateway and DNS blanc

Check the enable Networking chekbox

If you have a PC thats connect to internet (dialup or adsl) then you can put the pc's ip
as Gateway and DNS server in both boxes to give them internet access

IMPORTAND
If you have a router for the internet the ip of the 2 boxes MUST be in same
network as your router.
Examples:
If the router's Ip address is 10.0.0.1 then your boxes ips MUST be 10.0.0.2 and 10.0.0.3
If your router's IP address is 192.168.1.1 then your boxes MUST be 192.168.1.2 and 192.168.1.3

Now your boxes are connected... and with internet access (if its present)
************************************************** ********
EMU and CardSharing How to:

Install in your boxes one of new images.
I prefer PLi Diamod as gives you the choise to have separate server and client EMU.
In this example we will use as cardserver EMU the NewCS and as client EMU Newcamd
So download and install in the boxes the 2 EMUS (NewCS and Newcamd). If only 1 dreambox
it will act as a server then in the second one you dont need to install NewCS, only NEwcamd

Now we have to to configure the files for the sharing
************************************************** ********
Server configuration of the file Newcs.xml (/var/tuxbox/config)
(in the supplied zip there is a Newcs.xml file for this example)

Open the file with a plain text editor (i use UltraEdit)

Find the section <debug>
and then <udp_host>192.168.0.1</udp_host>
Here you put your server box ip

Then find <udp_port>10000</udp_port>
Here you put servers port

Find the section <newcamdserver>
and then the <name>testserver</name>
Here you put the name of your server (testserver)
Then find <deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
Here you put a login key for your users in this format
Then find
<user>
<name>username1</name>
<password>userpas1</password>
<au>on</au>
<spider>No</spider>
</user>
and put user name and password for your users
************************************************** ******************************

Server and client configuration of file Newcamd.conf (/var/tuxbox/config/newcamd)

(in the supplied zip there is a Newcamd.conf file for this example)
Open the file with a plain text editor

Find the line:

CWS = 192.168.0.1 10000 username1 userpas1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan testserver

Line parts in plain English
1)192.168.0.1 --- ip address of the server (dreambox acting as server)
(the same as the one defined on newcs.xlm)
2)10000 --- port of the server (the same as the one defined on newcs.xlm)
3)username1 userpas1 --- username and pass of the client (the same as the one defined on newcs.xlm)
4)01 02 03 04 05 06 07 08 09 10 11 12 13 14 --- access code (the same as the one defined on newcs.xlm)
5)lan -- leave this as lan
6)cardserv - name of the cardsharing server (the same as the one defined on newcs.xlm)
************************************************** ******************************

IMPORTAND!!!!!!!!!!!!!!!!!!!!!!!!
Entrys in newcs.xml must be the same in the newcamd.conf
(ip addresses-servername-username-password-deskey)
All this is case sensitive (username it is not the same with UserName)

After saving transer the 2 files in your Dreambox and restart your boxes...
In lan setups this is ready to work
In wan setups you need a router or a dreambox plugin with DynamicDNS capabilities

You are ready to CARDSHARE thanks allain

dimitris2003
23-09-2008, 12:48
i already use cccam 2.0.9. (dreambox 7020si, 2lnb astra+hotbird, pli jade).
Can i use also these instructions to connect my second dreambox (500s) with cccam 2.0.9?
Both dreamboxes will connect on a linksys router.
Thanks.

contreras
17-12-2008, 21:33
Itīs possible, to have a local card in two receivers, but only one card?
Thanks

samircz
19-12-2008, 17:24
this its work in local network only in home


put this in cccam.cfg on first box

F: DM500 pass 10
C: 10.0.0.222 12000 DM7020 pass


and put this in cccam.cfg on secund box

C: 10.0.0.111 12000 DM500 pass
F: DM7020 pass 10



how it work exaple **********************************



CCcam.cfg in var / etc


exaple 01

DM7020 ip: 10.0.0.20 (server)
DM500 ip: 10.0.0.30 (client)
=====


DM7020 config:

F: DM500 pass 10


DM500 config:

C: 10.0.0.20 12000 DM500 pass


*****************************************


exaple 02 2 way server and client


DM7020 ip: 10.0.0.20 (server)(client)
DM500 ip: 10.0.0.30 (client)(server)


DM500 config:

C: 10.0.0.20 12000 DM500 pass
F: DM7020 pass 10


DM7020 config:

F: DM500 pass 10
C: 10.0.0.30 12000 DM7020 pass




****************************************

exaple 03


DM500 ip: 10.9.0.13 (server)
DM7000 ip: 10.9.0.10 (client)
=====


DM500 config:
F: DM7000 pass 10


DM7000 config:
C: 10.9.0.13 12000 DM7000 pass

borussia
20-09-2010, 07:50
what is servers port?

javanese
25-12-2011, 21:04
thanks for the info,
seem very easy, i will have a go,
is this only valid for newC (as a server)and newcamd (as a client)
is it the same tut as CCcam? or slightly different?

cheers.