How to run newcs server on windows
This tutorial shows how to configure and run a cardsharing server using NewCS and Phoenix interface under Windows system.
Requirements:
1. Broadband internet connection
2. Static IP address (otherwise use a DDNS service e.g. no-ip.com)
3. Cardreader hardware (e.g. Phoenix)
4. An active serial port
5. Installation of NewCS
Step One
Download latest version of NewCS. Create a directory on the drive (e.g. "C:\NewCS") and copy newcs.exe, mingwm10.dll and pthreadGCE2.dl files to that directory.
Download NewCS.zip (latest version)
Step Two
In NewCS intallation archive there is \configs directory. Extract newcs.xml.windows file from that directory, rename it to newcs.xml and copy to C:\NewCS directory.
Step Three
Open newcs.xml in text editor. First, edit the <device> tag of the file:
<device>
<name>phoenix</name>
<type>Phoenix</type>
<node>COM1</node>
<mhz>357</mhz>
<parity>odd</parity>
<reset>normal</reset>
<export>yes</export>
<enabled>yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<!-- <boxkey>0000000000</boxkey> -->
<!-- <rsa>0000000000</rsa> -->
<PTShandshake>no</PTShandshake>
<crypto-special>no</crypto-special>
<carddetect>yes</carddetect>
<newcamd_port>10001</newcamd_port>
<autosid>Yes</autosid>
<Seca-PPV>no</Seca-PPV>
<priority>round</priority> <!-- hard is default -->
</device>
Obs : <node> and <newcamd_port> tags are of interest. In <node> tag specify the serial port (COMx) on which you have a cardreader hardware installed. Also, specify the debug port for the NewCS server in <newcamd_port> tag.
Edit <newcamdserver> tag:
<newcamdserver>
<enabled>yes</enabled>
<name>newcs</name>
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
<userfile>/tmp/users.txt</userfile>
<user>
<name>User1</name>
<password>Pass1</password>
<au>Off</au>
<sidoverride>on</sideoverride>
<spider>no</spider>
</user>
<!-- Remove if you dont use reverse login -->
<user>
<name>User2</name>
<password>Pass2</password>
<hostname>localhost</hostname>
<port>12345</port>
<spider>yes</spider>
</user>
</newcamdserver>
In <deskey> tag you set the DES key which you give to users, or leave it as default. Add some user in <user> tag.
Modify the <name> and <password> to fit your needs. You can have multiple <user> tags, of course.
When everything is done, save changes to newcs.xml file.
Step Four
Run command prompt (Start>Run>cmd) and start the newcs.exe (C:\NewCS>newcs.exe).
Now, you can test the server by connecting to it using NewCAMD, EvoCAMD, MGCAMD, WinCSC and other CAM emulators.
The data you give to the clients is following:
Host: [Your IP or DDNS address]
SKey: 0102030405060708091011121314
User: User1
Password: Pass1
Port: 10001
This tutorial shows how to configure and run a cardsharing server using NewCS and Phoenix interface under Windows system.
Requirements:
1. Broadband internet connection
2. Static IP address (otherwise use a DDNS service e.g. no-ip.com)
3. Cardreader hardware (e.g. Phoenix)
4. An active serial port
5. Installation of NewCS
Step One
Download latest version of NewCS. Create a directory on the drive (e.g. "C:\NewCS") and copy newcs.exe, mingwm10.dll and pthreadGCE2.dl files to that directory.
Download NewCS.zip (latest version)
Step Two
In NewCS intallation archive there is \configs directory. Extract newcs.xml.windows file from that directory, rename it to newcs.xml and copy to C:\NewCS directory.
Step Three
Open newcs.xml in text editor. First, edit the <device> tag of the file:
<device>
<name>phoenix</name>
<type>Phoenix</type>
<node>COM1</node>
<mhz>357</mhz>
<parity>odd</parity>
<reset>normal</reset>
<export>yes</export>
<enabled>yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<!-- <boxkey>0000000000</boxkey> -->
<!-- <rsa>0000000000</rsa> -->
<PTShandshake>no</PTShandshake>
<crypto-special>no</crypto-special>
<carddetect>yes</carddetect>
<newcamd_port>10001</newcamd_port>
<autosid>Yes</autosid>
<Seca-PPV>no</Seca-PPV>
<priority>round</priority> <!-- hard is default -->
</device>
Obs : <node> and <newcamd_port> tags are of interest. In <node> tag specify the serial port (COMx) on which you have a cardreader hardware installed. Also, specify the debug port for the NewCS server in <newcamd_port> tag.
Edit <newcamdserver> tag:
<newcamdserver>
<enabled>yes</enabled>
<name>newcs</name>
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
<userfile>/tmp/users.txt</userfile>
<user>
<name>User1</name>
<password>Pass1</password>
<au>Off</au>
<sidoverride>on</sideoverride>
<spider>no</spider>
</user>
<!-- Remove if you dont use reverse login -->
<user>
<name>User2</name>
<password>Pass2</password>
<hostname>localhost</hostname>
<port>12345</port>
<spider>yes</spider>
</user>
</newcamdserver>
In <deskey> tag you set the DES key which you give to users, or leave it as default. Add some user in <user> tag.
Modify the <name> and <password> to fit your needs. You can have multiple <user> tags, of course.
When everything is done, save changes to newcs.xml file.
Step Four
Run command prompt (Start>Run>cmd) and start the newcs.exe (C:\NewCS>newcs.exe).
Now, you can test the server by connecting to it using NewCAMD, EvoCAMD, MGCAMD, WinCSC and other CAM emulators.
The data you give to the clients is following:
Host: [Your IP or DDNS address]
SKey: 0102030405060708091011121314
User: User1
Password: Pass1
Port: 10001