|
||||||||||||
![]() |
||||||||||||
|
|
|
|||||||
| Card Sharing General Discussion Card Sharing General Discussion |
| HomePage | Forums | *** LIMITED OFFER - LIFETIME VIP - $9.99 *** BYPASS BUSY MSG, ACCESS VIP AREA + MORE! *** |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Moderator
Join Date: Oct 2009
Location: europe
Posts: 362
Downloads: 23
Uploads: 127
Rep Power: 1
![]() |
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 01: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
|
|
|
|
|
|
|
#2 (permalink) |
|
VIP Member
Join Date: Oct 2009
Location: The Great State of Tennnessee
Posts: 13
Downloads: 0
Uploads: 0
Rep Power: 0
![]() |
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 |
|
|
|
|
|
#3 (permalink) |
|
Moderator
Join Date: Oct 2009
Location: europe
Posts: 362
Downloads: 23
Uploads: 127
Rep Power: 1
![]() |
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
|
|
|
|
|
|
|
#4 (permalink) |
|
Moderator
Join Date: Oct 2009
Location: europe
Posts: 362
Downloads: 23
Uploads: 127
Rep Power: 1
![]() |
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
|
|
|
|
|
|
|
#5 (permalink) |
|
Junior Member
Join Date: Jan 2008
Posts: 1
Downloads: 0
Uploads: 0
Rep Power: 0
![]() |
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 |
|
|
|
|
|
#6 (permalink) | |
|
Junior Member
Join Date: Nov 2009
Posts: 8
Downloads: 0
Uploads: 0
Rep Power: 0
![]() |
[php]
Quote:
Code:
./CCcam3.x86: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./CCcam3.x86) |
|
|
|
|
|
|
#7 (permalink) |
|
Moderator
Join Date: Oct 2009
Location: europe
Posts: 362
Downloads: 23
Uploads: 127
Rep Power: 1
![]() |
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
|
|
|
|
|
|
|
#8 (permalink) |
|
Junior Member
Join Date: Dec 2009
Posts: 1
Downloads: 0
Uploads: 0
Rep Power: 0
![]() |
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 |
|
|
|
|
|
#9 (permalink) |
|
Moderator
Join Date: Oct 2009
Location: europe
Posts: 362
Downloads: 23
Uploads: 127
Rep Power: 1
![]() |
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
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 2 (1 members and 1 guests) | |
| naceur2010 |
| Thread Tools | |
| Display Modes | |
|
|