Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

setup Linux PC CCcam server with ClarkConnect

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cmn_sat
    Newbie
    • Mar 2010
    • 4

    setup Linux PC CCcam server with ClarkConnect

    How to setup Linux PC CCcam server with ClarkConnect


    This tutorial helps you to setup a Linux PC CCcam server under 1 hour, even for users with no Linux knowledge.

    We need some old working PC. Hardware: Pentium 3 or Amd 600Mhz and up , 256mb ram, from 5gb HDD and up, Networkcard, and a simple 1mb videocard.

    Intro:
    Out there are many Linux distro's. With most of them you can build a good share server, but we use today "ClarkConnect".

    What is ClarkConnect you ask!?, ClarkConnect is a powerful and affordable Internet server and gateway solution based on RedHat. ClarkConnect - Server and Gateway - Linux Small Business Server SBS

    Is it stable!? Yes it is very stable and works almost perfectly with CCcam.
    No Graphical User Interface (GUI) except the Dashboard over what you can monitor add new modules etc in your server easy and comfortable to use.

    OK lets start now.

    1: Download and burn it to a CD. Link for ClarkConnect iso: ftp://community-42:hiptop@ftp.clarkc...ty-4.2.SP1.iso
    If you do not know how do burn it to CD here is help for that too:
    ClarkConnect Flash Demo - Burning an Install CD

    2: In install mode please select language what you want to use. Then select install from "CDrom" then "standalone mode" and use manual IP table. From modules select only "FTP" other stuff from modules you do not need for share server! Select automatic partition.

    3: Now if ClarkConnect is installed and you used manual IP table then you can unplug monitor and keyboard from PC you do not need them anymore.
    If you used automatic DHCP then log to server from current monitor and keyboard to know what IP your server has.
    Use command: ifconfig
    Now you see your server IP, unplug monitor and keyboard from PC.

    4: Now open from your regular PC webbrowser and add such line:

    Of course you need put there your server IP! And you are on Dashboard.

    5: Open from dashboard "Account Manager" and "Users". Create new user lets say "blabla" there and put "***xx" password.

    6: Open from dashboard "Software" and "FTP" and set:
    Status - Running
    On boot - Automatic
    If that is done close the dashboard

    7: Download CCcam pack and totalcommander FTP client software.
    CCcam 2.0.8 and older versions - CardSharing Forum
    Total Commander - home
    Install to your regular PC totalcommander it is trial. And unpack CCcam and take out from there CCcam.x86 and CCcam.cfg.

    8: Open totalcommander, select FTP button and new connection and add there lines like so:
    Session: server
    Host named: 192.168.1.15
    User name: blabla that you have created under dashboard
    Password: ***xx
    Now OK and connect to server.

    8: Copy with totalcommander CCcam.x86 and CCcam.cfg to share server. If it is done close the FTP session.

    9: Now we need open Putty. If you do not have putty you can download it here: http://the.earth.li/~sgtatham/putty/.../x86/putty.exe for windows PC.
    Log with putty to server as root not as user blabla!
    Now we can put some commands to get CCcam to right place.

    10: Commands: (command "ls" is directory viewer) Please give commands exactly like i write here then it works 100%!!!

    cd /var
    ls

    mkdir /var/bin
    mkdir /var/etc
    ls

    Note: mkdir is command for create new directory. If you see now 2 new directory then that part is OK. Next commands are:

    cd /home/blabla
    ls

    Note: that blabla is user what you created under dashboard and you see there CCcam.x86 and CCcam.cfg.

    cp CCcam.x86 /var/bin
    cp CCcam.cfg /var/etc

    Note: cp is command for copy. Command rm is for delete.

    cd /var/bin
    ls
    chmod 755 CCcam.x86
    ls

    Note: Now you see that CCcam.x86 is green, before it wase withe.

    CCcam auto startup script:

    nano /etc/rc.d/rc.local

    Note: there you see line like that: "touch" and so one. under that line is lot empty space. Now please write next line exact under that "touch" line there so:

    /var/bin/CCcam.x86

    Note: / you can get there only with shift+7 and crtl+o is save file and crtl+x exit. Look out that you do not change there nothing else!

    cd /var/bin
    ls
    ./CCcam.x86

    Note: ./CCcam.x86 is command to start CCcam from command line and command: all CCcam.x86 stops it agan. For CCcam debuge mode use command: ./CCcam.x86 -d

    cd /var/etc
    ls
    nano CCcam.cfg

    Note: Change cfg file over putty.

    11: Done. CCcam server is up and running. With ClarkConnect working most external cardreaders serial and usb with no extra linux configuration.

    For serial reader in COM1 put into CCcam.cfg so:

    PHOENIX READER PATH : /dev/ttyS0

    If you have attached to COM2 then so:

    PHOENIX READER PATH : /dev/ttyS1

    COM3: ttyS2 and so one.

    For attached USB1 reader like Smargo Smartreader+ so:

    SERIAL READER : /dev/ttyUSB0 smartreader+

    Attached USB2:

    SERIAL READER : /dev/ttyUSB1 smartreader+

    For USB3: ttyUSB2 and so one.


    As lot asked how to install NewCs into Clarkconnect so here is tutorial how do too that.
    On Clarkconnetc we need to update first libcrypto.so.0.9.7a to a libcrypto.so.0.9.8 without latest libcrypto.so we canīt use over NewCs 1.30. Please follow exaclty my next instruction!
    Update the libcrypto.so.0.9.8 commands:

    apt-get update
    apt-get clean
    apt-get install cc-devel

    cd /usr/src
    wget http://www.openssl.org/source/openssl-0.9.8a.tar.gz
    tar xvzf openssl-0.9.8a.tar.gz
    cd openssl-0.9.8a/

    rm -rf /usr/lib/libssl.so.0
    rm -rf /usr/lib/libssl.so
    rm -rf /lib/libssl.so.2
    rm -rf /usr/lib/libcrypto.so.0

    ./config --prefix=/usr no-threads shared
    make
    make test
    make install
    echo "/usr/local/ssl/lib" >> /etc/ld.so.conf
    ldconfig -v

    rm -f /lib/libssl.so.4
    rm -f /usr/lib/libcrypto.so.0
    ln -s /usr/lib/libssl.so.0.9.8 /lib/libssl.so.4
    ln -s /usr/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.0

    If you have updated libcrypto.so.0.9.8 successfully then download NewCs pack and do so:
    Unpack Newcs pack and take out from there 2 files: newcs.i686 and
    newcs.xml.phoenix Next rename newcs.i686 to a newcs.x86 and newcs.xml.phoenix to a newcs.xml
    Copy newcs.x86 to /var/bin and set chmod 755
    Copy newcs.xml to /etc
    Next edit newcs.xml for you needs and start newcs.x86 same way as you started CCcam: /var/bin ./newcs.x86


    Here is tutorial how to install no-ip under linux:
    Want to learn how to configure your No-IP service? Have a question about the proper configuration? Check out our extensive Knowledgebase with answers to all the common questions our customers have.



    I hope this tutorial is helpful. I got this from another forum.
Working...