Automated Oscam/CCcam 2.1.3 Install Package For Ubuntu Server 11.10, 12.xx & 13.04 x32/x64
Scripts Cleaned & Updated 2014-03-25
Updated oscam to latest (#9584 at time of upload)
The last release (Version #8917 had a problem with updating vide0guard cards (including slyuk) through cccam proto)
Anybody with oscam #8917 versions, replace your oscam bin located at /usr/local/bin with this file:
for x32 system:
oscam svn9584 x32.rar
for x64 system:
oscam svn9584 x64.rar
Then chmod 755 the file with this command:
chmod 755 /usr/local/bin/oscam
Scripts Cleaned & Updated 2013-09-14
Updated oscam to latest (#8917 at time of upload)
Removed the need to edit the script, so its just a matter of copying the install pack to /tmp, chmod the script & run
Renamed cccam binary to cccam_2.1.3 to avoid crontab issues with the cccam checkscript (Thank you YamaR6 for pointing this out)
Scripts Cleaned & Updated 2013-09-08
Introduced Auto Detection for x86 or x64 OS, the script will now install the correct package based on OS Version (This should eradicate all the wrong version installs)
I have Automated Script even further so no user interaction is needed during the script! (Start the script, have a cuppa and cccam/oscam is up & running within 5 mins)
revised rc.local so cccam starts 30 seconds after oscam (Sorry Guys, this was missed somewhere along the line while updating package)
Added nightly backup to the script so all your cccam/oscam configs are backed up @ midnight
Scripts Cleaned & Updated 2013-09-02
Updated oscam to latest version (8891 at time of uploading)
Included Simplebuild in the script so you can build your own oscam.
Removed proftpd from auto install.
Updated CCcam.channelinfo & CCcam.prio.
Added latest oscam.srvid & oscam.services to the script (oscam.srvid for 0963 only, too many services error with all sats) mainly for People who want to switch to oscam only.
Cleaned up some Syntax errors in LogCleanUp.sh
updated x32 scripts (Few errors pointed out by Fano)
Removed dummy reader from oscam.server (It was causing problems with latest versions of oscam)
changed cccam/oscam restarts, updates & cleanups from 3.56am to 6.56am.
Tested & Working on:
Ubuntu Server 11.10 amd64 & x32
Ubuntu Server 12.xx amd64 & x32
Ubuntu Server 13.04 amd.64
(I am sure it would work on older releases also if repositories are updated, I did not have time to test with 9,10 & 11.04)
What you will Need:
1.. Any PC (Preferably form Pentium 4 up)
2.. Ubuntu Server 12 or 13 (x86 /amd-64-Bit)
3.. Blank DVD
4.. PuTTY
5.. WinSCP
6.. >>Updated<<2014-03-25 - cccam-oscam Ubuntu x32-x64.rar
I have modified & updated the original script written by Youknowwho (R.I.P), to work with Ubuntu amd64.
I have tested this numerous times with no problems at all on two Desktop PC's, a laptop & VM Workstation.
This Script installs OSCAM 1.20-unstable_svn build #8905 (Compiled with all Omnikey & Smartreader Support) & cccam 2.1.3 (x32 & x64 compatable)
After final Reboot the oscam/cccam webif's are up and running.
Tip: Follow all the steps (including updates & other steps that you might be tempted to skip)
QuoteNOTE1: If you are upgrading from a working cccam/oscam setup, make sure to backup all your cccam configs. i.e.
/var/etc
cccam.cfg
Quote
Step 1.. Install Ubuntu Server 11.10, 12.xx or 13.04 (x32/x64) on your PC/Server following all the steps below.
Select Install Ubuntu Server
Then Select your Language Location & Keyboard Layout
Select your hostname for your PC (This can be anything you like) e.g. ubuntu
Enter your Full Name
Type your username (First name by default)
Then Type your password & Re-Type your password
Select <NO> for Encrypt your home Directory)
in Partitioning Method, Select <Use Entire Disk>
Select your Disk & Hit return
Select <Yes> under Write the changes to disks
Just Hit return on this screen if you dont use HTTP proxy
Select <No automatic updates>
Only select OpenSSH server by pressing the spacebar then hit return.
All the software needed will be installed with the autoscript.
Select <Yes> to install GRUB to the master boot record...
Remove the CD & click continue to reboot the Server
Thats it, your now finished the Ubuntu Install..
Step 2.. Prepairing Ubuntu for the automated Script.
For these Steps make sure your PC is connected to the Router (Preferably Wired connection)
We now have to set up a static IP address so we can use Putty & WinSCP to FTP files & execute Terminal commands Remotely.
From my experiences with Ubuntu , I NEVER set a static IP in Network Interfaces.
I log into my router (192.168.*.*) and within my Lan Setup I can view connected Devices.
In connected Devices establish which device is your Server & Write down the MAC Address
Now go to Pre-Assigned DHCP IP Addresses and Put in your Server MAC Address & the IP address you want (e.g. 192.168.1.50)
Click on Add Static IP Address or Apply or whatever it might be on your Router!
Restart the Server & when it's back up, It will have a static IP Address reserved by the router without you having to configure anything in Ubuntu.
Now we are going to log into the server with putty
Jyst type the Static IP Adress of your Server & hit Open,
Log in with your username & password
Now Enter these lines to set up a root account
Enter your password
Then Enter your new root password
Enter your new root password again to confirm
Step 3.. Install oscam/cccam autoscript.
Now log into your Server with WinSCP as root user
On the left hand side, Browse to the "CCcam Oscam Ubuntu 64-Bit" Folder
On the right, browse to <root>/tmp folder
Select both "cccamoscam_install_package" Folder & CCcamOscamInstall.sh and copy them to tmp folder
chmod the Script with this command
Run the Script with this command
The Script reboots the machine.
When the PC Starts up will have OScam & CCcam Installed
You can check your oscam Webif page by typing your server ip & oscam webif port no. (192.168.*.*:8888) in the address bar of your browser.
Username: admin
Password: admin
You can check your cccam Webif page by typing your server ip & cccam webif port no. (192.168.*.*:16001) in the address bar of your browser.
Username: admin
Password: admin
QuoteDisplay More
To check or change your oscam webif password & port number, open up WinSCP & log into server as root & look in
usr/local/etc/oscam.conf
Code[webif] httpport = [COLOR='#FFFF00']8888[/COLOR] httpuser = [COLOR='#00FF00']<strong>admin</strong>[/COLOR] httppwd = [COLOR='#00FF00']<strong>admin</strong>[/COLOR]
To check or change your cccam webif password & port number, open up WinSCP & log into server as root & look in
var/etc/cccam.cfg
CodeWEBINFO USERNAME :[COLOR='#00FF00']<strong>admin</strong>[/COLOR] WEBINFO PASSWORD :[COLOR='#00FF00']<strong>admin</strong>[/COLOR] WEBINFO LISTEN PORT : [COLOR='#FFFF00']16001[/COLOR]
What ever you use, remember it & when you log into the oscam/cccam webif's, BOOKMARK them so they are there for good!
Now all you have to do Is configure your cccam.cfg and oscam configs to suit your setup & card readers.
The version of oscam in this script is the latest version, compiled with full support for all Card readers.
NOTE: If you install an older (Stable) Version of oscam only to find that it is not starting with the server it is most likely because it is referencing libssl0.9.8.
To Fix this just run command below:
On completion of this tutorial you will have a Ubuntu Server with cccam/oscam up and running, but you will still need to follow tutorials to configure:
USE THE THANKS BUTTON ON ALL THESE TUTORIALS TO SHOW YOUR APPRECIATION FOR THE HARD WORK THAT WENT INTO WRITING THEM
QuoteDisplay More
1.. Dynamic DNS: (You will firstly have to setup an account at dyn
-a Installing DNS Updater On Ubuntu Server dns-updater-ubuntu-server
2.. Cardreaders:
-a.. Omnikey: how-install-omnikey-readers-linux-pc [Ignore this step for x64 setup & probably x32 also, if your omnikey is working no need to change anything]
-b.. Smargo: tutorial-smargo-smartreader
-c.. Dreambox: Read post 4 in this thread http://linuxsat-support.com/os…der-my-new-pc-server.html
3.. Configuring cccam/oscam for your Sub:
Too many links to add, just search for your Sub
4.. Setup C:Lines & F:Lines:
Getting Started - Flines & Clines For Beginners
5.. To Update oscam to latest version:
then follow Step 2 on this tut:
http://linuxsat-support.com/os…u-debian-simplebuild.html
Here is a list of all the commands you will need to run your server:
http://linuxsat-support.com/li…oscam-cccam-commands.html
Good Luck & Enjoy