Posts by mcsshare
-
-
For all future:
Make necessary folders:
Quote/var/bin
/var/bin/oscam/
/var/bin/oscam/etc/
/var/bin/oscam/log/
Make necessary files:
Quote/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
Quote#!/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
------------------------------------------------------------------
Quotewhen 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:
Quoteextract 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
-
Yes, but If he do not have time for ourselves, how we have time for him.
Compiling is not easy if there are not enough before-knowledge.
I do not known how it explain to easier .
1- need linux (debian or ubuntu)
# apt install subversion dialog make gcc nano
2- need toolchains (for our processor)
3- download oscam-svn
# cd /tmp
# svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn
4- configure oscam (according to your needs)
# cd oscam-svn
# make config
5- compile oscam (according to your processor and script)
# make CROSS=$TOOLCHAIN/opt/cross/mipsel/bin/mipsel-unknown-linux-gnu- OSCAM_BIN=/usr/bin/oscam CONF_DIR=/etc/tuxbox/config/
If not have enough knowledge, maybe have problems with linux, toolchains ...etc
but it's worth trying
-
You get enough information.
If that's not enough for you, I'm sorry.
For a long time, people in forums are not seeking help.
People are looking for someone to work for them.
p.s.
- Image is inexpensive
- file location is important (look in script - /etc/init.d/YOUR SCRIPT NAME)
for exemple:
oscam bin file = /usr/bin/oscam
oscam configs = /etc/oscam/config/
then
make CROSS=$TOOLCHAIN/opt/cross/mipsel/bin/mipsel-unknown-linux-gnu- OSCAM_BIN=/usr/bin/oscam CONF_DIR=/etc/oscam/config/
Use toolchain for your router and file location from your script.
If yon not known which tools is good, try a few.
-
Quote
# apt install subversion dialog make gcc nano
# cd /tmp
# svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn
# cd oscam-svn
# make config
Setup necessary option
Quote# make CROSS=$TOOLCHAIN/opt/cross/mipsel/bin/mipsel-unknown-linux-gnu- OSCAM_BIN=/usr/bin/oscam CONF_DIR=/etc/tuxbox/config/
This is for "MIPS". (need "mipsel" toolchain).
For other, download necessary toolchain and extract it in /opt/cross/
see the example above.
all toolchain :
http://www.streamboard.tv/wbb2/tut-pics/toolchains/
more info:
-
-
My recommendation, compile according to your needs.
-