Jump to content


kastell

Member Since 28 Nov 2014
Offline Last Active 21 Dec 2014 23:14
-----

Posts I've Made

In Topic: openpli 4.0 error on boot cccam if I put my cccam cfg another different route...

5 December 2014 - 17:01

Hola Pr2, observas algo anormal? Pr2 Hello, you notice anything unusual ?, do not understand what you indicate with your dos2unix command? but copy the results as it.


In Topic: Good alternative to OpenPLI ?

4 December 2014 - 18:23

 

I think that OpenAtv it's wonderfoul firmware, and for your dreambox can be Newnigma2.

Yes, perfectly said :D :D :D

 

I don't speak english, jajajajaj, "wonderful" I meant :P  :P


In Topic: Good alternative to OpenPLI ?

4 December 2014 - 16:16

I think that OpenAtv it's wonderfoul firmware, and for your dreambox can be Newnigma2.


In Topic: openpli 4.0 error on boot cccam if I put my cccam cfg another different route...

4 December 2014 - 16:01

If I run with your script, oscam boot-error:

#!/bin/sh
# Define parameters here
# start-exe = executable to launch
# softcam_param = full command line parameters to pass to executable
# softcam_version = For information only, version of the executable

softcam_exe="/usr/bin/OSCam.r9437"
softcam_param="-c /usr/keys"
softcam_version="Oscam 1.20 r9437"

remove_tmp ()
{
 [ -e /tmp/ecm.info ] && rm -rf /tmp/ecm.info
 [ -e /tmp/.oscam ] && rm -rf /tmp/.oscam
 [ -e /tmp/.console ] && rm -rf /tmp/.console
 [ -e /tmp/camd.socket ] && rm -rf /tmp/camd.socket
 }

 case "$1" in
start)
exec start-stop-daemon -S -x $softcam_exe -- $softcam_param
;;
stop)
exec start-stop-daemon -K -R 2 -x $softcam_exe &
sleep 2
ps | grep $softcam_exe | grep -v grep > /dev/null
if [ $? -eq 0 ]
then
killall -9 $softcam_exe 2>/dev/null
fi
sleep 2
remove_tmp
;;
 restart|reload)
$0 stop
sleep 1
$0 start
;;
 version)
echo $softcam_version
;;
 info)
  echo "Oscam 1.20 inestable r9437"
  ;;
 values)
echo "Command line started:" 
echo $softcam_exe $softcam_param
;;
 *)
echo "Usage: $0 start|stop|restart|version|info|values"
exit 1
;;
 esac
 exit 0

If I run same oscam binary with these other script, emu works fine:

#!/bin/sh

remove_tmp ()
{
 [ -e /tmp/ecm.info ] && rm -rf /tmp/ecm.info
 [ -e /tmp/.oscam ] && rm -rf /tmp/.oscam
 [ -e /tmp/.console ] && rm -rf /tmp/.console
 [ -e /tmp/camd.socket ] && rm -rf /tmp/camd.socket
 }

case "$1" in
start)
	ulimit -s 1024
	/usr/bin/OSCam.r9437 --config-dir /usr/keys --daemon --pidfile /tmp/oscam.pid --restart 2 --utf8
	;;
stop)
	kill `cat /tmp/oscam.pid` 2> /dev/null
	;;
restart|reload)
	$0 stop
	sleep 1
	$0 start
	;;
version)
	echo "inestable 1.20"
	;;
info)
	echo "oscam r9437"
	;;
*)
	echo "Usage: $0 start|stop|restart"
	exit 1
	;;
esac
exit 0

It is strange, yes, but that's what happens to me, if I start oscam for by telnet command, this works well.

/usr/bin/OSCam.r9437 -c /usr/keys

In Topic: openpli 4.0 error on boot cccam if I put my cccam cfg another different route...

4 December 2014 - 14:37

http://www.casimages...246053.jpg.html