bba34
23-07-10, 17:22
Hi,
i Want your help to install oscam with cccam214
I want to use oscam to read my tnt sat card beacuse cccam can't read it!
But oscam is only server, so i want to use cccam as client!
I have put oscam in /usr/bin and chmod it to 755
I have put: softcam.oscam in /etc/init.d
#!/bin/sh
case "$1" in
start)
exec start-stop-daemon -S -b -x /usr/bin/oscam
exit
;;
stop)
exec start-stop-daemon -K -R 2 -x /usr/bin/oscam
exit
;;
restart|reload)
$0 stop
sleep 1
$0 start
;;
version)
echo "Oscam"
;;
info)
echo "Oscam"
;;
*)
echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0
And modify the softcam.cccam
#!/bin/sh
case "$1" in
start)
sleep 10
exec start-stop-daemon -S -x /usr/bin/CCcam
;;
stop)
exec start-stop-daemon -K -R 2 -x /usr/bin/CCcam
;;
restart|reload)
$0 stop
sleep 10
$0 start
;;
version)
echo "2.1.4"
;;
info)
echo "CCcam 2.1.4"
;;
*)
echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0
Have another question, before i used vti image, with i can launch cccam and oscam manually with this command:
/usr/bin/oscam
/usr/bin/CCcam
And to stop it with this:
killall -9 oscam
killall -9 CCcam
But with Pli image, this command line don't work
Want to know if you have any solution for that
thanks for helping!!
EDIT
New info:
I have delete the file softcam.cccam and softcam.oscam
So when i reboot no softcam is launched!
I have tried to laucnch manually oscam, i get is:
root@vuduo ~ # /usr/bin/oscam
/usr/bin/oscam: line 1: ELF�]@4�W
4: not found
/usr/bin/oscam: line 2: syntax error: "(" unexpected (expecting ")")
I used the last oscam mips tuxbo version downloda from: http://www.ump2002.net/index.php?&direction=0&order=mod&directory=OSCam
thanks for helping
i Want your help to install oscam with cccam214
I want to use oscam to read my tnt sat card beacuse cccam can't read it!
But oscam is only server, so i want to use cccam as client!
I have put oscam in /usr/bin and chmod it to 755
I have put: softcam.oscam in /etc/init.d
#!/bin/sh
case "$1" in
start)
exec start-stop-daemon -S -b -x /usr/bin/oscam
exit
;;
stop)
exec start-stop-daemon -K -R 2 -x /usr/bin/oscam
exit
;;
restart|reload)
$0 stop
sleep 1
$0 start
;;
version)
echo "Oscam"
;;
info)
echo "Oscam"
;;
*)
echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0
And modify the softcam.cccam
#!/bin/sh
case "$1" in
start)
sleep 10
exec start-stop-daemon -S -x /usr/bin/CCcam
;;
stop)
exec start-stop-daemon -K -R 2 -x /usr/bin/CCcam
;;
restart|reload)
$0 stop
sleep 10
$0 start
;;
version)
echo "2.1.4"
;;
info)
echo "CCcam 2.1.4"
;;
*)
echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0
Have another question, before i used vti image, with i can launch cccam and oscam manually with this command:
/usr/bin/oscam
/usr/bin/CCcam
And to stop it with this:
killall -9 oscam
killall -9 CCcam
But with Pli image, this command line don't work
Want to know if you have any solution for that
thanks for helping!!
EDIT
New info:
I have delete the file softcam.cccam and softcam.oscam
So when i reboot no softcam is launched!
I have tried to laucnch manually oscam, i get is:
root@vuduo ~ # /usr/bin/oscam
/usr/bin/oscam: line 1: ELF�]@4�W
4: not found
/usr/bin/oscam: line 2: syntax error: "(" unexpected (expecting ")")
I used the last oscam mips tuxbo version downloda from: http://www.ump2002.net/index.php?&direction=0&order=mod&directory=OSCam
thanks for helping