Tutorial Ubuntu Server + Oscam

Tested & working on : Ubuntu Server 14.04.02 X64

What you will Need:

1.. Any PC (Preferably form Pentium 4 up)
2.. Ubuntu Server 14 (x86 /amd-64-Bit)
3.. Blank DVD
4.. PuTTY
5.. WinSCP
6.. Installation script

Tip: Follow all the steps (including updates & other steps that you might be tempted to skip)

Step 1.. Install Ubuntu Server 14 (x32/x64) on your PC/Server following all the steps below.

1..Select Install Ubuntu Server
2..Then Select your Language Location & Keyboard Layout
3..Select your hostname for your PC (This can be anything you like) e.g. ubuntu
4..Enter your Full Name
5..Type your username (First name by default)
   Then Type your password & Re-Type your password
6..Select <NO> for Encrypt your home Directory
7..in Partitioning Method, Select <Use Entire Disk> 
8..Select your Disk & Hit return
9..Select <Yes> under Write the changes to disks
10..Just Hit return on this screen if you dont use HTTP proxy
11..Select <No automatic updates>
12..Only select OpenSSH server by pressing the spacebar then hit return.
    All the software needed will be installed with the autoscript.
13..Select <Yes> to install GRUB to the master boot record...
14..Remove the CD & click continue to reboot the Server
    Thats it, your now finished the Ubuntu Install..
15.. Create root password : sudo passwd root
     Enter your password
     Then Enter your new root password
      Enter your new root password again to confirm

Step 2.. Install oscam autoscript.

1..Download install package & Extract the zip to your desktop
2..Log into your server through WinSCP as Root User
3..Copy OscamInstall.sh & oscam_install_package folder to tmp folder
4..Log into your server through putty as Root User
5..chmod the Script with this command : chmod 755 /tmp/OscamInstall.sh
6..Run the Script with this command : /tmp/OscamInstall.sh
   The Script reboots the machine.

When the Server boots up:
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

Note :
To work properly in Ubuntu server 14.04.2 you must edit file OscamInstall.sh in part :

######################
####Instal Packages###
######################
echo "${txtred}Step 7 ${txtrst}"
echo "${txtgreen}installing the software needed for oscam server ${txtrst}"
sleep 2
yes | apt-get update
sleep 2
yes | apt-get install openssl openssh-server
sleep 2
yes | apt-get install libssl-dev libpcsclite1 libpcsclite-dev
sleep 2
yes | apt-get install pcscd pcsc-tools

edit become :

echo "${txtred}Step 7 ${txtrst}"
echo "${txtgreen}installing the software needed for oscam server ${txtrst}"
sleep 2
yes | apt-get update
sleep 2
apt-get install -y openssl openssh-server
sleep 2
apt-get install -y libssl-dev libpcsclite1 libpcsclite-dev
sleep 2
apt-get install -y pcscd pcsc-tools

Now all you have to do Is edit your oscam configs to suit your setup & card readers.

Good Luck & Enjoy

source : http://linuxsat-support.com/showthread.php?t=16755

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.