Tutorial: Updating Oscam to latest SVN – Ubuntu with Simplebuild

All credit to Gorgone @ oscam streamboard for this great Script

Using putty or similar, Log into your Server as root user

cd /opt
mkdir simplebuild
cd simplebuild
wget ss4200.homelinux.com/oscam/simplebuild
chmod 777 simplebuild
./simplebuild debinstall
./simplebuild menu

Note1: If this is your first time to run simplebuild script, the latest version of oscam SVN will be checked out to your local server
Note2: If you have previously run simplebuild script, you will be asked do you want to check out latest version or continue with the version present on your server!

Select Continue with local: (current revision)
From the Toolchain Menu Select Native: For your machine
Select Configure hit Return
Here you have the main configure menu, The only options we will be interested in are Modules & Features
In the MODULES category we have Add-ons, Protocols, Readers, Cardreaders & Save
Select Add-ons and hit Return
We can leave all these at default (Unless you require aditional Add-ons)
Hit Return to go back to the main MODULES Menu
Select Protocols, We can also leave all these at default (Unless you require aditional Protocols)
Hit Return to go back to the main MODULES Menu
Select Readers, All readers are selected by default
Hit Return to go back to the main MODULES Menu
Now Select CardReaders, All CardReaders are selected by default
Hit Return to go back to the main MODULES Menu
Select Save to exit back to the main Configure Menu
Select Features from the Main Configure menu
Hit Return
Using the space bar, Select the devices you want to enable
e.g.
For Smargo we will need to enable USB (Support for USB Devices)
For Omnikey we will need to enable PCSC (Support for PCSC Readers)
and so on. I use an Omnikey so the only feature I enable is PCSC.
Hit Return to go back to the main Configure Menu
Hit Return to go back to the main Build Options Menu.
Select Build and hit Return to Build preconfigured Oscam now.
You should get this page confirming that oscam has been created.
Select Save and hit Return to go back to the main Build Options Menu.
Select Exit to Exit the Simplebuild script and return to terminal.

Replacing old oscam with newly compiled oscam

cp /opt/simplebuild/archiv/* /usr/local/bin/
mv oscam oscam.old
mv oscam-svn* oscam

restart service

killall -9 oscam
/usr/local/bin/oscam -b

Leave a Reply

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