#1
Posted 12 September 2011 - 10:34
I try to use oscam with my dreambox 7000 with open-pli beta image.
I put oscam (the bin file) in var/bin
I put oscam config files in etc/tuxbox/config
I also add in plimgr/cams/oscam (a txt file called oscam) with in this txt file 1.00
When I go to blue-panel-softcam manager, i can see oscam 1.00 but nothing happend when i use this cam on as defaut cam
When I start via telnet the command: oscam -d 255 , oscam started and It work well the channel are decrypted
so my question is, how to start oscam via plimgr ? perhaps i need to put a script ? a mistake elsewhere ?
tnx for help
Jack
Re: OSCAM don't start automatiquely #2
Re: OSCAM don't start automatiquely #3
Posted 12 September 2011 - 12:56
You can install it from the extension menu... it will put the binary and startup scripts in the correct places for you.
The configs will be in /etc/tuxbox/config.
Have fun..!
Hello Rocko,
Tnx for answers.
In pli enigma1 there is no oscam in the manage software menuto install automatiquely.
I put in manualy the oscam bin file in /var/bin & config in /etc/tuxbox/config
To see in the display menu softcam menu, I put in plimgr/cams/oscam (text file that contains 1.00)
the is also a script oscam in plimgr/scripts
here is the script oscam
#!/bin/sh
CAMNAME2="oscam"
case "$1" in
start)
echo "[SCRIPT] $1: Starting $CAMNAME2"
/var/bin/oscam &
;;
stop)
echo "[SCRIPT] $1: Stopping $CAMNAME2"
/var/bin/pcamd -kill >/dev/null 2>&1
# oscam does not always seems to stop
usleep 100000
pids=`pidof oscam`
if [ -n "$pids" ] ; then
kill -9 $pids > /dev/null 2>&1
fi
;;
*)
$0 stop
exit 1
;;
esac
exit 0
perhaps i must move this script to /bin/sh ??? or change the line /var/bin/pcam BY /var/bin/cams ???
tnx for help
Jack
Re: OSCAM don't start automatiquely #4
Posted 12 September 2011 - 15:35
autostart in Linux is done with runlevel scripts...
(1) create /etc/init.d/softcam.oscam (your start skript for oscam)
(2) create a link to this file like follows:
cd /etc/rcS.d; ln -s ./init.d/softcam.oscam .
However I dont know if there is anything special about E1.
greetz,
rokco
Re: OSCAM don't start automatiquely #5
Posted 12 September 2011 - 16:28
That's indeed the Linux solution, but doesn't work that way for the DM7000.OH SORRY! Did not recognize that you are using Enigma1!
autostart in Linux is done with runlevel scripts...
(1) create /etc/init.d/softcam.oscam (your start skript for oscam)
(2) create a link to this file like follows:
cd /etc/rcS.d; ln -s ./init.d/softcam.oscam .
However I dont know if there is anything special about E1.
greetz,
rokco
@jhack159: did you make the script executable?
Re: OSCAM don't start automatiquely #6
Posted 13 September 2011 - 09:16
That's indeed the Linux solution, but doesn't work that way for the DM7000.OH SORRY! Did not recognize that you are using Enigma1!
autostart in Linux is done with runlevel scripts...
(1) create /etc/init.d/softcam.oscam (your start skript for oscam)
(2) create a link to this file like follows:
cd /etc/rcS.d; ln -s ./init.d/softcam.oscam .
However I dont know if there is anything special about E1.
greetz,
rokco
@jhack159: did you make the script executable?
@dAF2000 tnx for help but two questions
1) in softcam.oscam must a put my script in it ?
2) in de rcS.d must i put the line "-s ./init.d.sofcam.oscam" ??
Hello@ rokco
What do you mind with "make script executable" ?
Sorry it's my first step under linux
tnx for all help
Jack
Re: OSCAM don't start automatiquely #7
Posted 13 September 2011 - 09:24
chmod a+x /var/etc/plimgr/scripts/softcam.oscam
(Check if I typed the path /var/etc/... right. I don't have a DM7000 here, right now)
By the way, is the name of the file "softcam.oscam" right? I think you will find more scripts in that directory, for mgcamd for example. I don't know if they are called softcam.mgcamd or just mgcamd.
Re: OSCAM don't start automatiquely #8
Re: OSCAM don't start automatiquely #9
Posted 14 September 2011 - 07:25
Just do this:
chmod a+x /var/etc/plimgr/scripts/softcam.oscam
(Check if I typed the path /var/etc/... right. I don't have a DM7000 here, right now)
By the way, is the name of the file "softcam.oscam" right? I think you will find more scripts in that directory, for mgcamd for example. I don't know if they are called softcam.mgcamd or just mgcamd.
Hello,
Now it's working fine
It was simply the right on the script file /var/etc/plimgr/scripts/oscam (was 600 -> set to 755)
TNX FOR YOUR HELP
Re: OSCAM don't start automatiquely #10
Re: OSCAM don't start automatiquely #11
Re: OSCAM don't start automatiquely #12
Posted 14 September 2011 - 07:25
Just do this:
chmod a+x /var/etc/plimgr/scripts/softcam.oscam
(Check if I typed the path /var/etc/... right. I don't have a DM7000 here, right now)
By the way, is the name of the file "softcam.oscam" right? I think you will find more scripts in that directory, for mgcamd for example. I don't know if they are called softcam.mgcamd or just mgcamd.
Hello,
Now it's working fine
It was simply the right on the script file /var/etc/plimgr/scripts/oscam (was 600 -> set to 755)
TNX FOR YOUR HELP
Re: OSCAM don't start automatiquely #13
Re: OSCAM don't start automatiquely #14
Re: OSCAM don't start automatiquely #15
Posted 14 September 2011 - 22:25
Yes, it does.Will above solution work on a DM600 as well?
Thx
Re: OSCAM don't start automatiquely #16
Re: OSCAM don't start automatiquely #17
Posted 24 October 2011 - 15:52
I tried to use this solution described above but it does not work.
I have such script called oscam in the directory /var/etc/plimgr/scripts/ when I go manually and execute this script and it is ok, oscam starts but there is no any autostart :-(
After reboot I need to start it always manually via telnet.
Any hints for me?
Re: OSCAM don't start automatiquely #18
Posted 24 October 2011 - 17:10
Try googling for expalanations & uses of SysV ( https://www.google.c...sv+init+scripts )
--
hemi
Ps. By default, Enigma2 is run from runlevel 3
Edited by hemispherical1, 24 October 2011 - 17:12.
Also tagged with one or more of these keywords: DM7000
Clean bare OS for DM7000 for webradioStarted by pacmyc, 24 Aug 2020 webradio, internetradio, DM7000 |
|
|||
Moving var files to usb flashStarted by trondny, 13 Nov 2014 dm7000, cccam2.30 |
|
|||
VU+ Solo2
Downloaden plugins, skins & instellingen ala DM7000Started by T_I, 26 May 2013 VU+ Solo2, DM7000 |
|
|||
keine Builds mehr für DM7000?Started by zrainer2, 24 May 2013 DM7000 |
|
|||
DM7000 Brick (please help)Started by thekingfisher, 21 Mar 2012 boot, stuck, dm7000 |
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users