Jump to content


Photo

openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc


  • Please log in to reply
19 replies to this topic

#1 kastell

  • Member
  • 17 posts

0
Neutral

Posted 28 November 2014 - 16:05

Hello forum friends, I am testing the open pli 4.0 and have found a problem not solved, and not normally happens with other images I've tried, it's that when I run the softcam CCcam my boots fine, but if want to have different versions of cccam or different configurations in different directories to / etc, in order to boot a emu such a configuration and other emu a different on another route such /usr/keys/cccam.cfg
The point is to do this in other images, is simple is just loaded in the startup script the emu, the command:
 
 "    /usr/bin/CCcam -t -C /usr/keys/cccam.cfg & "
 
actually, it's just add the -C command /usr/keys/cccam.cfg me perfectly pluck the configuration file that I different than /etc/cccam.cfg directory but Openpli not start me and gives me an error the emu boot, if I try to boot with this command, if only I start the emu without the command and read me file / etc so if boots fine.
 
As the script is edited so you can start the cccam.cfg in a different directory to / etc eg supra /usr/keys/cccam.cfg?
 
Thanks and I hope I doubt resolvais


Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #2 Pr2

  • PLi® Contributor
  • 6,225 posts

+262
Excellent

Posted 28 November 2014 - 16:27

Hi,

 

It is because you don't know how to properly start a sofcam in OpenPLi, please read this:

 

http://forums.openpl...ipt#entry412832

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #3 kastell

  • Member
  • 17 posts

0
Neutral

Posted 28 November 2014 - 18:10

very thanks Pr2, I read this post.



Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #4 kastell

  • Member
  • 17 posts

0
Neutral

Posted 29 November 2014 - 16:13

Hello, I get not make oscam start, I managed to start cccam with the file in the / usr / keys, but if I put the path to your script example in the same place where I do with cccam, oscam not start me, and it is rare because your sample script comes with an example of the variables to use precisely oscam only change the path to / usr / keys but not start.

Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #5 kastell

  • Member
  • 17 posts

0
Neutral

Posted 29 November 2014 - 19:24

Hello, I get not make oscam start, I want to start a version of oscam I have long ago and goes great on other images, is the rev.9437, the meto manually in /usr/bin and give permissions 755. I also have the sample script you recommend Pr2, although I just change the directory configuration files for the sample script, but when he did not start me, I tried to tear it via telnet and gives me an error of shared libraries libusb-1.0.so.0 not found, anyone can help me?

 
Thank you very much everyone.


Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #6 kastell

  • Member
  • 17 posts

0
Neutral

Posted 29 November 2014 - 20:23

anyone can help me for problem of shared libraries in oscam emu?



Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #7 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,509 posts

+118
Excellent

Posted 29 November 2014 - 20:35

no, we are no oscam support board

 

try another board for your question(s)


on the Glassfibre 1GB DVB-C...


Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #8 kastell

  • Member
  • 17 posts

0
Neutral

Posted 29 November 2014 - 20:53

Ok, I understand, thanks forma reply

Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #9 kastell

  • Member
  • 17 posts

0
Neutral

Posted 1 December 2014 - 00:31

Pr2 your script not found with oscam, your script all right with cccam and other params, but oscam crash in open pli 4.0.

I finally start oscam and put the file path where I wanted, but it was because I pick up the script that is created after installing SoftPanel oscam from the menu, this script is different than the offer of softcam_exe and softcam_param variables, is a more simple, but nevertheless script works by more than trying to use me yours blocking the decoder to start oscam. so if it is very rare is that your script works with cccam and parameters -t -C / usr / keys in CCcam goes well, oscam remains always locked. It is a warning if you want to review the script, because I feel great your script and the idea of ​​using variable is not a criticism of your script. Greetings and thanks for your answer.

Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #10 Tech

  • Forum Moderator
    PLi® Core member
  • 14,998 posts

+493
Excellent

Posted 1 December 2014 - 07:04

Yesterday I increased oscam to svn 10057, maybe this will solve your oscam crash issue, although I don't understand why oscam crashes on your box, are you sure this is not caused by a wrong configured config?


Aan de rand van de afgrond is een stap voorwaarts niet altijd vooruitgang....

On the edge of the abyss, a step forward is not always progress....

Hardware: 2x Daily used Vu+ Ultimo 4K - Vu+ Duo 4K SE and a lot more.... - VisioSat BiBigsat - Jultec Unicable Multiswitch 4 positions: 19.2/23.5/28.2 East - Diseqc motorized flatdish antenna

Software : HomeBuild OpenPLi Develop and Scarthgap builds, local cards driven by OsCam

Press the Geplaatste afbeelding button on the buttom right of this message ;)

Have you tried our wiki yet? Many answers can be found in our OpenPLi wiki


Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #11 kastell

  • Member
  • 17 posts

0
Neutral

Posted 1 December 2014 - 12:19

Hi Tech and Pr2, oscam settings that I have is good, this proven in many other images and works well, for example in OpenAtv, OpenVix, BlackHolec, etc.
Here in OpenPli 4.0, also works, it has worked well, but because download the oscam from the menu plugins-softcams through the menu of the receiver, that way if I worked then tried other versions of oscam I usually use, such as Oscam.r9437,  v.1.20 of course, and finally ripped me well but because copy the startup script of oscam emu that was installed by default when you download it from the plugins menu and suits my oscam binary and the route I wanted which was /usr/keys/oscam.conf, ....
 
So what indicated here is that I finally got a good start oscam, both the default version servers OpenPli as another that I downloaded from the official website of oscam, but has been thanks to the script that is created by downloading from the plugins menu.
 
What you stated, is that I think a great idea to start script any universal emu did the friend Pr2, but indicated he has to check something, because if I use this script to start oscam I left the locked deco continuously blocked and must be in the startup script of the softcam_exe variables and softcam_param because if use other script that low default works well all oscam I've had, if those same binary try to boot through the universal script Pr2 friend, get stuck and therefore motioned to review it, because it seems to me one grandisima idea possibility of adapting any emu to that script, through variables and perhaps in other versions of OpenPli works well, but 4.0 in me blocking the deco.
 
With other versions of cccam, using softcam_exe and softcam_param variables such softcam_exe: cccam_213 and softcam_param: -C -t if I /usr/keys/cccam.cfg universal script that works fine, but with no oscam.
 
Anyway, thanks for replying, I already solved the problem, but is more to this "bug" that occurs when I try to universal script friend Pr2, in case you want to review, not anything else.
 
Thank you very much to both of you Have a nice day.


Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #12 Pr2

  • PLi® Contributor
  • 6,225 posts

+262
Excellent

Posted 1 December 2014 - 14:14

My scritp is running really fine the problem is on your side, many end-users used it without any problem. If the script get stuck it is because you use it wrong, you only have 2 line to change in it, but of course parameters should be correct.


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #13 kastell

  • Member
  • 17 posts

0
Neutral

Posted 1 December 2014 - 17:08

My scritp is running really fine the problem is on your side, many end-users used it without any problem. If the script get stuck it is because you use it wrong, you only have 2 line to change in it, but of course parameters should be correct.

Your script running fine with cccam, but with oscam, blocked.

As you well say, just change the two lines, one with the name of the binary oscam and softcam_param single modified your example and one change: "-c /usr/keys," I do not think that command this evil, of all However, as I said, the idea and your script is terrific, in fact I read your wiki in French on page streamboard, and I find your information super useful. but if the script does not work and I blocked the deco, I can not say otherwise, so I mention, and as I say the same parameters in the other script if you boot While oscam and parameters are the same. thanks anyway for helping me, I do not mean to bother you, but I really do not work for any reason, as I said before, with cccam if it works perfectly. greetings.

Edited by kastell, 1 December 2014 - 17:10.


Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #14 Pr2

  • PLi® Contributor
  • 6,225 posts

+262
Excellent

Posted 1 December 2014 - 17:28

I am an OScam user and that script was initialy build and tested for OScam. Show me the two parameters lines: the softcam_exe and the softcam_param 

 

Which editor do you use to edit the file?  Is it compatible with linux format?

 

Which program do you use to transfert your OScam binary to your box?  If it is Filezilla you need to force binary for every file transfert otherwhise if your OScam can be corrupted while transfering with FileZilla if you leave it in automatic mode.

 

Does your OScam start when you launch it manually from the command line? Please test and show me the result.

 

Show me the result of:

 

ls -Fal /etc/init.d/softcam*
ls -Fal /usr/bin/oscam*
ls -Fal /usr/keys/oscam*
[code]
 
And perform:
 
[code]
dos2unix /etc/init.d/softcam*

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #15 kastell

  • Member
  • 17 posts

0
Neutral

Posted 1 December 2014 - 19:12

Hello, I am now working and I'm not at home to use the deco, I have to do tomorrow. regarding the program, DCC and use Filezilla, but the binaries are enjoying themselves, are not corrupt because they work well with another script. also work if I start oscam via telnet commands. Thanks again, greetings.

Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #16 kastell

  • Member
  • 17 posts

0
Neutral

Posted 4 December 2014 - 14:03

Pr2 Hello, I made the commands you indicate me and this is the result, not quite understand the dos2unix command, not have to do, but I copied the result windows shell:

 

root@vusolo:~# ls -Fal /etc/init.d/softcam*
 
lrwxrwxrwx    1 root     root            18 Dec  4 11:39 /etc/init.d/softcam ->softcam.Oscam_9437*
-rwxr-xr-x    1 root     root          1074 Dec  4 12:05 /etc/init.d/softcam.CCcam*
-rwxr-xr-x    1 root     root           332 Dec  4 12:04 /etc/init.d/softcam.CCcam_2.1.3*
-rwxr-xr-x    1 root     root            25 Dec  4 12:04 /etc/init.d/softcam.None*
-rwxr-xr-x    1 root     root          1080 Dec  4 13:34 /etc/init.d/softcam.Oscam_9437*
-rwxr-xr-x    1 root     root           382 Dec  4 12:04 /etc/init.d/softcam.oscam*
root@vusolo:~#
 
root@vusolo:~# ls -Fal /usr/bin/oscam*
 
-rwxr-xr-x    1 root     root        467780 Dec  4 11:01 /usr/bin/oscam*
 
 
root@vusolo:~# ls -Fal /usr/bin/OSC*
 
-rwxr-xr-x    1 root     root        342444 Dec  4 11:01 /usr/bin/OSCam.r9437*
root@vusolo:~#
 
root@vusolo:~# ls -Fal /usr/keys/oscam*
 
-rw-r--r--    1 root     root          1146 Dec  4 11:01 /usr/keys/oscam.conf
-rw-r--r--    1 root     root           355 Dec  4 11:01 /usr/keys/oscam.provid
-rw-r--r--    1 root     root          1588 Dec  4 11:01 /usr/keys/oscam.server
-rw-r--r--    1 root     root          7036 Dec  4 11:01 /usr/keys/oscam.srvid
-rw-r--r--    1 root     root           360 Dec  4 11:01 /usr/keys/oscam.user
root@vusolo:~#
 
 

Edited by kastell, 4 December 2014 - 14:04.


Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #17 kastell

  • Member
  • 17 posts

0
Neutral

Posted 4 December 2014 - 14:31

Forgive the previous post, does not allow me to edit it and did not know how to put it best table saw.

root@vusolo:~# ls -Fal /etc/init.d/softcam*
 
lrwxrwxrwx    1 root     root            18 Dec  4 11:39 /etc/init.d/softcam ->softcam.Oscam_9437*
-rwxr-xr-x    1 root     root          1074 Dec  4 12:05 /etc/init.d/softcam.CCcam*
-rwxr-xr-x    1 root     root           332 Dec  4 12:04 /etc/init.d/softcam.CCcam_2.1.3*
-rwxr-xr-x    1 root     root            25 Dec  4 12:04 /etc/init.d/softcam.None*
-rwxr-xr-x    1 root     root          1080 Dec  4 13:34 /etc/init.d/softcam.Oscam_9437*
-rwxr-xr-x    1 root     root           382 Dec  4 12:04 /etc/init.d/softcam.oscam*
root@vusolo:~#
 
root@vusolo:~# ls -Fal /usr/bin/oscam*
 
-rwxr-xr-x    1 root     root        467780 Dec  4 11:01 /usr/bin/oscam*
 
 
root@vusolo:~# ls -Fal /usr/bin/OSC*
 
-rwxr-xr-x    1 root     root        342444 Dec  4 11:01 /usr/bin/OSCam.r9437*
root@vusolo:~#
 
root@vusolo:~# ls -Fal /usr/keys/oscam*
 
-rw-r--r--    1 root     root          1146 Dec  4 11:01 /usr/keys/oscam.conf
-rw-r--r--    1 root     root           355 Dec  4 11:01 /usr/keys/oscam.provid
-rw-r--r--    1 root     root          1588 Dec  4 11:01 /usr/keys/oscam.server
-rw-r--r--    1 root     root          7036 Dec  4 11:01 /usr/keys/oscam.srvid
-rw-r--r--    1 root     root           360 Dec  4 11:01 /usr/keys/oscam.user
root@vusolo:~#

when I start your script, look like the deco image stays and stays fully locked, even when you restart as usual remains thus continuously even turn it off and turn on, no charge, only solves killing the command telnet and commands starting with another softcam.



Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #18 kastell

  • Member
  • 17 posts

0
Neutral

Posted 4 December 2014 - 14:37

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



Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #19 kastell

  • Member
  • 17 posts

0
Neutral

Posted 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


Re: openpli 4.0 error on boot cccam if I put my cccam cfg another different route to etc #20 kastell

  • Member
  • 17 posts

0
Neutral

Posted 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.




4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users