ok
i am posting a heavy commended newcs.xlm file for help everyone with the setup issues.
As clients to newcs you can use Newcamd-Mgcamd-Cccamd. They work better with Newcs
Here is the file
**********************************************************************************************
[codebox]
<?xml version="1.0"?>
<!--
Colossus config file newcs.xml
Note: The configfile are NOT case-sensitive.
-->
<newCSconfig>
<readers name="Standard Phoenix on PC">
<device>
<!-- valid value for name are:
Any name of your choice, just to name the device for you to read. -->
<name>Phoenix on Com1</name>
<!-- valid value for type are:
phoenix, dbox, sci, dragon, sc8, mp35, pcsc (for own binary) or infinity(for own binary). -->
<type>phoenix</type>
<!-- valid value for mhz are:
358(3.58mhz), 450(4.5mhz), 536(5.36mhz), 600(6.00mhz), 800(8.00mhz, 1000(10.00 mhz), 1071(10.71mhz)
(not yet used on
DreamBox/dragon).
This setting is now IMPORTANT, normal phoenix usually have 3.57mhz, and can be overclocked
to 6mhz. For the others you probably need extra crystal (be careful). -->
<mhz>357</mhz>
<!-- valid value for node are full path to device, f.ex /dev/tts/0,
/dev/sciX (for
DreamBox), /dev/cardreaderX (for dragon),
/dev/tts/USBX (for a usb2serial device).
COMx on Win32, COM1, COM2 etc.
For PC/SC this is just 0, 1 ,2 and so on (reader number)
/dev/ttyUSB0 -->
<node>COM1</node>
<!-- valid value for parity are:
Odd, Even, None (ignored on sci and dragon).
This is only used on serial _BEFORE_ ATR is recieved. -->
<parity>none</parity>
<!-- valid value for reset are:
normal, inverse (ignored on sci and dragon).
normal is phoenix, inverse is smartmouse -->
<reset>normal</reset>
<!-- valid value for export are:
Yes,No - if not exported only localhost can connect. -->
<export>Yes</export>
<!-- valid value for enabled are:
Yes,No - if not enabled it cant be used. -->
<enabled>Yes</enabled>
<!-- valid value for blocksa are:
Yes, No - block shared address emm to card. -->
<blocksa>No</blocksa>
<!-- valid value for blockua are:
Yes, No - block unique address emm to card. -->
<blockua>No</blockua>
<!-- valid value for blockga are:
Yes, No - block group address emm to card. -->
<blockga>No</blockga>
<!-- valid value for boxkey are:
The boxkey of your nagra STB. -->
<!-- <boxkey>0000000000</boxkey> -->
<!-- valid value for nagra are:
The RSA key from your nagra STB. -->
<rsa>0000000000</rsa>
<!-- valid value for crypto-special are:
Yes, No - Used to enable/disable real-time mosc on Cryptoworks. -->
<crypto-special>Yes</crypto-special>
<!-- valid value for PTShanshake are:
Yes, No - Used to enable/disable real-time HighBaud on Cryptoworks and Viacess. -->
<PTShandshake>Yes</PTShandshake>
<!-- valid value for carddetect are:
Yes, No - Used to try to detect if card is present in you cardreader. -->
<carddetect>yes</carddetect>
<!-- valid value for newcamd_port are:
0,65535 - Which port newcamd server will listen for incomming connections. -->
<newcamd_port>10010</newcamd_port>
<!-- valid value for autosid are:
Yes, No - Let NewCS decide which sids should be allowed/denied based on card answers. -->
<autosid>No</autosid>
<!-- valid value for Seca-PPV are:
Yes, No - Let NewCS decide which sids should be allowed/denied based on card answers. -->
<Seca-PPV>no</Seca-PPV>
<!-- Notes about Service ID's:
There are some points worth mentioning:
1. If you allow a sid, all others will be rejected for that caid.
2. When you deny a sid, all others then the denied will be let through to that caid.
3. If you dont specify a reader, all sid's will get let through.
4. Put as many provider-sections in sid as you'd like, and as many id-sections under allow/deny as you want.
5. Deny is the stronger one, will always override allow.
6. If you want to add several sid's at once, do <id>0000:0010</id>, this will add all ten to list. -->
<sid>
<allow>
<!-- valid value for id are:
4 numbers, if the service id is 3 numbers, add a 0 infront of it.
<id>0000</id><id>0001</id><id>0002</id>
-->
</allow>
<deny>
<!-- valid value for id are:
4 numbers, if the service id is 3 numbers, add a 0 infront of it.
<id>0000</id><id>0001</id><id>0002</id>
-->
</deny>
</sid>
<!-- valid value for priority are:
hard, round, fifo - hard is lower userid, higher priority(gets ECM through before user with higher id),
round, there is an equal chance for all users to get ECM through, fifo, first sendt ECM gets through. -->
<priority>hard</priority>
</device>
</readers>
<radegastserver>
<!-- valid value for enable are:
Yes, No - Enable or Disable radegast server. -->
<enabled>No</enabled>
<!-- valid value for port are:
0,65535 - Which port to listen for incomming connections. -->
<port>10001</port>
<allow>
<!-- valid value for hostname are:
all, IP-address or DNS-name. -->
<hostname>localhost</hostname>
</allow>
</radegastserver>
<cache>
<!-- valid value for emm are:
0-255 - Number of EMM's to cache. -->
<emm>100</emm>
<!-- valid value for ecm are:
0-255 - Number of ECM's to cache.
-1 - Dynamic ECM Cache. -->
<ecm>-1</ecm>
</cache>
<debug>
<!-- valid value for password:
Max 25 characters and minimum 8, this is case-sensitive. -->
<password>Yourserverpass</password>
<!-- valid value for level are:
normal, verbose, spam - How extensive debug should be. -->
<level>normal</level>
<!-- valid value for type are:
Init, general, ecm, emm, net, all - Section of debug that should be displayed. -->
<type>init</type>
<!-- valid value for output are:
Console, udp, tcp, file, all - Where to show debug.
<output>console,tcp</output> -->
<output>all</output>
<!-- console_options are so you can set own loglevel/type for console-logger:
Should hold level and type-tags like above. -->
<console_options>normal,init</console_options>
<!-- valid value for logfile are:
Path and filename - Where to write debug logs if file or all is chosed in output. -->
<logfile>logs/logfile.txt</logfile>
<!-- file_options are so you can set own loglevel/type for file-logger:
Should hold level and type-tags like above. -->
<file_options>spam,all</file_options>
<!-- valid value for udp_host are:
IP-address or DNS-name - Where to send debug if udp or all is chosed in output. -->
<udp_host>192.168.0.101</udp_host>
<!-- valid value for udp_port are:
0,65535 - Which port to send the udp packets. -->
<udp_port>1000</udp_port>
<!-- udp_options are so you can set own loglevel/type for udp-logger:
Should hold level and type-tags like above. -->
<udp_options>normal,init</udp_options>
<!-- valid value for tcp_port are:
0,65535 - Which port to listen for incomming tcp connections. -->
<tcp_port>3001</tcp_port>
<!-- tcp_options are so you can set own loglevel/type for tcp-logger:
Should hold level and type-tags like above. -->
<tcp_options>normal,init</tcp_options>
</debug>
<newcamdserver>
<!-- valid value for enabled are:
Yes, No - Enable or Disable newcamd server. -->
<enabled>Yes</enabled>
<!-- valid value for name are:
Any name - Used to identify server to remote clients,
if the remote client isnt newcamd, this field have no purpouse. -->
<name>Yourservername</name>
<!-- valid value for deskey are:
any 14x2 numbers - Used to encrypt the communication between
the client and the server. -->
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
<!-- Notes about users:
The first user doesnt have au without beeing it set to on (unlike newcamd cardserver).
You can add as many user-sections as you want, just put them under eachother. -->
<user>
<name>username1</name>
<password>pass1</password>
<au>on</au>
<spider>no</spider>
</user>
<user>
<name>username2</name>
<password>pass2</password>
<spider>no</spider>
<sidoverride>off</sidoverride>
<au>on</au>
</user>
</newcamdserver>
</newCSconfig>
[/codebox]
**********************************************************************
I post it also in a txt file
This file will work in most cases.
As it is works with Phoenix card reader but its easy to change to work in db or linux
And after just put in your data:
Servername -
ip -
usersname and pass
Try to avoid the allow-deny settings unless its vital for your server
AND FINALLY...!!!! DO NOT EDIT YOUR CONFIGURATION FILES WITH NOTEPAD.
USE A UNIX EDITOR OR ULTRAEDIT
colossus