Jump to content


s3n0

Member Since 28 Dec 2016
Offline Last Active Today, 07:18
-----

Posts I've Made

In Topic: OpenPLi 8.0 and mgcamd

12 May 2021 - 10:08


I'm about to flash my Duo2 with the latest image, upgrading from Ver 6, it will be interesting to to see if the problem replicates itself in Version 8.  

If your whole problem only arose when upgrading OpenPLi from ver.6.x to ver.8.0 ... then you may only be using the wrong Oscam installer (old IPK file). For example, the *.cam files were used in older versions of Enigma, but these files are no longer supported in the new Enigma. Only the "init.d" script is now used as a regular way to run softcams (Linux method).

 

The second thing, maybe the configuration files are incorrectly uploaded to your new OpenPLi-8. You may have used the wrong folder, or you may need to make some additional adjustments to your Oscam configuration - because new versions of Oscam are logically used in the new OpenPLi-8.

 

It is also possible that if you use your own IPK installer and not the OpenPLi-8 installer (from the OpenPLi feed-server), there will be a very old version of Oscam.

 

But rather, I think that the first problem mentioned concerns you.


In Topic: OpenPLi 8.0 and mgcamd

12 May 2021 - 08:10


 

 

@macca:

 

So I repeat for the third time - you have to write down what the problem is. Because information in the sense that "something doesn't work there" really isn't enough. You have to write exactly what you tried and how exactly it "doesn't work". Ideally, run the softcam through Shell and write what it reported when trying to run it. Simply run a terminal / linux-shell and write there, for example for Oscam, this:

killall -9 oscam
/usr/bin/oscam
# to abort the process, press CTRL + C once

Or you can simply try to view the build-info that is programmed in each Oscam code, so it must be displayed:

/usr/bin/oscam --build-info

You didn't even write essential information in case of a broken Oscam, namely that whether at least Oscam-Webif works (you connect to it via a web browser on any PC, by entering the IP address of your set-top box and entering port 8888, ie if the port has not been changed in the configuration files).

Thanks again, I don't have the necessary experience to undertake these linux commands.

 

I'm about to flash my Duo2 with the latest image, upgrading from Ver 6, it will be interesting to to see if the problem replicates itself in Version 8.  

 

That's simple. Download the PuTTY tool from the Internet - a version for your desktop PC. All you need is a binary file, but you can also install it. Then run PuTTY and enter the IP address from your set-top-box as the hostname (same IP address as for OpenWebif - the graphical interface of the set-top box for the Internet browser). You can find out the IP address via your WiFi router (list of connected machines) or directly in OpenPLi, somewhere in the MENU. Switch the protocol type to "Telnet". Use the button "Open" for opening new session. The username will be "root" and the password should be blank (press the ENTER key). There you have a linux-shell. However, be careful in the linux shell.


In Topic: OpenPLi 8.0 and mgcamd

10 May 2021 - 12:45

@macca:

 

So I repeat for the third time - you have to write down what the problem is. Because information in the sense that "something doesn't work there" really isn't enough. You have to write exactly what you tried and how exactly it "doesn't work". Ideally, run the softcam through Shell and write what it reported when trying to run it. Simply run a terminal / linux-shell and write there, for example for Oscam, this:

killall -9 oscam
/usr/bin/oscam
# to abort the process, press CTRL + C once

Or you can simply try to view the build-info that is programmed in each Oscam code, so it must be displayed:

/usr/bin/oscam --build-info

You didn't even write essential information in case of a broken Oscam, namely that whether at least Oscam-Webif works (you connect to it via a web browser on any PC, by entering the IP address of your set-top box and entering port 8888, ie if the port has not been changed in the configuration files).


In Topic: OpenPLi 8.0 and mgcamd

10 May 2021 - 08:43

@macca:

 

It is not possible to run multiple SoftCAMs at the same time. There is only one /etc/init.d/softcam invented as a sym-link to a specific shell script (also in the /etc/init.d folder). This is the only trigger you have chosen. All 3 softcams cannot be run at the same time. If you "activate" one softcam (script), the others are "deactivated" then. This can only be done by manual installation - if you want to run several SoftCAMs at the same time.

 

I still don't know where the problem is. Open a terminal / linux-shell and try to run the problematic SoftCAM there manually. Certainly in the case of Oscam, it should be shown in the terminal what the problem was (error message). In the case of other softcams, I don't know, because not every softcam is programmed so well that it can provide users with feedback / reporting of internal errors when starting the softcam.

 

If you really want to and if you believe me, of course, write me on Skype. I can also look at it online - via TeamViewer on a PC or directly by connecting to SSH / Telent in your set-top box. Maybe I'll find the cause of the problem there. Only the wrong binary in the IPK package may be used. I have no idea.


In Topic: OpenPLi 8.0 and mgcamd

9 May 2021 - 16:33

Yes, it is quite possible. Backward compatibility is not guaranteed with new versions of system libraries. Symbolic links are therefore not always 100% successful. It only depends on which functions a particular code from a system library uses. In the new libraries of the system, old algorithms / functions can be modified, with which the code of the new binary will not be able to work.

 

Many functions can be modified in the new system libraries, with which the binary file may no longer be able to work 100%. Just some little nonsense added to the system library. For example, instead of a return code from a function in the library, more error codes are passed than just -1 and 0 ... - only a fictitious example ! But when the Mgcamd source code assumes that there are multiple return values, such as -1, 0, 1, then a smaller / larger comparison operator is used in the test condition (if ret_code < 1), of course the execution of this algorithm fails because it needs to test the value as well number 1. Or instead of 3 values, some function can return up to 4 values, which the old Mgcamd code did not assume and its process fails. There are many examples to come up with.

 

I recommend using Oscam. It should work anytime, anywhere, because it is very popular and programmers are constantly working on it. If it does not work, it is often just a configuration error or the inability to decode the appropriate DVB encryption system.