Jump to content


Photo

Terminal in OpenWebif


  • Please log in to reply
11 replies to this topic

#1 kisman172

  • Senior Member
  • 27 posts

0
Neutral

Posted 13 February 2021 - 16:27

In other Images, I saw that a terminal can be started "inline" in OpenWebif
Not in openPLi

Is there a possibility to add this feature?

 

thx

kisman172


1.st Octagon SF 8008 4K (openPLi 8.0) // 2.nd vu+ zero (openPLi 8.0)


Re: Terminal in OpenWebif #2 kisman172

  • Senior Member
  • 27 posts

0
Neutral

Posted 13 February 2021 - 16:38

Maybe it can be done with "shellinabox", should be included in enigma2-plugin-extensions-openwebif-terminal.

But both of them cannot be found in Feed.

A license issue? Or simply not added because not needed or not demanded...


1.st Octagon SF 8008 4K (openPLi 8.0) // 2.nd vu+ zero (openPLi 8.0)


Re: Terminal in OpenWebif #3 ccs

  • Senior Member
  • 229 posts

+7
Neutral

Posted 13 February 2021 - 17:21

.... or not secure?


test


Re: Terminal in OpenWebif #4 kisman172

  • Senior Member
  • 27 posts

0
Neutral

Posted 13 February 2021 - 17:27

also a possibility.  ;)

is that the official statement?

due to security or instability?
 

I mean, that's true.
if you have made the webif accessible from the outside as a port forwarding, then it is also easy to get control over the terminal. This is then really not safe and should be avoided.

Edited by kisman172, 13 February 2021 - 17:29.

1.st Octagon SF 8008 4K (openPLi 8.0) // 2.nd vu+ zero (openPLi 8.0)


Re: Terminal in OpenWebif #5 WanWizard

  • PLi® Core member
  • 68,598 posts

+1,739
Excellent

Posted 13 February 2021 - 18:02

Yes.

 

If you have the knowledge to use a linux commandline, you also have the knowledge to access it via ssh, which is much more secure.

 

If you don't, well, you shouldn't go there... ;)


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: Terminal in OpenWebif #6 kisman172

  • Senior Member
  • 27 posts

0
Neutral

Posted 13 February 2021 - 18:28

the knowledge is more than available  ;) 

Topic closed.

 

thanks


1.st Octagon SF 8008 4K (openPLi 8.0) // 2.nd vu+ zero (openPLi 8.0)


Re: Terminal in OpenWebif #7 tg555

  • Member
  • 19 posts

0
Neutral

Posted 4 January 2022 - 14:22

Hi, is there possibility to add terminal to OpenWebif by myself on my risk of course? :)



Re: Terminal in OpenWebif #8 s3n0

  • Senior Member
  • 641 posts

+62
Good

Posted 5 January 2022 - 18:41

This is not part of OpenPLi itself, but belongs to OpenWebif modules. So try the "opkg" package manager and install the required package ... but ... let me warn you that you already need more knowledge of working with Linux as well as Enigma2! I don't have an OpenPLi image installed at the moment, so I can't advise you, but it should be something like this:

opkg update
opkg list | grep 'openwebif'
opkg install <the_name_of_the_appropriate_module>

The name of the module you probably need to install is called the same in each Enigma2 distribution - i.e.:  enigma2-plugin-extensions-openwebif-terminal


Edited by s3n0, 5 January 2022 - 18:44.


Re: Terminal in OpenWebif #9 Pr2

  • PLi® Contributor
  • 6,074 posts

+257
Excellent

Posted 5 January 2022 - 18:44

There is no "module" available for OpenWebif in the OpenPLi image.


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: Terminal in OpenWebif #10 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 5 January 2022 - 21:24

Hi, is there possibility to add terminal to OpenWebif by myself on my risk of course? :)

it's not that easy, unless you know how to build your own openwebif...

-> you need to add shellinabox recipe (see oe-a git as example)

-> and add shelleinabox to openwebif RDEPENDS


True sarcasm doesn't need green font...

Re: Terminal in OpenWebif #11 tg555

  • Member
  • 19 posts

0
Neutral

Posted 8 January 2022 - 21:21

Thanks guys, that's enough for me, i could use telnet from pc



Re: Terminal in OpenWebif #12 s3n0

  • Senior Member
  • 641 posts

+62
Good

Posted 9 January 2022 - 09:22

It can be installed... normally you can install the original OpenWebif from the GitHub server.

 

As the first, when Enigma2 is stopped (which you stop with the init 4 command in the linux shell), you need to uninstall the OpenWebif - through the package manager (opkg in the linux shell). Then, through the package manager, you will disable updates from the feed (opkg flag hold enigma2-plugin-extensions-openwebif), just for this OpenWebif, so that your new OpenWebif with updates from the Internet - from the OpenPLi source - will not be overwritten. And then you install / download the source code OR ipk package - the full version of OpenWebif. You can find the procedure directly on Github here: https://github.com/E...lugin-OpenWebif (scroll down with the mouse wheel).

 

But then there will no longer be 100% compatibility from the creator of the distribution of the specific Enigma2 (i.e. OpenPLi). For example, new OpenWebif may require an SSL library for 2022, but OpenPLi will still have the old SSL library from 2021. It is, of course, just a fictional possible example of incompatibility. Possible incompatibilities could occur elsewhere. Possibly at the next update sometime later (a year later).


Edited by s3n0, 9 January 2022 - 09:29.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users