Ubuntu CCcam Server - Austech
Ubuntu CCcam Server - Austech
Ubuntu CCcam Server - Austech
Austech > Satellite , Digital Terrestrial and Cable TV. > Satellite Television > Dreambox User Name Remember Me?
Ubuntu CCcam Server Password
Dreambox Discussion and unofficial support for Dream Multimedia's Linux based Dreambox. Includes DM500 clones.
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:
1 of 9 15/10/2552 8:36
Ubuntu CCcam Server - Austech http://www.austech.info/dreambox/7536-ubuntu-cccam-server...
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.
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
2 of 9 15/10/2552 8:36
Ubuntu CCcam Server - Austech http://www.austech.info/dreambox/7536-ubuntu-cccam-server...
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
3 of 9 15/10/2552 8:36
Ubuntu CCcam Server - Austech http://www.austech.info/dreambox/7536-ubuntu-cccam-server...
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)
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:
4 of 9 15/10/2552 8:36
Ubuntu CCcam Server - Austech http://www.austech.info/dreambox/7536-ubuntu-cccam-server...
# 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.
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
5 of 9 15/10/2552 8:36
Ubuntu CCcam Server - Austech http://www.austech.info/dreambox/7536-ubuntu-cccam-server...
Success!
courtesy of
I am getting stuck on step 21.1; proably through lack of experience with PHP.
Ideas?
Thanks
gado
Premium Member
I built that server and got stuck on the same part. I had a friend who telneted in an found there were bugs in
the php code. I believe some variables were wrong.
6 of 9 15/10/2552 8:36
Ubuntu CCcam Server - Austech http://www.austech.info/dreambox/7536-ubuntu-cccam-server...
berlinabydesign
Premium Member
No one?
Join Date: Jan 2008
Location: Pilbara Just wondering is it CCcamwebinfo? it is just that it'll have to be an early version to have files that are talked
Posts: 92
Gameroom cash: $17
about in the above tutorial.
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 3
evdo
Junior Member
this tutorial contain some bugs that i fix, i'll send u fixed later
Join Date: Apr 2009 for cccam PHP webinfo, u can download it from the link below :
Posts: 2 archive contain :
Gameroom cash: $750
Thanks: 0
CCcam PHPwebinfo v0.9
Thanked 0 Times in 0 Posts CCcam PHPwebinfo v1.0 for linux
Rep Power: 0 CCcam PHPwebinfo v1.01
CCcam PHPwebinfo v2.0 for linux
23-04-09,
#5 (permalink)
01:57 PM
evdo
Junior
Member download en extract CCcamInfoPHP v2 pro for linux,
edit config.php
7 of 9 15/10/2552 8:36
Ubuntu CCcam Server - Austech http://www.austech.info/dreambox/7536-ubuntu-cccam-server...
Bookmarks
LinkBacks (?)
LinkBack to this Thread: http://www.austech.info/dreambox/7536-ubuntu-cccam-server.html
Linux Ubuntu Server-pitanje??? - Start - Satelitski Forum This thread Refback 07-10-09 03:05 AM
Moteur de recherche : Web, Photos, Videos, Voyages, Encyclopdie This thread Refback 26-09-09 05:44 AM
Moteur de recherche : Web, Photos, Videos, Voyages, Encyclopdie This thread Refback 26-09-09 05:40 AM
Moteur de recherche : Web, Photos, Videos, Voyages, Encyclopdie This thread Refback 26-09-09 05:11 AM
Moteur de recherche : Web, Photos, Videos, Voyages, Encyclopdie This thread Refback 21-09-09 12:52 AM
Moteur de recherche : Web, Photos, Videos, Voyages, Encyclopdie This thread Refback 21-09-09 12:50 AM
Linux Ubuntu Server-pitanje??? - Start - Satelitski Forum This thread Refback 02-09-09 06:04 AM
Linux Ubuntu Server-pitanje??? - Start - Satelitski Forum This thread Refback 09-08-09 03:44 AM
Linux Ubuntu Server-pitanje??? - Start - Satelitski Forum This thread Refback 21-07-09 05:53 PM
Linux Ubuntu Server-pitanje??? - Start - Satelitski Forum This thread Refback 21-07-09 04:54 PM
Linux Ubuntu Server-pitanje??? - Satelitska oprema - Satelitski Forum This thread Refback 21-07-09 07:30 AM
Linux Ubuntu Server-pitanje??? - Satelitska oprema - Satelitski Forum This thread Refback 20-07-09 07:59 AM
Linux Ubuntu Server-pitanje??? - Satelitska oprema - Satelitski Forum This thread Refback 19-07-09 04:42 AM
Linux Ubuntu Server-pitanje??? - Satelitska oprema - Satelitski Forum This thread Refback 17-07-09 11:10 PM
Linux Ubuntu Server-pitanje??? - Satelitska oprema - Satelitski Forum This thread Refback 17-07-09 04:19 PM
Linux Ubuntu Server-pitanje??? - Satelitska oprema - Satelitski Forum This thread Refback 17-07-09 03:37 PM
Alice - Rechercher cccaminfophp v2 pro for linux This thread Refback 05-07-09 09:22 PM
cccam ubuntu | VIRGILIO Ricerca | Web This thread Refback 10-03-09 12:43 PM
cccam ubuntu | VIRGILIO Ricerca | Web This thread Refback 22-12-08 07:35 AM
PASS FOR SERVER NEWCAMD FROM ME | BoardReader This thread Refback 19-07-08 06:33 AM
dreambox cardserver - board messages report | BoardReader This thread Refback 27-06-08 10:25 AM
Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Rules
8 of 9 15/10/2552 8:36
Ubuntu CCcam Server - Austech http://www.austech.info/dreambox/7536-ubuntu-cccam-server...
All times are GMT +11. The time now is 03:33 AM.
9 of 9 15/10/2552 8:36