For all future:
Make necessary folders:
Quote/var/bin
/var/bin/oscam/
/var/bin/oscam/etc/
/var/bin/oscam/log/
Make necessary files:
QuoteDisplay More/var/bin/oscam/log/oscam.log
/var/bin/oscam/log/oscam_crash.log
/var/bin/oscam/etc/oscam.conf
/var/bin/oscam/etc/oscam.server
/var/bin/oscam/etc/oscam.user
/etc/init.d/oscam
Change this files with Your config files:
Quote/var/bin/oscam/etc/oscam.conf
/var/bin/oscam/etc/oscam.server
/var/bin/oscam/etc/oscam.user
open:
Quote/etc/init.d/oscam
Paste this script and save it then set attributes to 755
QuoteDisplay More#!/bin/bash
if ps x |grep -v grep |grep -c oscam >/dev/null
then
echo "oscam work fine"
else
echo "Restarting oscam"
pkill oscam
sleep 2
rm -f /var/bin/oscam/log/oscam.log
echo "oscam je pao :" `date` >> /var/bin/oscam/log/oscam_crash.log
/var/bin/oscam/oscam >>/dev/null &
fi
Enable script
Quote# chkconfig oscam on
Install necessary sotware
Quote# apt install nano subversion dialog make gcc
------------------------------------------------------------------
Now we start compiling
------------------------------------------------------------------
Quote
when download finish
Quote# cd oscam-svn
# make config
Adjust as appropriate.
I recommended for beginners:
- Adjust only necessary
- Not adjust "OpenSSL support"
SAVE and OK
compile for this server:
Quotemake OSCAM_BIN=/var/bin/oscam/oscam CONF_DIR=/var/bin/oscam/etc
reboot server
- all work fine
(this tutorial compile NEW OSCAM in linux debian/ubuntu server )
Oscam will be start automaticly.
If the oscam destruction, report see in:
/var/bin/oscam/log/oscam_crash.log
--------------------------------------------------------------
For all other processors
--------------------------------------------------------------
Dowload corresponding tools from:
Quote
extract to /opt/cross/
compile using command:
Quote# make CROSS=$TOOLCHAIN/opt/cross/mipsel/bin/mipsel-unknown-linux-gnu- OSCAM_BIN=/usr/bin/oscam CONF_DIR=/etc/tuxbox/config/
/usr/bin/oscam = location your BIN file
/etc/tuxbox/config/ = location your config files
/opt/cross/mipsel/bin/mipsel-unknown-linux-gnu- = tools for your processor
for more info read several posts earlier!
regards