oscam on PGI image

Messages
700
Hi all
Iam trying to get oscam up and runnning on new pgi image..

However it keeps starting mgmcamd insteam..
i have added SOFTCAM="oscam"
on my pgi.conf like on older pgi images.
The line wasent on the file by default i had to add it...
 

Philphil

Registered
Messages
125
Hi all
Iam trying to get oscam up and runnning on new pgi image..

However it keeps starting mgmcamd insteam..
i have added SOFTCAM="oscam"
on my pgi.conf like on older pgi images.
The line wasent on the file by default i had to add it...

I'm afraid the new PGI images are not exactly emu friendly!
The easiest way to run oscam is to place a stapi dgs oscam (not the one they provide in their addons package) called "oscamstap" into /var/bin chmod it 755 and dump oscam config files in /var/etc/oscam as usual.
Then create the following script and call it scrplg-oscam-start.sh

#!/bin/sh
# title:Start Stapi Oscam
/var/bin/oscamstap -c /var/etc/oscam &

You can run the script by pressing www button and selecting "Start stapi Oscam"

A couple of observations.
1) The oscam the PGI addons pack provides seems to be a converted dvbapi oscam that needs an api wrapper. The Stapi dgs oscam doesn't need these extra files (so I don't know why they didn't use the Stapi oscam in the first place!)
2) The startup files for oscam and other emus and stuff are not served by pgi.conf anymore but are in /var/bin/init.d and are just called start.something or stop.something. I haven't been able to make these work tho yet. But I have deleted the one called start.mgcamd and this stops mgcamd starting I think.
 
Last edited:

dorosk

Registered
Messages
100
In the new PGI you do not need to put the cam in PGI.cfg
For the cam to start automatically when you boot, you copy one of the files mgcam.start, oscam.start, etc. in the var/bin/init.d directory.
To be able to restart the cam manually, in var/bin rename the *.start file you are using to yellow.sh this way you can access it directly from the yellow button.
(the above works for me with mgcamd, it gave me errors with oscam)
 

nilssonn

Registered
Messages
40
I to have similur problem
I have flashed it to my ipbox 9000 and that all worked.
I have installed cccam and configured it and changed pgi.conf to start cccam
But when i restart softcam it allways says restarting mgcamd.
What im i doing wrong?
How can i start cccam automatic
 

Philphil

Registered
Messages
125
I to have similur problem
I have flashed it to my ipbox 9000 and that all worked.
I have installed cccam and configured it and changed pgi.conf to start cccam
But when i restart softcam it allways says restarting mgcamd.
What im i doing wrong?
How can i start cccam automatic

Hi mate
Have you read the 2nd post in this thread?

The pgi.conf no longer supports emu start.
You need to use the scripts contained in /var/bin/init.d folder to do this. Although I haven't heard of anyone yet who has managed to get these scripts working.
 
Messages
700
Just telnet to the box and type

Code:
ln -s /var/bin/start.oscam /var/bin/init.d/start.oscam
then reboot
Oscam will now start..
If you want to be able to restart the emu
just edit the yelow.sh

like this!

Code:
#!/bin/sh
# title:Start Stapi oscam
echo "starting oscam"
killall oscam
/var/bin/oscam -c /var/etc/oscam &
you may need to use other oscam version as the version in the package was slow for me..
just make sure the emu has chmod 755
 
Last edited:
Top