Author Topic: How To Setup 2 Dreambox For Cardsharing In Lan Or Wan  (Read 1106 times)

0 Members and 1 Guest are viewing this topic.

Offline antox

  • Ferengi
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 16798
How To Setup 2 Dreambox For Cardsharing In Lan Or Wan
« on: January 28, 2010, 06:15:20 PM »
 How To Setup 2 Dreambox For Cardsharing In Lan Or Wan

  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
  and then 192.168.0.1
  Here you put your server box ip

  Then find 10000
  Here you put servers port

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

  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
ako je sve spremno za cs..ja sam to ovako učinija..stavija sam u dreambox koji je server F liniju koja glasi npr.F:brat1 brat2 1 0 0 { 0:0:2 }..a u drugi dreambox koji je klijent upisao sam IP od dreamboxa koji je server u C liniju znači ne DYNDNS nego IP....C:192.168.1.199 brat1 brat 2 ..