Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Welsh Yiddish



Go Back   CardSharing Card Sharing Forum Servers CCcam Newcamd GBox Dreambox > CardSharing > Tutorials > Card Sharing Tutorials
Register Downloads Mark Forums Read EnglishTranslations

HomePage Forums Upgrade Your Membership to Support this Community & Bypass Busy Server, Enable PM, Access VIP & More

How to setup CCcam/Newcs cardsharing server with ClarkConnect 5.0 Linux

Card Sharing Tutorials Thread, How to setup CCcam/Newcs cardsharing server with ClarkConnect 5.0 Linux in Tutorials; This tutorial helps you to setup a Linux PC CCcam server under 1 hour, even for users with no Linux ...

Reply
 
LinkBack Thread Tools Display Modes
Old 11th November 2009, 05:18 AM   #1 (permalink)
Moderator
 
emmanneil's Avatar
 
Join Date: Oct 2009
Location: europe
Posts: 366
Downloads: 24
Uploads: 132
Rep Power: 1 emmanneil is on a distinguished road
Post How to setup CCcam/Newcs cardsharing server with ClarkConnect 5.0 Linux

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 (512mb optimal) ram, from 5gb HDD and up, Networkcard, and a simple 1mb, 4mb, 8mb... or onboard videocard (no need a fancy 128mb AGP/PCI-E 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://ftp.clarkconnect.com/5.0/iso/community-5.0.iso

and burn the ISO to a CD/DVD

2: Installation steps:
1) Choose a Language: Installation language
2) Keyboard Type: Your keyboard language
3) Installation Method: Local CDrom
4) Install Type: Install
5) To Proceed with the installation type "ClarkConnect"
6) System Mode: Standalone Mode
7) Specify Lan IP Address: Manual Configuration (Set dynamic ip configuration if your router support MAC based static lease)
8) Nameserver IP: your router gateway IP (example 192.168.1.254 or what u have there)
9) Set The System Root Password
10) Partitioing: Use default
11) Select Software Modules: Please take "FTP server" for sure and other modules u select if u think u need them. (Example is "Intrusion Detection And Prevention" pretty cool thing against the hackers and prevents smaller DDOS attacks)


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: System setup.
1) Write to your webbrowser next https://192.168.1.142:81 of cource your server lan IP.
2) Next u get warning message like so "This Connection is Untrusted"
Hit the tab "I Understand the Risks" then the tab "Add Exception" and at least "Confirm Security Exception"
3) Login
Username: root
Password: What u entered during the clark installation
4) Language: default is English
5) Network: Please set mode to "Standalone Mode No Firewall" later if everything is working u can enable Firewall if u want it.
6) Register: you do not need register your system if u don´t want
7) Time Zone: set your country
8) Domain: you can leave it to default "clarkconnect.lan" or change. It is up to you.
9) Organization: fill the forms like u want and not needed to use your real data. You can use fake data too there.
10) Finish: and again u need make that step "This Connection is Untrusted" Hit the tab "I Understand the Risks" then the tab "Add Exception" then "Confirm Security Exception" and at last "Resend"


5: Set up the Dashboard.
1) Open tab "Account Manager" and "Users"
2) Click on the button to add more users +Add (Hit the tab +Add)
3)
Username: blabla
First Name: fafa
Last Name: gaga
Password: xxxxx (your FTP access password)
Verify: xxxxx
4) Hit the tab "+Add"
5) Open tab "Software" and "FTP"
6) FTP Configuration set "1" not to "30" and hit to "Update" tab
7)Set both thise to:
Status - Running
On boot - Automatic


6: Download CCcam pack and FTP client software. Unpack CCcam pack and take out from there CCcam.x86 and CCcam.cfg.

CCcam 2.1.1 http://rs602.rapidshare.com/files/22...Ccam-2.1.1.zip
CCcam 2.1.2 http://rapidshare.com/files/292760869/CCcam-2.1.2.zip
CCcam 4shared - free file sharing and storage - share folder - CCcams
DCC 4shared - free file sharing and storage - share folder - Tools


7: Open FTP client app add there lines like so:
Session: server
Host named: 192.168.1.15
User name: blabla that you have created under dashboard
Password: xxxxx
Now OK and connect to server.


8: Copy with FTP client 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: 4shared - free file sharing and storage - share folder - Tools 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
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 ctrl+o is save file and ctrl+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 manually from command line and command: killall CCcam.x86 stops it agan. For CCcam debuge mode use command: ./CCcam.x86 -d

cd /var/etc
ls
nano CCcam.cfg

Note: with that command you have access to cfg file to edit it or you can use tutorial 15: to set to whole server FTP access . I prefer to change cfg file over putty.


12: How to get CCcam 2.1.x working with Clarkconnect 5.0.
1) Please download libstdc++.so.6.0.9 from here http://dc166.4shared.com/download/14...bstdcso609.rar

2) Unpack libstdc.so.6.0.9.rar
3) Copy over FTP to server libstdc++.so.6.0.9
4) Open putty log as root in and give next commands:

cd /home/blabla
ls
cp libstdc++.so.6.0.9 /usr/lib
cd /usr/lib
chmod 755 libstdc++.so.6.0.9
unlink libstdc++.so.6
ln -s libstdc++.so.6.0.9 libstdc++.so.6
/sbin/ldconfig


13: 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.



cd /lib
ln -sf libcrypto.so.0.9.8e libcrypto.so.0.9.8

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
And for last we put newcs.x86 to server auto startup script.
If use newcs and CCcam together then palce so that newcs.x86 script is next over CCcam.x86 startup script then boots newcs.x86 first up and then CCcam.x86 like it should.
newcs 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/newcs.x86


16: Here is tutorial how to install No-Ip under ClarkConnect:
You need first install cc-devel developers package to be abel to execute no-ip install commands:

yum groupinstall "Development Tools"
cd /home/blabla Note: that blabla is user what you created under dashboard!
mkdir no-ip
cd no-ip
wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
tar zvxf noip-duc-linux.tar.gz
cd noip-2.1.9-1
make
make install

Put your no-ip account login/email string

Put password to that login/email

Enter update interval: [30] write to there 30 Then no-ip makes updates to your IP every 30 minute

Do you wish to run something at successful update? [N] (y/n) hit n

cd .. and agan cd ..
rm -rf no-ip and hit enter
tipe command exit to leave.
Done. You have successfuly installed no-ip under linux.
Here u can look same commands too: The Newbie's Guide to the No-IP™ Linux Client


18: Totorial how to set FTP access under Clarkconnect to by root and not only as user.
To enable the user that you have created to to have ftp access to the hole server you must do this steps:

1) edit file proftpd.conf: nano /etc/proftpd.conf
2) comment this line #DefaultRoot ~
you should have something like this:

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
# DefaultRoot ~



19: If you have CCcam stabilty problem with your PC server and you have tryed everything, then here comes a help for that issue. Change from your CCcam.cfg next line:

#DVB API: -1
to a
DVB API: -1

Note: You need restart the CCcam after change. It works only with linux PC based CCcam servers. Dreambox or other reciver users do not try that!



20: Tutorial how to create CCcam running check script and if CCcam stops then that script runs CCcam self up again.

1) Log over putty to server as root and give next commands to create the script:

cd /etc
touch CCcamcheck.sh
chmod 777 CCcamcheck.sh
nano CCcamcheck.sh

Next copy all that inside the CCcamcheck.sh:

Code:
#!/bin/bash
if ! ps -C CCcam.x86 > /dev/null
then
/var/bin/CCcam.x86
fi

Next hit from your keyboard ctrl+o to save and ctrl+x to exit.

2) Now we need make a cron job what executes the script every 5, or from you set minutes. Please give next commands to make a cron job:

cd /etc
vi crontab
to save press ESC then :wq
this will save the document


There add new line to the job list so:

Code:
*/5 * * * * /etc/CCcamcheck.sh


Hit ctrl+o to save and ctrl+x to exit and test the script out if it is working. Kill CCcam from /var/bin and wait 5 minutes and CCcam should go self up agan.
Note: If you feel that 5 minutes is too long, then u can lower it.

3 minute cron:

Code:
*/3 * * * * /etc/CCcamcheck.sh
1 minute cron:

Code:
*/1 * * * * /etc/CCcamcheck.sh
I know that "CCcam running check script" is not the best one, but it works well and it is easy to use. If u want use more complicate script then feel free to make one and post your results on here for others to use,

so your crontab should look something like this:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
*/5 * * * * /etc/CCcamcheck.sh

to check this is working type in

ps -def

the kill the process ( look for /var/bin/CCcam.x86 and the number next to it)

IE: kill 2628

then wait 5 mins to see if this works, it should appear in the ps -def again within the 5 mins time slot, I know that this is not the best one, but it works well and it is easy to use. If u want use more complicate script then feel free to make one and post your results on here for others to use,


TO MAKE YOUR SERVER REBOOT EVERYDAY AT 4AM


cd /etc
vi crontab
to save press ESC then :wq
this will save the document

Then add the following at the bottom of the crontab

00 4 * * * root /sbin/shutdown -r now

hope this helps

Note: Viewing Pay TV without a valid subscription is illegal!
All the files available here are kept for experimental and educational purpose only

Last edited by emmanneil; 11th January 2010 at 12:42 PM.

Hardware: DM500S, DM7020S, Eurovox Max V2008,DBox2, 1.8M linear actuator, invacom quad LNB
Sat positions: 7°w,7°E,13.0°,16.0°,19.2°,26°,28.2° E
Software: Pli Jade 2 , Enigma,
CAM: Cccam 2.1.2 with NewCS

IF YOU LIKE WHAT I DO THEN PLEASE DONATE ON THE LINK BELOW FOR ME TO TEST THINGS FUTHER
THANKS IN ADVANCE

https://www.paypal.com/cgi-bin/websc...ton_id=8821215

emmanneil is offline   Reply With Quote

Old 22nd November 2009, 01:00 PM   #2 (permalink)
VIP Member
 
tnacguy's Avatar
 
Join Date: Oct 2009
Location: The Great State of Tennnessee
Posts: 7
Downloads: 5
Uploads: 0
Rep Power: 0 tnacguy is on a distinguished road
Default

I would like to THANK YOU for your help. I read 35 pages of posts last night and never found anything. I knew it was there and I guess within the next year if I kept reading I would have found it. LOL . It is mods like you that keep this site going in the right direction. Between you and superman I think I have found a home.
AGAIN THANK YOU VERY MUCH
tnacguy is offline   Reply With Quote
Old 24th November 2009, 04:20 PM   #3 (permalink)
Moderator
 
emmanneil's Avatar
 
Join Date: Oct 2009
Location: europe
Posts: 366
Downloads: 24
Uploads: 132
Rep Power: 1 emmanneil is on a distinguished road
Default

no problem this is what this site as all about, if you like this post then please click on the scales below my name/post.

Thanks

Hardware: DM500S, DM7020S, Eurovox Max V2008,DBox2, 1.8M linear actuator, invacom quad LNB
Sat positions: 7°w,7°E,13.0°,16.0°,19.2°,26°,28.2° E
Software: Pli Jade 2 , Enigma,
CAM: Cccam 2.1.2 with NewCS

IF YOU LIKE WHAT I DO THEN PLEASE DONATE ON THE LINK BELOW FOR ME TO TEST THINGS FUTHER
THANKS IN ADVANCE

https://www.paypal.com/cgi-bin/websc...ton_id=8821215

emmanneil is offline   Reply With Quote
Old 30th November 2009, 09:08 PM   #4 (permalink)
Junior Member
 
Join Date: Jan 2008
Posts: 1
Downloads: 0
Uploads: 0
Rep Power: 0 satkingno is on a distinguished road
Default

Hi!

Will CCcam 2.1.3 work if I do step 12? All I get now is "/lib/libc.so.6: version `GLIBC_2.7' not found (required by /var/bin/CCcam)" upon starting cccam.

Best Regards

satkingno
satkingno is offline   Reply With Quote
Old 30th November 2009, 09:13 PM   #5 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 1
Downloads: 0
Uploads: 0
Rep Power: 0 lone is on a distinguished road
Default Re: libc.so.6: version `GLIBC_2.7'

[php]
Quote:
12: How to get CCcam 2.1.x working with Clarkconnect 5.0.
1) Please download libstdc++.so.6.0.9 from here http://dc166.4shared.com/download/14...bstdcso609.rar

2) Unpack libstdc.so.6.0.9.rar
3) Copy over FTP to server libstdc++.so.6.0.9
4) Open putty log as root in and give next commands:

cd /home/blabla
ls
cp libstdc++.so.6.0.9 /usr/lib
cd /usr/lib
chmod 755 libstdc++.so.6.0.9
unlink libstdc++.so.6
ln -s libstdc++.so.6.0.9 libstdc++.so.6
/sbin/ldconfig
I Got two errors One is fixed with this help THANKS. other one not fix yet. can some one pls help me for fixing this error. error is....
Code:
./CCcam3.x86: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./CCcam3.x86)
lone is offline   Reply With Quote
Old 5th December 2009, 09:55 PM   #6 (permalink)
Moderator
 
emmanneil's Avatar
 
Join Date: Oct 2009
Location: europe
Posts: 366
Downloads: 24
Uploads: 132
Rep Power: 1 emmanneil is on a distinguished road
Default

Up to version 2.1.2 it was simple, you could just copy the file libstdc++.so.6.0.9 to /usr/lib and then type these commands

cd /usr/lib
chmod 755 libstdc++.so.6.0.9
unlink libstdc++.so.6
ln -s libstdc++.so.6.0.9 libstdc++.so.6
/sbin/ldconfig

but using CCcam 2.1.3 GLIBC_2.7 is used, glibc Version 2.5 - your new software was compiled using a later version ie 2.7. That is a massive change compared to the very minor requirement in the previous libstdc++ version.

my thoughts are to use 2.1.2 for now, i will post an update when i find out any more info

Hardware: DM500S, DM7020S, Eurovox Max V2008,DBox2, 1.8M linear actuator, invacom quad LNB
Sat positions: 7°w,7°E,13.0°,16.0°,19.2°,26°,28.2° E
Software: Pli Jade 2 , Enigma,
CAM: Cccam 2.1.2 with NewCS

IF YOU LIKE WHAT I DO THEN PLEASE DONATE ON THE LINK BELOW FOR ME TO TEST THINGS FUTHER
THANKS IN ADVANCE

https://www.paypal.com/cgi-bin/websc...ton_id=8821215

emmanneil is offline   Reply With Quote
Old 17th December 2009, 07:37 PM   #7 (permalink)
Junior Member
 
Join Date: Dec 2009
Posts: 1
Downloads: 0
Uploads: 0
Rep Power: 0 hellx is on a distinguished road
Default

Hi. Thanks for a great guide. I tried to follow your guide and it works great exept one thing. I try to log on to the newcs server with CCcam as a client on my dreambox But i only get: Connection from xxx to not-ready server!

When i use mgcamd on my dreambox it works normal.
I also tried different configfiles but I`m stuck..
Do you have any tips?

Sorry for my bad English

Regards Hellx
hellx is offline   Reply With Quote
Old 18th December 2009, 10:23 AM   #8 (permalink)
Moderator
 
emmanneil's Avatar
 
Join Date: Oct 2009
Location: europe
Posts: 366
Downloads: 24
Uploads: 132
Rep Power: 1 emmanneil is on a distinguished road
Default

everything you are doing looks ok, just need to change the config file between the NewCs and CCcam, you dont have to use NewCS, CCcam will still work just put the clines into CCcam.cfg

Hardware: DM500S, DM7020S, Eurovox Max V2008,DBox2, 1.8M linear actuator, invacom quad LNB
Sat positions: 7°w,7°E,13.0°,16.0°,19.2°,26°,28.2° E
Software: Pli Jade 2 , Enigma,
CAM: Cccam 2.1.2 with NewCS

IF YOU LIKE WHAT I DO THEN PLEASE DONATE ON THE LINK BELOW FOR ME TO TEST THINGS FUTHER
THANKS IN ADVANCE

https://www.paypal.com/cgi-bin/websc...ton_id=8821215

emmanneil is offline   Reply With Quote
Old 15th May 2010, 01:53 PM   #9 (permalink)
Junior Member
 
Join Date: Mar 2010
Posts: 2
Downloads: 0
Uploads: 0
Rep Power: 0 zomky is on a distinguished road
Default

Thank you very much!
zomky is offline   Reply With Quote
Old 17th May 2010, 11:42 AM   #10 (permalink)
Junior Member
 
Join Date: Dec 2009
Posts: 2
Downloads: 0
Uploads: 0
Rep Power: 0 a,s64 is on a distinguished road
Default

Thank you very much ,
a,s64 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT. The time now is 02:38 AM.



Powered by vBulletin. Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0
Style Provided By: Wrestling Clique Wrestling Forums
Free, Card Share, CardSharing CardShare.TV, CardSharing Forum, Free CardSharing, Free Card Sharing, Card Sharing Forum, Free Card Sharing Servers, Gbox CardSharing, Gbox Sharing, Dreambox Sharing, CardSharing Servers, Newcamd CardSharing, Card Sharing, Dreambox CardSharing, CardSharing Server, Satellite Card Sharing, Card Sharing Server, Internet CardSharing, Sat Card Share
CardSharing Forum, Free CardSharing, Free Card Sharing, Card Sharing Forum, Free Card Sharing Servers, Gbox CardSharing, Gbox Sharing, Dreambox Sharing, CardSharing Servers, Newcamd CardSharing, Card Sharing, Dreambox CardSharing, CardSharing Server, Satellite Card Sharing, Card Sharing Server, Internet CardSharing, Sat Card Share
Translations made by vBET Translator 3.3.2