Hello Guest, if you reading this it means you have not yet registered. Please take a second to Click here to register and in a few simple steps, you will be able to enjoy all the many features of our fine community. Please introduce yourself in the section for you to meet our community.
How To: Set up a NewCS cardserver

Welcome to the Satellite & IPTV Forum - Cam-Sats.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Results 1 to 2 of 2
  1. #1
    BotMan
    BotMan's Avatar

    How To: Set up a NewCS cardserver

    Setting up a NewCS cardserver



    In this document we describe the installation and configuration steps for a NewCS cardserver system. You will need the following software / hardware components for a successful installation:
    Linux or Windows XP host (preferred a newer RedHat or any new system) Cardreader hardwareAn active serial portNewCS archive;
    When everything is ready, follow this step-by-step setup procedure:

    Installing the server on a Linux system
    Decompress the NewCS archive; You will find various executables in bin directory. We will need only one file for our Intel-based system. It is a newcs.x86. So copy it to your Linux host using FTP. The preferred location varies from system to system. It is usually
    /usr/local/bin
    Copy the configuration (newcs.xml.phoenix) file into:
    /var/tuxbox/config
    Rename this file to
    newcs.xml
    Now, we can start the NewCS server! But wait a moment! It need libcrypto.so.0.9.7! On some systems it is not available in this naming, but check the /lib directory on your system. If you can find a libcrypto.so.0.9.7a or libcrypto.so.0.9.7b or similar file, soft-link to the name we require:
    ln /lib/libcrypto.so.0.9.7a /lib/libcrypto.so.0.9.7
    Now, will have a required library name in /libs directory. We can start the NewCS server.
    Type its name and press enter:
    newcs
    If You are in currently in a directory where NewCS is installed, type this:
    ./newcs
    If it is running, it will write informations to the screen like this:
    [root@celeron root]# newcs
    Reading Config file /var/tuxbox/config/newcs.xml
    level: normal
    type: init
    output: all
    logger config: level 1 type 3 output 255
    log file:
    logger: cant open file , file log disabled
    udp log: host 192.168.1.10 port 1000
    tcp port: 3001
    [ 20:14:47 ] [ Box detect ] Box type 1
    [ 20:14:47 ] [ Config ] Option <PPV> for device phoenix not present
    [ 20:14:47 ] [ Config ] /dev/ttyS0 ECM priority: round
    [ 20:14:47 ] [ EMM Cache ] Initialising Cache with 10 entries
    [ 20:14:47 ] [ ECM Cache ] Initialising Cache with 10 entries
    [ NewCS ] Process id 1871
    [ 20:14:47 ] [ Loader ] Reader type 2 on node /dev/ttyS0
    [ 20:14:47 ] [ Phoenix ] Opening device /dev/ttyS0
    [ 20:14:47 ] [ Phoenix ] Setting Parity to: EVEN
    [ 20:14:47 ] [ Phoenix ] Setting Baud to custom 16129
    [ 20:14:47 ] [ Phoenix ] Normal RESET on node /dev/ttyS0
    [ 20:14:48 ] [ Loader ] Unknown card
    [ 20:14:48 ] [ Loader ] Trying Irdeto (T=14)
    [ 20:14:48 ] [ Loader ] Reader type 2 on node /dev/ttyS0
    [ 20:14:48 ] [ Phoenix ] Opening device /dev/ttyS0
    [ 20:14:48 ] [ Phoenix ] Setting Parity to: EVEN
    [ 20:14:48 ] [ Phoenix ] Setting Baud to standard 9600
    [ 20:14:48 ] [ Phoenix ] Normal RESET on node /dev/ttyS0
    [ 20:14:50 ] [ Loader ] Unknown card
    [ 20:14:50 ] [ NewCS ] Ready to GO!

    Ok! Now, find the NewCS process and kill it:
    [root@celeron root]# ps ax|grep newcs
    1871 pts/2 S 0:00 newcs
    1875 pts/2 S 0:00 grep newcs
    The process id is 1871, so use the kill comand with this number as its parameter:
    [root@celeron root]# kill 1871
    Always be sure you are running only a ONE INSTANCE from a NewCS server! Use ps ax | grep newcs command to do this. If You need multiple instances, create configuration files for every instance, and start NewCS with it as a parameter:
    [root@celeron root]# newcs /var/tuxbox/config/newcs2.xml
    In the previous example You have specified the configuration file You want to use.
    With your favorite text editor edit the configuration file to suit your needs. The serial ports on Linux are:
    /dev/ttyS0 = COM1
    /dev/ttyS1 = COM2
    etc.
    Find the first <device> tag:

    <device>
    <name>phoenix</name>
    <type>Phoenix</type>
    <node>/dev/ttyS0</node>
    <mhz>357</mhz> <!-- or 357 -->
    <parity>none</parity>
    <export>yes</export>
    <enabled>yes</enabled>
    <blocksa>yes</blocksa>
    <blockua>yes</blockua>
    <blockga>yes</blockga>
    <boxid>0000000000</boxid>
    <PTShandshake>Yes</PTShandshake> <!-- Set to yes(if wanted) for cryptoworks, Viacess and c
    <crypto-special>Yes</crypto-special>
    <carddetect>no</carddetect>
    <newcamd_port>10001</newcamd_port>
    <priority>round</priority> <!-- hard is default -->
    <sid>
    <allow>
    <!-- valid value for id are:
    4 numbers, if the service id is 3 numbers, add a 0 infront of it. -->
    <id></id>
    </allow>
    <deny>
    <!-- valid value for id are:
    4 numbers, if the service id is 3 numbers, add a 0 infront of it.
    <id></id>
    </deny>
    </sid>
    </device>


    <node> and <newcamd_port> is interesting for us. Specify the serial port (ttySx) on which You have an active cardreader hardware. Also, specify the debug port for the NewCS (starts its numbering from 10001).
    Add some users. Find a user tag:
    <user>
    <name>username1</name>
    <password>password1</password>
    <au>on</au>
    </user>
    Modify the <name> and <password> to fit your needs. You can have multiple <user> tags, of course.
    <user>
    <name>username2</name>
    <password>password2</password>
    <au>on</au>
    </user>
    <user>
    <name>username3</name>
    <password>password3</password>
    <au>on</au>
    </user>
    Kill the runninf NewCS process, and restart it using this newly created configuration file with its parameter:
    [root@celeron root]# newcs /var/tuxbox/config/newcs.xml
    It will write out the card paramters and other infos. Now, You can connect to this server using NewCAMD, EvoCAMD, MGCAMD, WinCSC and other CAM emulators. Enjoy!

    Installing the server on a Windows system
    The Windows installation is similar to the unix version. Decompress the following files from the NewCS archive to some directory:
    newcs.exe
    mingwm10.dll
    pthreadGCE2.dll
    newcs.xml.dragon
    Rename the file
    newcs.xml.dragon to newcs.xml
    Edit the newcs.xml file. Edit <device> and <user> tags. Now, use COM1 and COM2 etc. instead of ttySx device names for serial ports.
    <device>
    <name>phoenix</name>
    <type>Phoenix</type>
    <node>COM1</node>
    <mhz>357</mhz> <!-- or 357 -->
    <parity>none</parity>
    <export>yes</export>
    <enabled>yes</enabled>
    <blocksa>yes</blocksa>
    <blockua>yes</blockua>
    <blockga>yes</blockga>
    <boxid>0000000000</boxid>
    <PTShandshake>Yes</PTShandshake> <!-- Set to yes(if wanted) for cryptoworks, Viacess and c
    <crypto-special>Yes</crypto-special>
    <carddetect>no</carddetect>
    <newcamd_port>10001</newcamd_port>
    <priority>round</priority> <!-- hard is default -->
    <sid>
    <allow>
    <!-- valid value for id are:
    4 numbers, if the service id is 3 numbers, add a 0 infront of it. -->
    <id></id>
    </allow>
    <deny>
    <!-- valid value for id are:
    4 numbers, if the service id is 3 numbers, add a 0 infront of it.
    <id></id>
    </deny>
    </sid>
    </device>


    <node> and <newcamd_port> is interesting for us. Specify the serial port (COMx) on which You have a cardreader hardware installed. Also, specify the debug port for the NewCS server (starts its numbering from 10001).
    Add some users. Find a user tag:
    <user>
    <name>username1</name>
    <password>password1</password>
    <au>on</au>
    </user>
    Modify the <name> and <password> to fit your needs. You can have multiple <user> tags, of course.
    <user>
    <name>username2</name>
    <password>password2</password>
    <au>on</au>
    </user>
    <user>
    <name>username3</name>
    <password>password3</password>
    <au>on</au>
    </user>
    Start the newcs.exe from the command prompt.
    C:\>newcs
    You can test the server connecting to it using NewCAMD, EvoCAMD, MGCAMD, WinCSC and other CAM emulators.

    Thanks to afc007

  2. #2
    Status
    Offline
    cuca's Avatar
    CS Registered User Country: Switzerland
    Join Date
    Mar 2016
    Receiver
    DM800
    Image
    Enigma
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello there Guest,
    To view this post you must either Register or Log in. Thank you!

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Visitors found this page by searching for:

newcs 1.7

openpli newcs

newcs 1.70 x86

NewCS windows

newcs 1.70 confignewcs.xml canal digitaalopenpli newcs confignewcs canaldigitaalopenpli newcs.xmlnewcs.xml usbnewcs.xml for infinity usb smartopen pli newcs newcs editornewcs canal digitaalopenbox newcsnewcs 1.70 windowsnewcs port usb linux Phoenix Infinitynewcs open-aafcanaldigitaal newcs xmlHow to set Dreambox as a cardservernewcs 1.70 x86 downloadnewcs 1.70 settingnewcs.xml usb windowsNewCSLaunch.exeaaf newcs.xml location
SEO Blog

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to Top