Automated Oscam/CCcam 2.1.3 Install Package For Latest Ubuntu 12.04 amd.64-Bit
What you will Need:
1.. 64-Bit PC
2.. Ubuntu Server 12.04 amd.64-Bit
3.. Blank DVD
6.. CCcam Oscam Ubuntu 12.04 amd64.zip
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 #7149
(Compiled with all Smartreader Support) & cccam 2.1.3
After final Reboot the oscam/cccam webif's are up and running.
If you have a previous setup, just copy all your cccam & oscam configs over and off you go!
Tip: Follow all the steps (including updates & other steps that you might be tempted to skip)
If you are upgrading from a working setup, make sure to backup all your configs. i.e.
oscam.conf, oscam.server, oscam.user
My omnikey Reader worked without having to set it up again (But I still followed the How to install Omnikey readers on Linux PC
tut and reconfigured it)
exclude this line from above tutorial! "provider_library = /lib/libpcsclite.so.1"
Step 1.. Install Ubuntu Server 12.04 amd.64-Bit on your PC/Server following all the steps below.
Select Install Ubuntu Server
Then Select your Language Location & Keyboard Layout
Select your host**** for your PC (This can be anything you like) e.g. ubuntu
Enter your Full ****
Type your user**** (First **** 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 user**** & password
Now Enter these lines to set up a root account
sudo passwd root
Enter your password
Then Enter your new root password
Enter your new root password again to confirm
Close putty & re-open it when the server restarts.
This time log in with your root account i.e. User****:root Password:whatever password you picked above
sudo apt-get update
sudo apt-get upgrade
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 tpm folder
On the right hand Side Right click on the CCcamOscamInstall.sh you just copied & click Edit
!!!!Very Important, Script will Fail if you dont follow the next step!!!!
Fill in your Ubuntu user**** here
chmod the Script with this command
chmod 755 /tmp/CCcamOscamInstall.sh
Run the Script with this command
Type y to all the "Do you want to continue [Y/n] Pauses
Select <from inetd> on this screen
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
) in the address bar of your browser.
You can check your cccam Webif page by typing your server ip
& cccam webif port no
) in the address bar of your browser.
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:
apt-get install libssl0.9.8
Good Luck & Enjoy