Results 1 to 3 of 3

Thread: Automated Oscam/CCcam 2.1.3 Install Package For Latest Ubuntu 12.04 amd.64-Bit

  1. #1
    Geosharing's Avatar
    GS Administrator
    Join Date
    May 2014

    Automated Oscam/CCcam 2.1.3 Install Package For Latest Ubuntu 12.04 amd.64-Bit

    Automated Oscam/CCcam 2.1.3 Install Package For Latest Ubuntu 12.04 amd.64-Bit

    What you will Need:

    1.. 64-Bit PC
    3.. Blank DVD

    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 (x64 compatable)
    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)

    NOTE1: If you are upgrading from a working setup, make sure to backup all your configs. i.e.
    oscam.conf, oscam.server, oscam.user

    NOTE2: My omnikey Reader worked without having to set it up again (But I still followed the tut and reconfigured it)
    exclude this line from above tutorial! "provider_library = /lib/"

    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 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.
    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

    sudo passwd root
    Enter your password
    Then Enter your new root password
    Enter your new root password again to confirm

    sudo reboot

    Close putty & re-open it when the server restarts.


    This time log in with your root account i.e. Username: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 & and copy them to tpm folder
    On the right hand Side Right click on the you just copied & click Edit

    !!!!Very Important, Script will Fail if you dont follow the next step!!!!

    Fill in your Ubuntu username here

    Now open the the "cccamoscam_install_package" folder that you just copied over to the server.
    Right click on the "" & click Edit
    change the line:
    OWNER="your ubuntu username"


    chmod the Script with this command
    chmod 755/tmp/


    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. (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

    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

    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:


    Here is a list of all the commands you will need to run your server:

    Good Luck & Enjoy[/QUOTE]Oscam/Cccam commands
    Update cccam.cfg file?
    ftp updated cccam.cfg file to /var/config then run command below:

    Stop CCcam:
    This assumes your cccam binary is named "CCcam.x86_64" check its name in /usr/local/bin and replace "CCcam.x86_64" with the name that exists.
    sudo killall -9CCcam.x86_64

    Start CCcam:
    This assumes your cccam binary is named "CCcam.x86_64" check its name in /usr/local/bin and replace "CCcam.x86_64" with the name that exists.
    sudo CCcam.x86_64 .b

    Stop oscam:
    sudo killall -9 oscam

    Start oscam:
    sudo oscam b

    Log file:
    tail -f /var/log/oscam.log

    Edit oscam.server:
    sudo pico /usr/local/etc/oscam.server

    Edit oscam.user:
    sudo pico /usr/local/etc/oscam.user

    Edit oscam.conf:
    sudo pico /usr/local/etc/oscam.conf

    Update CCcam Channel Info
    wget -O /var/etc/CCcam.channelinfo <a href="">

    Update CCcam Providers
    wget -O /var/etc/CCcam.providers <a href="">

    Clean oscam/cccam Log Files

    Ubuntu System Commands

    Power Commands
    Shutdown computer
    sudo poweroff
    sudo shutdown -h now
    reboot computer
    sudo reboot
    sudo shutdown -r 0

    Network Configuration
    Open network configuration file
    sudo nano /etc/network/interfaces
    Restart the network:
    sudo /etc/init.d/networking restart

    Get update software list, enter:
    sudo apt-get update
    Update software(s) i.e. apply updates:
    sudo apt-get upgrade
    Apply kernel upgrade:
    sudo apt-get dist-upgrade
    Upgrade individual software called foo type command:
    sudo apt-get install foo

    ping -c3

    To simply test your internet Speed, enter:
    wget -O/dev/null

    To clear the cache you can use either the clean or the auto-clean op for a command-line program called apt-get. The clean command will remove every single cached item, while the auto-clean command only removes cached items that can no longer be downloaded (these items are often unnecessary).
    sudo apt-get clean

    To remove packages that were automatically installed to satisfy dependencies for other package and that are no longer needed.
    sudo apt-get autoremove

    After installing anything with apt-get install, localepurge will remove all translation files and translated man pages in languages you cannot read.
    sudo apt-get install localepurge

    If you want to configure localepurge you need to edit
    sudo pico /etc/locale.nopurge

    List Devices attached:
    sudo lsusb

    Checking open ports on Ubuntu
    netstat -anltp | grep "LISTEN"

    Enable root account
    sudo passwd root

    Chmod for a folder and all of its subfolders and files
    sudo chmod 755-R /whatever/your/directory/is

    Dynamic DNS updater (ddclient)
    To install ddclient:
    sudo apt-get install ddclient

    To reconfigure ddclient installation:
    dpkg-reconfigure ddclient

    View Log Files
    General log messages
    more /var/log/messages

    System boot log
    more /var/log/boot

    Debugging log messages
    more /var/log/debug

    User login and authentication logs
    more /var/log/auth.log

    Running services such as squid, ntpd and others log message to this file
    more /var/log/daemon.log

    Linux kernel ring buffer log
    more /var/log/dmesg

    All binary package log includes package installation and other information
    more /var/log/dpkg.log

    User failed login log file
    more /var/log/faillog

    Kernel log file
    more /var/log/kern.log

    MySQL server log file
    more /var/log/mysql.*

    All userlevel logs
    more /var/log/user.log

    Apache web server log files directory
    more /var/log/apache2/*

    fsck command log
    more /var/log/fsck/*

    Application crash report / log file
    more /var/log/apport.log

  2. #2
    hpserver's Avatar
    Join Date
    Sep 2014
    great job.......

  3. #3
    shafique18's Avatar
    Junior Member
    Join Date
    May 2015

    Re: Automated Oscam/CCcam 2.1.3 Install Package For Latest Ubuntu 12.04 amd.64-Bit

    Superb dear

Thread Information

Users Browsing this Thread

There are currently 6 users browsing this thread. (0 members and 6 guests)

Similar Threads

  1. Automated Install Script for Ubuntu CCcam Server
    By Geosharing in forum CARDSHARING TUTORIALS
    Replies: 2
    Last Post: 03-05-2018, 09:59 AM
  2. Automated Oscam/CCcam 2.1.3 Install Package For Debian 6
    By Geosharing in forum CARDSHARING TUTORIALS
    Replies: 0
    Last Post: 07-03-2015, 03:58 PM
  3. Replies: 0
    Last Post: 07-01-2015, 01:56 PM
  4. Replies: 2
    Last Post: 07-24-2014, 02:08 PM
  5. Replies: 2
    Last Post: 07-07-2014, 09:26 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

All posts written express the point of view of its owner, does not imply in any way the point of view of management forum.

petites annonces