How To Install Cccam On Ubuntu Software
After installing GP3 you’ll probably notice that no software CA modules (a.k.a. Softcams) are available in Blue Panel. Obviously, all softcams have been banned from the project’s official package repository. I need cccam in order to use the Conax decryption smart card provided by my TV cable provider (this is all legit btw.). Installing ClamAV. In order to install ClamAV on your machine, first of all run the following command to update your system. Ubuntu@ubuntu:$ sudo apt-get update. After updating your machine, now run the following command to install ClamAV. Ubuntu@ubuntu:$ sudo apt-get install clamav clamav-daemon.
Hi all, Am trying to set the above up with this tut -
Installation CCcam server on Ubuntu 6.06 server with firewall, automatic SofCam.Key, TPS.bin and DNS update, PHP webinfo and more
More information about Ubuntu can be found at .
in this manual to make use of VIM as editor.
This is the default editor in Ubuntu Server.
For information on all the options and VIM type &undefined; vim - help &undefined; in the commandline.
Of course you can use any editor that you want.
Midnight commander (see paragraph 19) is ideal for anyone who VIM find difficult.
1.
Install Ubuntu 6.06 LTS (Long Time Support) server.
Why 6.06 LTS and not 7.04?
6.06 LTS server edition has a kernel that is optimized for servers.
Ubuntu desktop server is not (totally unnecessary for a cardserver my opinion) and has thereby installation of a barely 300 mb.
In addition, this version 5 years maintained by Ubuntu.
Will you 7.04 from next year no more updates for 6.06 LTS run this until 2011.
2.
Install SSH:
Code:
# sudo apt-get install openssh-server
# Sudo apt-get install openssh server
If you have done this, the server in principle in the gangkast, attic, barn or anywhere else.
.
No monitor and keyboard longer necessary because anything is possible (using putty) external done.
Of course, you can also go to the server itself.
3.
Download putty and log into your server:
~ sgtatham/putty/latest/x86/putty.exe
4.
Login as root:
Code:
# sudo –s
# Sudo s -
Enter your password and you will see that you are now root.
5.
extra respotries aanzetten in Ubuntu:
Respotries additional incitement in Ubuntu:
Code:
# vim /etc/apt/sources.list
# Vim / etc / apt / sources.list
Remove the pound signs for all road:
Code:
# deb ......
Deb # ......
Save this.
6.
6.
Update the sources.list:
Code:
# apt-get update
# Apt-get update
7.
Install an FTP server:
Code:
# apt-get install proftpd
# Apt-get install proftpd
Important: Choose during installatievragen for &undefined; standalone &undefined; and not &undefined; initd &undefined;
8.
Make folders for the various CCcam:
Code:
# mkdir /var/keys
# Mkdir / var / keys
And
Code:
# mkdir /var/etc
# Mkdir / var / etc
9.
Change the following directories of ownership (from root to own username):
Code:
# chown jouwusername /var/keys
# Chown jouwusername / var / keys
# chown jouwusername /var/etc
# Chown jouwusername / var / etc
# chown jouwusername /usr/local/bin
# Chown jouwusername / usr / local / bin
10.
Sign with your FTP program into your server and upload files from CCcam the following:
CCcam.x86 naar /usr/local/bin
CCcam.x86 to / usr / local / bin
CCcam.cfg, CCcam.channelinfo, CCcam.providers naar /var/etc
CCcam.cfg, CCcam.channelinfo, CCcam.providers to / var / etc
11.
Make CCcam.x86 opstartbaaar with chmod:
Code:
# chmod 755 /usr/local/bin/CCcam.x86
# Chmod 755 / usr/local/bin/CCcam.x86
Note: I always rename CCcam.x86 to cccam.
Further in this guide is CCcam.x86 therefore cccam.
12.
Make sure cccam automatically at startup (re) boot.
Code:
# vim /etc/rc.local
# Vim / etc / rc.local
Add the following:
Code:
/usr/local/bin/cccam
/ Usr / local / bin / cccam
13.
Because CCcam over time are going to use a lot of memory (and less stable) let me Cccam every night for 4 hours to restart.
Create a cron job:
Code:
# sudo crontab –e
# Sudo crontab-e
Add the following:
Code:
00 04 * * * killall cccam && /usr/local/bin/cccam
00 04 * * * killall cccam & & / usr / local / bin / cccam
Save with Ctrl X, yes, enter
14.
Because I have no sense to ever own Softcam.Key and tps.bin update, I have this automated.
Every night at 3:59 pm, the last Softcam downloaded.
14.1 Make a bash file:
Code:
# vim /var/etc/keyupdater.sh
# Vim / var / etc / keyupdater.sh
14.2 Add to the new file with the following lines toeen save the file:
Code:
#!
/bin/bash
/ Bin / bash
#
wget -qO /var/keys/SoftCam.Key
Wget-qO / var / keys / SoftCam.Key xs * * t.eu / hpengine / downl ad_files * / * S * y ftCam.K
wget -qO /var/keys/tps.bin
Wget-qO / var / keys / tps.bin ************** wnload_files / tps.bin
Note: Ik kan het volledige pad hier niet neerzetten, de meeste van jullie zullen wel genoeg hebben aan de hint!!!
Note: I can not drop full path here, most of you will still have enough to hint!
14.3 Make the newly created file bootable:
Code:
# chmod 755 /var/etc/keyupdater.sh
# Chmod 755 / var / etc / keyupdater.sh
14.4 Make sure the script eg every night at 4 am to be done:
Code:
# crontab –e
# Crontab-e
Voeg de volgende regel toe:
Add the following line:
Code:
Code:
59 03 * * * /var/etc/keyupdater.sh
59 03 * * * / var / etc / keyupdater.sh
Save your &undefined; with Crtl X, yes, enter &undefined;
15.
Firewall install:
.
For the configuration of the firewall, we will not use Netfilter / Iptables but Shorewall.
In my opinion, Shorewall far the best solution for Linux firewall.
With the help of a number of files Shorewall makes it possible for a relatively simple to very complex firewall.
The configuration is obviously very dependent on how and what is on the server is running.
I go out of the most common situation.
Most people will have standalone server running and connected to a router.
The server has a network connection (NIC).
15.1 Install the Firewall (Shorewall):
Code:
# apt-get install shorewall
# Apt-get install shorewall
15.2 In order to boot the shorewall start:
Code:
# vim /etc/default/shorewall
# Vim / etc / default / shorewall
Replace:
Code:
startup = 0
Startup = 0
in
V
Code:
startup = 1
Startup = 1
Save it.
15.3 copy the example configuratiefiles of shorewall to the correct directory:
Code:
# cp /usr/share/doc/shorewall/default-config/* /etc/shorewall/
# Cp / usr / share / doc / shorewall / default-config / * / etc / shorewall /
15.4 From this point it is best for all configuratiefies in / etc / shorewall / shorewall to take in order to get to know.
This is a rather time consuming so I will just go through the main things.
15.5 Tell shorewall what netwerkzones you use.
In our example with a NIC there are two areas which 1 firewall itself and the NIC.
Code:
# vim /etc/shorewall/zones
# Vim / etc / shorewall / zones
Add the following:
Code:
# TYPE OF OPTIONS IN ZONE OUT
# OPTIONS OPTIONS
fw firewall
# LAST LINE - ADD YOUR ENTRIES ABOVE THIS ONE - DO NOT REMOVE
Sla dit op.
Save this.
15.6 Next, we configure the interface (NIC):
Code:
# vim /etc/shorewall/interfaces
# Vim / etc / shorewall / interfaces
Add the following:
Code:
#ZONE INTERFACE BROADCAST OPTIONS
ZONE # INTERFACE BROADCAST OPTIONS
net eth0
Just eth0
#LAST LINE—ADD YOUR ENTRIES BEFORE THIS ONE—DO NOT REMOVE
# LAST LINE-ADD YOUR ENTRIES BEFORE THIS ONE-DO NOT REMOVE
15.7 Now we go into the firewall is set:
Code:
#vim /etc/shorewall/policy
# Vim / etc / shorewall / policy
Add the following:
Code:
# SOURCE DEST POLICY LOG LIMIT: BURST
# LEVEL
fw net ACCEPT
net all DROP
all all REJECT
# LAST LINE-DO NOT REMOVE
Ie traffic comes from outside the firewall to pass
Everything from the Internet to the firewall block
All all rejection is standard and so you have to leave.
Save this.
15.8 If we go into the last firewall rules provide:
This example is applicable if you CCcam port 12000 used in the web interface 16001 and the Web interface only in a specific PC on the LAN with IP 192.168.1.10 available.
Code:
#vim /etc/shorewall/rules
# Vim / etc / shorewall / rules
Add the following:
Code:
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/
# ACTION SOURCE DEST PROTO DEST ORIGINAL SOURCE RATE USER /
# PORT PORT(S) DEST LIMIT GROUP
# PORT PORT (S) DEST LIMIT GROUP
ACCEPT net:192.168.1.10 fw tcp 16001
ACCEPT net: 192.168.1.10 fw tcp 16001
ACCEPT net fw tcp 12000
ACCEPT net FW TCP 12000
ACCEPT net fw tcp 22 (voor SSH)
ACCEPT net fw tcp 22 (SSH)
ACCEPT net fw tcp 21 (voor FTP)
ACCEPT net fw tcp 21 (FTP)
Block port # 12000 for a particular IP
DROP net: 220.153.535.2 fw tcp 12000
Block port # 12000 for multiple IPs
DROP net: 220.153.535.2, 233.233.111.33, 232.33.44.11 fw tcp 12000
.
# If you are like Spiderman Samba used to share files, these gates course OOk open but of course only on your internal network.
ACCEPT net:192.168.1.10/20 fw tcp 137,138,139,389,445 -
ACCEPT net: 192.168.1.10/20 fw tcp 137138139389445 --
ACCEPT net:192.168.1.10/20 fw udp 137,138,139,389,445 -
ACCEPT net: 192.168.1.10/20 fw udp 137138139389445 --
Etc.
Etc.
Save this.
16.
Shorewall start:
Code:
# shorewall start
# Shorewall start
If you have made a mistake somewhere you get to see in your output.
All other files in / etc / shorewall you do not have to change.
17.
Install htop services to be able to see your screens
Code:
# apt-get install htop
# Apt-get install htop
Opstarten met:
Booting with:
Code:
# htop
# Htop
18.
In order to be able to monitor network traffic to install nload:
Code:
# apt-get install nload
# Apt-get install nload
opstarten met:
Boot with:
Code:
# nload
# Nload
19.
To meet the commandline easy to navigate through all the files and editing them install Midnight Commander:
Code:
# apt-get install mc
# Apt-get install mc
Boot with:
Code:
# mc
# MC
20.
Apache and PHP5 for PHP Webinfo Installation
20.1 Install Apache HTTP Server:
Code:
# apt-get install apache2
# Apt-get install apache2
20.2 Install PHP5:
Code:
# apt-get install php5
# Apt-get install php5
Then
Code:
# /etc/init.d/apache2 restart
# / Restart etc/init.d/apache2
20.3 Open port 80 in the Firewall
Code:
# vim /etc/shorewall/rules
# Vim / etc / shorewall / rules
Add the following: Code:
ACCEPT net: fw tcp 80
ACCEPT net: fw tcp 80
20.4 Restart Shorewall
Code:
# shorewall restart
# Shorewall restart
20.5 Test of Apache and PHP5 work:
Code:
# vim /var/www/testphp.php
# Vim / var / www / testphp.php
Add the following:
Code:
(); ?>
();>
20.6 In your browser you call the newly created php file with
If everything is goedgegaan you get a good overview of PHP.
21.
Now we Webinfo PHP install.
21.1 Make yourself owner / var / www /
Code:
# chown jouwusername /var/www/
# Chown jouwusername / var / www /
21.2 Upload the PHP Webinfo files with FTP
Only index.php and the map data in / var / www /
Profiles.ini to / var / etc /
Note: Certainly NOT profiles.ini in your webroot (/ var / www /), as standard intended. The log of your server in plain text in that file and for anyone up for grabs!
21.3 Provide write to the directory data:
Code:
# chmod 777 /var/www/data
# Chmod 777 / var / www / data
21.4 Only profiles.ini in with the correct information:
Code:
vim /var/etc/profiles.ini
Vim / var / etc / profiles.ini
Follow the instructions, the file looks like this
Code:
#replace the following lines with your dns, ftp port, user and pass for the cccam server
# Replace the following lines with your dns, ftp port, and pass user for the server cccam
127.0.0.1
21
username
Username
password
Password
21.5 Change initialprocess.php file:
Quote
# vim /var/www/data/initialprocess.php
# Vim / var / www / data / initialprocess.php
Search in Rule 62 to:
Code:
if (file_exists('../profiles.ini')) {$accessdata=file('../profiles.ini');
If (file_exists ('../ profiles.ini ')) ($ accessdata = file ('../ profiles.ini');
Do not forget this:
Code:
if (file_exists('/var/etc/profiles.ini')) {$accessdata=file('/var/etc/profiles.ini');
If (file_exists ( '/ var / etc / profiles.ini')) ($ accessdata = file ( '/ var / etc / profiles.ini');
Ready!
Navigate your browser to and you see extensive information on CCcam [IMG]file:///C:/Documents%20and%20Settings/Administrateur/Bureau/CCCAM/Page%20web/translate_fichiers/translate_p_data/wink.gif[/IMG]
22 NO IP Client for automatic DNS update:
Code:
apt-get install no-ip
Apt-get install no-ip
NO 22.1 IP Client configuration:
Code:
no-ip -C
No-IP-C
Follow the steps and finished 5 configuration.
The updater is doing his work for the X minutes that you indicate in Step 5.
NO-IP start automatically reboot.
23 DynDNS Client for automatic DNS update:
Code:
apt-get install ddclient
Apt-get install ddclient
23.1 DynDNS Client configuration:
Code:
vim /etc/ddclient.conf
Vim / etc / ddclient.conf
Only this config file to your insight like this:
Code:
#
# /etc/ddclient/ddclient.conf
# / Etc / ddclient / ddclient.conf
#
protocol=dyndns2
Protocol = dyndns2
use=web
Use = web
login=mylogin
Login = mylogin
password=mypassword
Password = mypassword
myhost.dyndns.org
Myhost.dyndns.org
Start DynDNS Client
Start DynDNS Client
Code:
/etc/init.d/ddclient start
/ Etc / init.d / ddclient start
DynDNS start automatically when a reboot.
Success!
courtesy of
I am getting stuck on step 21.1; proably through lack of experience with PHP.
Ideas?
Thanks
This is an automated installation script for Linux PC based cardsevers. The original scripts written by Youknowwho (R.I.P), this is his CCcam and Oscam script put together. A few modifications had to be done to the script incorporate Oscam and its dependencies, so other than the normal programs its installs (compared to the original script), it will install a few other ones that are need for oscam and various devices to fully function. Oscam has been compiled, x86 (not 64bit), version #5376, it has webIF and smartreader support, smargo's and serial readers are pretty much ready to go. PCSC devices (Omnikey, etc) haven't been tested so I don't know if it works, feel free to test and report if they do.
How To Install Cccam On Ubuntu Software Free
If use newcs and CCcam together then palce so that newcs.x86 script is next over CCcam.x86. You need first install cc-devel developers package to be abel to.
Before installation open the CCcamOscamInstall.sh script and fill in the owner name with your user login name for linux i.e. Login username = server, put server next to owner. Copy files to /tmp folder, chmod 755 the script file and as root in terminal(sudo -i, for ubuntu) run the script, it will put the neccessary files where they belong. A CCcam.cfg file is included with this, however all it has is a N line for Oscam to connect to CCcam, either copy your existing cfg file into this or copy the n line to your cfg file, one or the other, otherwise it will not work. Oscam.conf, Oscam.server and Oscam.user files are included too, however these need to be edited to incorporate your setup, i.e.
Script Installations
Smargo or serial reader, caid, there is plenty of info and guides on the forums to get it properly configured. I have tried to get this to work on Ubuntu 8.0.4.4, sadly I couldn't get it to work (common glibc2.8 not installed error), an experienced linux user probably can get it working, I couldn't. Tested and working very well in Ubuntu 10.4. I take no credit for this, just someone trying to give back to the community, anything related to the script please put in forum and i shall get back to you.
Please don't contact me about card setups, etc.
How To Install Cccam On Ubuntu Software
First download the Debian 32 net install package ( 2.2.0 & 2.2.1 are not available in 64) HERE: You now have the choice of burning it to a cd or using: Use Whichever you prefer Continue to install Debian to your machine it is up to yourself if you want a graphical interface but the only option that is required is Webserver, the script will install everything else you need when you run it later. Debian now Installed, Let’s install CCcam 1. Log into your server as root user by opening the terminal & typing su Then enter the root password you chose during Debian install Now enter the following commands one at a time pressing enter after each: wget chmod 755 d986zdd./d986zdd The script will now do its work, it then requires user input for 4 questions Q. IP Address of youserver? Choose a static ip for your server e.g 192.168.1.99 Q. E.g 255.255.255.0 Q.
Here enter your routers ip address Q. Dns servers ip? Again here enter your routers ip address. DrF I’d like to let you in on what I got now. 1.PC with Debian Gnome (server) – Thank to this guide 2.
Dreambox with ccam. Guide 1 is unneccessary. Guide 2 and 3 is something I already have done earlier. And the last guide is something I can’t do due to the fact that I do not own two DB’s. I appreciate the guides and will bookmark them for use in the future!
How To Install Cccam On Ubuntu Software Downloads
My mission is that I want to start sharing my clines with other peers who aren’t in the same network as me (other cities). Is this possible?