How To config and run Newcs-Cs2gbox-Gbox
I try to explain step by step what I have dome to run my Newcs-cs2gbox-gbox to read my local card and share it to gbox through Newcs , I have done this for a Windows PC server with a INFINITY USB UNLIMITED programmer as card reader :
You need to download the following packages :
newcs-1-20_RC13
cs2gbox_for_windows
newcamd_v6.10b
A-Configuring the NEWCS server:
1- copy newcs.exe, mingwm10.dll and pthreadGCE2.dl from the newcs-1-20_RC13 folder to your Gbox directory.
2- In newcs-1-20_RC13 folder,there is configs directory. Extract newcs.xml.windows file from that directory, rename it to newcs.xml and copy to your gbox directory.
3- Open newcs.xml in text editor. First, edit the <device> tag of the file:I put my config which works perfect :
<newCSconfig>
<readers name="Phoenix">
<device>
<name>Phoenix Interface</name>
<type>phoenix</type> # my reader is phoenix
<mhz>600</mhz> # My card is Irdeto2 and works fine in this frequecy
<node>com2</node> # I attached the reader to com2
<parity>even</parity> # let it be like this!
<reset>normal</reset> # let it be like this!
<export>Yes</export> # let it be like this!
<enabled>Yes</enabled> # let it be like this!
<blocksa>No</blocksa> # let it be like this!
<blockua>No</blockua> # let it be like this!
<blockga>yes</blockga> # let it be like this!
<PTShandshake>no</PTShandshake> # let it be like this!
<carddetect>yes</carddetect> # let it be like this!
<newcamd_port>10001</newcamd_port> # let it be like this!
<autosid>no</autosid> # I suggest to adjust this to "no" and enter all SIDs of your working channels on your card in the next lines that i will explain.
<Seca-PPV>no</Seca-PPV> # let it be like this!
<sid>
<allow>
# Here you enter all the SIDs that your card handles, it reduces the unwanted traffic on your card perfectly!these are examples of my SIDs,you have to enter yours....
<id>03EE</id>
<id>00CF</id>
<id>00D1</id>
<id>00D2</id>
<id>00D3</id>
</allow>
</sid>
<priority>round</priority> # let it be like this!
</device>
</readers>
<radegastserver>
<enabled>No</enabled> # let it be like this!
<port>16000</port> # let it be like this!
<allow>
<hostname>localhost</hostname> # let it be like this!
</allow>
</radegastserver># let it be like this!
<cache>
<emm>5</emm> # let it be like this!
<ecm>-1</ecm> # let it be like this!
</cache>
<debug>
<password>NewCSpwd</password> # let it be like this!.
<level>normal</level> # let it be like this!
<type>init</type> # let it be like this!
<output>console,tcp</output> # let it be like this!
<console_options>normal,init</console_options> # let it be like this!
<tcp_port>1001</tcp_port> # let it be like this!
<tcp_options>normal,init</tcp_options> # let it be like this!
</debug>
<newcamdserver>
<enabled>Yes</enabled> # let it be like this!
<name>cardserver</name> # enter here any name for your server name,but you have to use sam in C lines in cs2gbox,so remember this name!
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey> # let it be like this!
<user>
<name>user</name> # let it be like this!
<password>user</password> # let it be like this!
<au>on</au> # let it be like this!
<sidoverride>off</sidoverride> # let it be like this!
<spider>No</spider> # let it be like this!
<rate>2</rate> # let it be like this!
</user>
</newcamdserver>
</newCSconfig>
Thats it for newcs! you are done!
B. Configuring the newcamd_v6.10b :
1- go to newcamd folder in this package and copy these files to your gbox directory:newcamd.ppc , newcamd.i386 ,newcamd.conf
you just have to configure the newcamd.conf file like this :
open newcamd.conf with a text editor and configure like this ,just enter your dns or host in CWS lines for example like this: yourhost.dyndns.org
EMU = yes
PREFER_EMU = yes
AU = yes
OSD_TIMEOUT = 0
OSD_WEB_LOGIN = root:dreambox
SHOW_ALL_CA_SYSTEMS = no
DEBUG_ECM = yes
DEBUG_EMM = no
DEBUG_CWS = yes
DEBUG_CAM = yes
SHOW_PAT = no
SHOW_PMT = no
SHOW_ECM = no
SHOW_CAT = no
SHOW_EMM = no
SHOW_CWS_ECM = no
SHOW_CWS_EMM = no
EMM_REPORT_WRONG_SIG = no
DEFAULT_CW_DELAY = 0
RELOAD_CONFIG_ON_ZAP = yes
RELOAD_KEYLIST_ON_ZAP = no
CA_INFO_FILE = /tmp/cainfo.txt
CWS = yourdns 10001 user user 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan cardserver
CWS = yourdns 10002 user user 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan cardserver
CWS_CONNECT_TIMEOUT = 20
CWS_INCOMING_PORT = 12000
CWS_DEBUG_PORT = 12001
CWS_KEEPALIVE = yes
ADMIN_PASSWORD = test 00 00 00 00 00 00 00 00 00 00 00 00 00 00
You are done with configuring the newcamdserver now...
C. configuring your cs2gbox_for_windows package :
copy all files that are in this package to your gbox directory, you have to just config the cs2gbox.cfg file like this:
P: { 01 01 00 00 01 01 00 30 05 3600 05 360 360 1 }
M: { yourdns { pass1 }} # enter here your dns ,e.g. yourhost.dyndns.org and enter your password exactly with same rules as you obey foe M and D lines in cwshare, USE SAME DNS THAT YOU USE IN YOUR CWSHARE AND OTHER CONFIGS ABOVE
D: { yourdns { 7071 7072 { pass2 { 2 2 }}}} # this is an internal d line between your cs2gbox and your cwshare, enter same dns you entered in your M line here and your M line in cwshare file
# pass2 is the same as your password in M line in your cwshare.....
C: { cardserver yourdns 10001 user user 12000 01 02 03 04 05 06 07 08 09 10 11 12 13 14 } # just edit yourdns here and insert same dns you used in your M and D lines above , don't change anything else!
C: { cardserv cardshare-group.homelinux.net 10002 local local 12000 01 02 03 04 05 06 07 08 09 10 11 12 13 14 }# just edit yourdns here and insert same dns you used in your M and D lines above , don't change anything else!
D. configuring your cwshare :
you have already your M line and d lines in your cwshare, don't change them!...
just add this D line to your cwshare:
D: { yourdns { 7072 7071 { pass1 { 2 2 }}}}
# your dns is same as dns you entered in all configs above ..
# pass1: is same as password of your M line in cs2gbox.conf file.
Bingo!!!!
now run first newcs.exe then cs2gbox.exe and then gboxx86 and you will see your card readed in newcs and dist1 to you!
If you put the D lines of your Gbox peers in your cs2gbox (not in cwshare) ,they will see your card dist 1 , but will not receive your and otehr peers virtuals, and if you put them in your cwshare, they will see your card dist2...
I try to explain step by step what I have dome to run my Newcs-cs2gbox-gbox to read my local card and share it to gbox through Newcs , I have done this for a Windows PC server with a INFINITY USB UNLIMITED programmer as card reader :
You need to download the following packages :
newcs-1-20_RC13
cs2gbox_for_windows
newcamd_v6.10b
A-Configuring the NEWCS server:
1- copy newcs.exe, mingwm10.dll and pthreadGCE2.dl from the newcs-1-20_RC13 folder to your Gbox directory.
2- In newcs-1-20_RC13 folder,there is configs directory. Extract newcs.xml.windows file from that directory, rename it to newcs.xml and copy to your gbox directory.
3- Open newcs.xml in text editor. First, edit the <device> tag of the file:I put my config which works perfect :
<newCSconfig>
<readers name="Phoenix">
<device>
<name>Phoenix Interface</name>
<type>phoenix</type> # my reader is phoenix
<mhz>600</mhz> # My card is Irdeto2 and works fine in this frequecy
<node>com2</node> # I attached the reader to com2
<parity>even</parity> # let it be like this!
<reset>normal</reset> # let it be like this!
<export>Yes</export> # let it be like this!
<enabled>Yes</enabled> # let it be like this!
<blocksa>No</blocksa> # let it be like this!
<blockua>No</blockua> # let it be like this!
<blockga>yes</blockga> # let it be like this!
<PTShandshake>no</PTShandshake> # let it be like this!
<carddetect>yes</carddetect> # let it be like this!
<newcamd_port>10001</newcamd_port> # let it be like this!
<autosid>no</autosid> # I suggest to adjust this to "no" and enter all SIDs of your working channels on your card in the next lines that i will explain.
<Seca-PPV>no</Seca-PPV> # let it be like this!
<sid>
<allow>
# Here you enter all the SIDs that your card handles, it reduces the unwanted traffic on your card perfectly!these are examples of my SIDs,you have to enter yours....
<id>03EE</id>
<id>00CF</id>
<id>00D1</id>
<id>00D2</id>
<id>00D3</id>
</allow>
</sid>
<priority>round</priority> # let it be like this!
</device>
</readers>
<radegastserver>
<enabled>No</enabled> # let it be like this!
<port>16000</port> # let it be like this!
<allow>
<hostname>localhost</hostname> # let it be like this!
</allow>
</radegastserver># let it be like this!
<cache>
<emm>5</emm> # let it be like this!
<ecm>-1</ecm> # let it be like this!
</cache>
<debug>
<password>NewCSpwd</password> # let it be like this!.
<level>normal</level> # let it be like this!
<type>init</type> # let it be like this!
<output>console,tcp</output> # let it be like this!
<console_options>normal,init</console_options> # let it be like this!
<tcp_port>1001</tcp_port> # let it be like this!
<tcp_options>normal,init</tcp_options> # let it be like this!
</debug>
<newcamdserver>
<enabled>Yes</enabled> # let it be like this!
<name>cardserver</name> # enter here any name for your server name,but you have to use sam in C lines in cs2gbox,so remember this name!
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey> # let it be like this!
<user>
<name>user</name> # let it be like this!
<password>user</password> # let it be like this!
<au>on</au> # let it be like this!
<sidoverride>off</sidoverride> # let it be like this!
<spider>No</spider> # let it be like this!
<rate>2</rate> # let it be like this!
</user>
</newcamdserver>
</newCSconfig>
Thats it for newcs! you are done!
B. Configuring the newcamd_v6.10b :
1- go to newcamd folder in this package and copy these files to your gbox directory:newcamd.ppc , newcamd.i386 ,newcamd.conf
you just have to configure the newcamd.conf file like this :
open newcamd.conf with a text editor and configure like this ,just enter your dns or host in CWS lines for example like this: yourhost.dyndns.org
EMU = yes
PREFER_EMU = yes
AU = yes
OSD_TIMEOUT = 0
OSD_WEB_LOGIN = root:dreambox
SHOW_ALL_CA_SYSTEMS = no
DEBUG_ECM = yes
DEBUG_EMM = no
DEBUG_CWS = yes
DEBUG_CAM = yes
SHOW_PAT = no
SHOW_PMT = no
SHOW_ECM = no
SHOW_CAT = no
SHOW_EMM = no
SHOW_CWS_ECM = no
SHOW_CWS_EMM = no
EMM_REPORT_WRONG_SIG = no
DEFAULT_CW_DELAY = 0
RELOAD_CONFIG_ON_ZAP = yes
RELOAD_KEYLIST_ON_ZAP = no
CA_INFO_FILE = /tmp/cainfo.txt
CWS = yourdns 10001 user user 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan cardserver
CWS = yourdns 10002 user user 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan cardserver
CWS_CONNECT_TIMEOUT = 20
CWS_INCOMING_PORT = 12000
CWS_DEBUG_PORT = 12001
CWS_KEEPALIVE = yes
ADMIN_PASSWORD = test 00 00 00 00 00 00 00 00 00 00 00 00 00 00
You are done with configuring the newcamdserver now...
C. configuring your cs2gbox_for_windows package :
copy all files that are in this package to your gbox directory, you have to just config the cs2gbox.cfg file like this:
P: { 01 01 00 00 01 01 00 30 05 3600 05 360 360 1 }
M: { yourdns { pass1 }} # enter here your dns ,e.g. yourhost.dyndns.org and enter your password exactly with same rules as you obey foe M and D lines in cwshare, USE SAME DNS THAT YOU USE IN YOUR CWSHARE AND OTHER CONFIGS ABOVE
D: { yourdns { 7071 7072 { pass2 { 2 2 }}}} # this is an internal d line between your cs2gbox and your cwshare, enter same dns you entered in your M line here and your M line in cwshare file
# pass2 is the same as your password in M line in your cwshare.....
C: { cardserver yourdns 10001 user user 12000 01 02 03 04 05 06 07 08 09 10 11 12 13 14 } # just edit yourdns here and insert same dns you used in your M and D lines above , don't change anything else!
C: { cardserv cardshare-group.homelinux.net 10002 local local 12000 01 02 03 04 05 06 07 08 09 10 11 12 13 14 }# just edit yourdns here and insert same dns you used in your M and D lines above , don't change anything else!
D. configuring your cwshare :
you have already your M line and d lines in your cwshare, don't change them!...
just add this D line to your cwshare:
D: { yourdns { 7072 7071 { pass1 { 2 2 }}}}
# your dns is same as dns you entered in all configs above ..
# pass1: is same as password of your M line in cs2gbox.conf file.
Bingo!!!!
now run first newcs.exe then cs2gbox.exe and then gboxx86 and you will see your card readed in newcs and dist1 to you!
If you put the D lines of your Gbox peers in your cs2gbox (not in cwshare) ,they will see your card dist 1 , but will not receive your and otehr peers virtuals, and if you put them in your cwshare, they will see your card dist2...
Comment