Use Simplebuild, it makes life very easy.
compile oscam with this tutorial and it works
Code
apt-get update
apt-get -y install apt-utils dialog usbutils
apt-get -y install gcc g++ wget
apt-get -y install build-essential subversion libpcsclite1 libpcsclite-dev
apt-get -y install libssl-dev cmake make
apt-get -y install libusb-1.0-0-dev nano
apt-get install pcscd pcsc-tools
Then create the following symbolic link so Smartreader support is added during the compile;
Code
ln -s /usr/lib/arm-linux-gnueabihf/libusb-1.0.a /usr/local/lib/libusb-1.0.a
Get the Oscam sources;
Code
cd /usr/src
svn co http://www.streamboard.tv/svn/oscam/trunk oscam-svn
Compile Oscam (note the two dots after the 5th line are there because they need to be).
Code
cd oscam-svn
mkdir build
chmod 755 build
cd build
cmake -DHAVE_LIBUSB=1 -DHAVE_PCSC=1 -DWEBIF=1 -DHAVE_LIBCRYPTO=1 -DWITH_SSL=1 ..
make
Make yourself a coffee - you have a bit of time and deserve one!
Now it is installed - we need to move it;
Code
cd /usr/src/oscam-svn/build
cp oscam /var/local/
and move the list_smargo tool;
Code
cd /usr/src/oscam-svn/build/utils
cp list_smargo /var/local/
They are both now in /var/local - now we need to change permissions;
Code
cd /var/local
chmod 755 oscam
chmod 755 list_smargo
Now oscam needs to start at boot by adding it to rc.local, and you can edit with nano;
Code
nano /etc/rc.local
arrow down to a line just above 'exit 0' and below 'fi', and add the following;
Code
/var/local/oscam &
To save, exit with 'CTRL' and 'x' - select 'y' and 'enter'.
Oscam will now run at boot.
To get it to restart daily at 5.45 am and to free memory every hour, edit the crontab file;
Code
nano /etc/crontab
add the following two new lines;
Code
05 * * * * root echo 3 > /proc/sys/vm/drop_caches
45 05 * * * root /sbin/reboot
----------------------------------------------------------------
install simplebuild with this select the emu patch and compile it I create two oscam files
1 cd /opt/
2 svn co https://github.com/gorgone/s3_releases.git/trunk/ s3
3 cd s3
4 chmod 777 s3
5 ./s3 menu
transformar una imagen en png
oscam-svn11578-ubuntu-webif-dvbapi 1.2mb
oscam-svn11578-ubuntu-webif-dvbapi.debug 4.3 mb
I renamed the other oscam to osam-old and this oscam-svn11578-ubuntu-webif-dvbapi 1.2mb to oscam but it doesn't work I don't know how to start it
the old oscam boots me with / var / local / oscam &
Last edited: