Jump to content


Photo

OpenPLi 8.0 and mgcamd


  • Please log in to reply
105 replies to this topic

#1 Shox

  • Member
  • 5 posts

0
Neutral

Posted 8 January 2021 - 19:05

Hello,

 

I am trying to install mgcamd on 8.0 but having trouble, i hade it working on 7.x with soft links to:

 

ln -s libcrypto.so.1.0.2  libcrypto.so.1.0.0
ln -s libssl.so.1.0.2 libssl.so.1.0.0

 

but now getting error:

mgcamd: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

 

Any pointer in the right direction would be appriciated!

 



Re: OpenPLi 8.0 and mgcamd #2 alias haha

  • Senior Member
  • 357 posts

+2
Neutral

Posted 9 January 2021 - 06:46

Again that discussion, it's every new version build the same....


Vu+ duo 4K | Vu+ duo²

Zgemma H9S SE | Zgemma H9 Combo

Wavefrontier T90


Re: OpenPLi 8.0 and mgcamd #3 Shox

  • Member
  • 5 posts

0
Neutral

Posted 9 January 2021 - 10:56

Again that discussion, it's every new version build the same....

Yes it´s about helping each other!



Re: OpenPLi 8.0 and mgcamd #4 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 9 January 2021 - 11:33

we're now on openssl 1.1.1
try to install libcrypto-compat package:

opkg install libcrypto-compat

not completely sure if it helps though...
it might be the time to finally dump this ancient softcam in the junkyard, and switch to oscam (?)

 


True sarcasm doesn't need green font...

Re: OpenPLi 8.0 and mgcamd #5 Shox

  • Member
  • 5 posts

0
Neutral

Posted 9 January 2021 - 16:27

we're now on openssl 1.1.1
try to install libcrypto-compat package:

opkg install libcrypto-compat

not completely sure if it helps though...
it might be the time to finally dump this ancient softcam in the junkyard, and switch to oscam (?)

Thanks, yes i have tried compat, but same error.

I have also tried oscam, but not got i upp and running yet, i´m a newbe at that one.

Guess i will revert to 7.3 and play arround with oscam and learn, while i have a working mgcamd mean while there :)



Re: OpenPLi 8.0 and mgcamd #6 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 9 January 2021 - 16:45

Why do you need it...? As far I know everything can be solved with OSCAM.....

 

mgcamd is a binary blob and nobody has the sources as far I know and it is old and therefore it needs old libraries....  Once it will be game over!!!


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: OpenPLi 8.0 and mgcamd #7 Shox

  • Member
  • 5 posts

0
Neutral

Posted 9 January 2021 - 17:10

Why do you need it...? As far I know everything can be solved with OSCAM.....

 

mgcamd is a binary blob and nobody has the sources as far I know and it is old and therefore it needs old libraries....  Once it will be game over!!!

:) i don´t need it, just have used it for years, and has been the easy way to go without any major problems so far, but it seems the time has come to abandon it!

It´s like old cars you love them until you try a new one.



Re: OpenPLi 8.0 and mgcamd #8 Pr2

  • PLi® Contributor
  • 6,074 posts

+257
Excellent

Posted 9 January 2021 - 17:23

mgcamd support multiple cards sent on one newcs connexion while OScam only support one card per newcs line. I think that's the reason why some people are still using mgcamd.


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 8.0 and mgcamd #9 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 9 January 2021 - 17:33

As far I know oscam also do multiple cards per newcs line???
Here in the Netherlands we have ziggo and in Oscam you need to fill in keys etc while cccam has the key hardcoded inside... indeed Oscam does not contain any keys.... so for Oscam you need a deeper google action..::

Edited by littlesat, 9 January 2021 - 17:35.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: OpenPLi 8.0 and mgcamd #10 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 14 January 2021 - 12:55

I also confirm the problem with mgcamd.

If in version 7.3 it was enough to make a symlink:

ln -s libcrypto.so.1.0.2  libcrypto.so.1.0.0

ln -s libssl.so.1.0.2 libssl.so.1.0.0

ln -s /lib/ld-2.30.so /lib/ld-linux.so.3

In 8.0 it doesn't work anymore.It worked for me when i added files libcrypto.so.1.0.0,libcrypt.so.1,libssl.so.1.0.0 and ln -s /lib/ld-2.30.so /lib/ld-linux.so.3.

But it doesn't have to be that way.


Edited by foxbob, 14 January 2021 - 12:55.


Re: OpenPLi 8.0 and mgcamd #11 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 18 January 2021 - 08:51

I managed to build the plugin mgcamd.It works,but is not removed by means of the image.OpenPli-develop.

Oscam and ncam are deleted without errors.

Attached Files



Re: OpenPLi 8.0 and mgcamd #12 WanWizard

  • PLi® Core member
  • 68,588 posts

+1,738
Excellent

Posted 18 January 2021 - 13:32

We don't have a recipe for 1.46, so what's in your recipe?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi 8.0 and mgcamd #13 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 18 January 2021 - 14:10

Here is the file.

 

 

Attached Files



Re: OpenPLi 8.0 and mgcamd #14 WanWizard

  • PLi® Core member
  • 68,588 posts

+1,738
Excellent

Posted 18 January 2021 - 14:21

Difficult to see what fails. Perhaps install it, and run the prerm manually (it should be in /var/opkg/... somewhere


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi 8.0 and mgcamd #15 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 18 January 2021 - 14:59

It is installed and works,but cannot be removed via the uninstall menu.



Re: OpenPLi 8.0 and mgcamd #16 WanWizard

  • PLi® Core member
  • 68,588 posts

+1,738
Excellent

Posted 18 January 2021 - 15:33

Thats why I suggested to run the prerm script manually, so you can see the actual error.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenPLi 8.0 and mgcamd #17 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 18 January 2021 - 15:46

Created sh script.

root@et1x000:/usr/script# sh prerm.sh
no /usr/bin/mgcamd found; none killed
root@et1x000:/usr/script# 
root@et1x000:~# rm -f /lib/ld-linux.so.3
root@et1x000:~# rm -f "/etc/init.d/softcam"
root@et1x000:~# ln -s "/etc/init.d/softcam.None" "/etc/init.d/softcam"

Something I am doing wrong.



Re: OpenPLi 8.0 and mgcamd #18 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 19 January 2021 - 09:11

regarding softcam prerm script, it looks like you hit a bug that's been around for ages...

I played a bit with older softcams from the feed last night and it turned out that you are not able to remove mgcamd/cccam softcam package when it is not running;
turns out that our softcam stop script is missing necessary option for start-stop-daemon: -o | --oknodo
 

Removing enigma2-plugin-softcams-mgcamd135a (1.35a) from root...
no /usr/bin/mgcamd found; none killed
Collected errors:
* pkg_run_script: package "enigma2-plugin-softcams-mgcamd135a" prerm script returned status 1.
* opkg_remove_pkg: not removing package "enigma2-plugin-softcams-mgcamd135a", prerm script failed
You can force removal of packages with failed prerm scripts with the option:
--force-remove

prerm script:

/etc/init.d/softcam.mgcamd stop
OLDLINK="`readlink -f /etc/init.d/softcam`"
...

softcam stop script:

CAMSTOP ?= "exec start-stop-daemon -K -R 2 -x /usr/bin/${CAMNAME}"

and here start-stop-daemon manual:

start-stop-daemon
-K, --stop
Checks for the existence of a specified process. If such
a process exists, start-stop-daemon sends it the signal
specified by --signal, and exits with error status 0. If
such a process does not exist, start-stop-daemon exits
with error status 1 (0 if --oknodo is specified)
. If
--retry is specified, then start-stop-daemon will check
that the process(es) have terminated.

-o, --oknodo
Return exit status 0 instead of 1 if no actions are (would
be) taken.


EXIT STATUS
0 The requested action was performed. If --oknodo was
specified, it's also possible that nothing had to be done.
This can happen when --start was specified and a matching
process was already running, or when --stop was specified
and there were no matching processes.

1 If --oknodo was not specified and nothing was done.
...

that's a (simple) fix:

diff --git a/meta-openpli/recipes-openpli/enigma2-softcams/softcam.inc b/meta-openpli/recipes-openpli/enigma2-softcams/softcam.inc
index a2dda94f..6889f089 100644
--- a/meta-openpli/recipes-openpli/enigma2-softcams/softcam.inc
+++ b/meta-openpli/recipes-openpli/enigma2-softcams/softcam.inc
@@ -19,7 +19,7 @@ CAMLINK = "/etc/init.d/softcam"
CAMPATH = "/etc/init.d/softcam.${CAMNAME}"

CAMSTART ?= "exec start-stop-daemon -S -x /usr/bin/${CAMNAME}"
-CAMSTOP ?= "exec start-stop-daemon -K -R 2 -x /usr/bin/${CAMNAME}"
+CAMSTOP ?= "exec start-stop-daemon -K -o -R 2 -x /usr/bin/${CAMNAME}"

# Generate a simplistic standard init script
# (sorry for the sleep 1, but start-stop-daemon -R does not work as advertised)

True sarcasm doesn't need green font...

Re: OpenPLi 8.0 and mgcamd #19 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 19 January 2021 - 11:52

These changes work,removed mgcamd without error.

2021-01-19 12:49:37+0200 [-] [Console] executing in run 0  the command: /usr/bin/opkg remove --autoremove enigma2-plugin-softcams-mgcamd



Edited by foxbob, 19 January 2021 - 11:55.


Re: OpenPLi 8.0 and mgcamd #20 ziopio

  • New Member
  • 2 posts

0
Neutral

Posted 6 March 2021 - 21:48

buona sera .

non riesco a capire quale mgcam istallare per openpli 8.o su zgemma h2 start 

qualcuno puo aiutarmi?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users