Hi master G
I assumed that you and the rest of the team where very busy and well done for all your hard work getting this great forum back up and running. I will explain now how I got it working in the end. I formatted with a fresh install of ubuntu 10.10 and I did use the CCcam/Oscam auto install file. It installed with no problems whatsoever and ran very well. I decided I wanted to install the Oscam Auto Update script as I wanted to use the latest build and after following the instructions I could not get it to run as it should. However I searched high and low for reasons why it wouldn't run properly and I came up with this bit of info. When you install a fresh Ubuntu op system it doesn't for whatever reason even after updating it fully install all the applications you need to build the files, directory's etc u need to run the script. You have to install them yourself. Here is the list I had to install before it would run. (These words are not mine I found them elsewhere but they worked for me)
This is a little howto for compiling oscam on some linux computers (debian, ubuntu, ...)
you need these prerequisites before starting (they can be installed with this command sudo apt-get install <package_name> or with synaptic) :
build-essential
g++
libssl-dev
libusb-1.0-0-dev
libpcsclite-dev
cmake
sample : sudo apt-get install libssl-dev
After I had installed these I followed the instructions at the start of this thread.
sudo mkdir /var/local/bin/
I then did
sudo nano /var/local/bin/oscam_update.sh
I then went to the above file and inserted the following content bellow. (The only thing I changed was the http address it go's to for the latest oscam version)
###### #### ##### ##### ### ###
## ## ## ## ## ## ## ## ##
## ## ##### ## ####### ## ## ##
## ## ## ## ## ## ## ##
###### #### ##### ## ## ## ## R
####################################################################
# 18 Jan 2011
# By: billyk
# Description: Automaticaly check and update to latest oscam version
# Also restars it after update
####################################################################
# - You can modify it to fit your needs :)
# - Add # infront of any line that you don't want to execute
####################################################################
echo "--> 1rst go to oscam's dir"
cd /usr/local/bin
echo " [ OK ] "
echo "--> Backup previus version"
#you must create a folder named: oscam_backups under /usr/local/bin
sudo mv ./oscam ./oscam_backups/oscam_$(date +%m-%d-%Y-%H:%M)
echo " [ OK ] "
echo "--> Let's remove old folder..."
sudo rm -rf oscam-svn
echo " [ OK ] "
echo "--> Checking for latest version and create oscam-svn dir..."
sudo svn co http://streamboard.gmc.to/svn/oscam/trunk oscam-svn
echo " [ OK ] "
echo "--> Change dir to: oscam-svn"
cd oscam-svn/
echo " [ OK ] "
echo "--> Create new folder: build_dir"
sudo mkdir build_dir
echo " [ OK ] "
echo "Change dir to: build_dir"
cd build_dir
echo " [ OK ] "
echo "--> Compile new version with Smargo smartreader support"
sudo cmake -DHAVE_LIBUSB=1 /usr/local/bin/oscam-svn
# You must have the needed libs to run smartreader with oscam.
# If you do not want smartreader support...
# ...simply remove [-DHAVE_LIBUSB=1]
# so you will have this line:
# sudo cmake /usr/local/bin/oscam-svn
echo " [ OK ] "
echo "--> Now... make!"
sudo make
echo " [ OK ] "
echo "--> Finally we install the latest fersion..."
sudo make install
echo " [ OK ] "
echo "---> ...so it's time to clean..."
sudo make clean
echo "OK. Now you have the latest oscam version!"
#########################################################################
# Also you can stop and start oscam from this script
# The only thing you have to do is to remove the # from following lines...
##########################################################################
if ps x |grep -v grep |grep -c oscam >/dev/null
then
echo "Oscam is running so we will stop it & restart it"
sudo killall -9 oscam
echo "Oscam killed"
sleep 1
echo "...so going to start it"
sudo /usr/local/bin/oscam -b &
echo "Done. Oscam is running!"
echo "If oscam's settings are OK, you will have picture at 5 to 10 seconds!"
echo "Chears! :)"
else
echo "Starting oscam..."
sudo /usr/local/bin/oscam -b &
fi
##########################################################################
I then went to /usr/local/bin and created a folder called oscam_backups
I then used the command
sudo chmod 755 /var/local/bin/oscam_update.sh
Then I ran it using the command
sudo /var/local/bin/oscam_update.sh
It ran removed the old oscam, placed it in the oscam_backups folder and then placed the latest version of oscam with Smartreader support in it's place and restarted everything.
Hope this helps someone out
Regards