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
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