hello how do i disable samba and telnet in open pli 6.2?
im on a open nettwork and need to disable samba and telnet so now one can get acces.
Regards Lars
Posted 16 September 2018 - 09:40
Hello,
In telnet:
/etc/init.d/samba.sh stop
Pr2
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
Posted 16 September 2018 - 10:27
Open network? The idea don't sound good. The images are not secure. Even if you disable telnet and samba users can access the box via webif, streamingproxy, and I guess via 100++ bugs in the kernel and in the used software. The boxes use more or less old kernels and often don't get security fixes.
Only stopping samba is maybe not the best idea as it would start again after a reboot. So remove the links in the /etc/rc* directories. And for telnet I think(not sure) inetd is used. So look into /etc/inetd.conf. But as said, your box won't be secure afterwards!
Posted 16 September 2018 - 10:58
Boxes are not meant to be on any open network, they should always be in a LAN environment, or you box will be taken over/Hacked in no time as @betacentauri has also pointed out.
Hardware: Vu+ Uno 4K SE - Vu+ Duo 4K - Fuba 78 cm - Tripleblock LNB Quad 19.2/23.5/28.2 - DS918+
Software : OpenPLi - OSCam - Settings van Hans - Autotimer - EPGImport
---------------------------------------------------------------------------------------------------------------------------------------
Remember: Upvote with the button for any user/post you find to be helpful, informative, or deserving of recognition!
---------------------------------------------------------------------------------------------------------------------------------------
Many answers to your question can be found in our new and improved wiki
Posted 20 September 2018 - 15:09
You can use this plugin to simply control services. Skin modified for correct visualization.
1.jpg 75.92KB 11 downloads
2.jpg 22.88KB 6 downloads
3.jpg 75.38KB 5 downloads
4.jpg 26.61KB 3 downloads
ServiceManager.zip 13.59KB 24 downloads
Posted 20 September 2018 - 15:27
Hi,
Thanks for it but it doesn't work. The skin is not adapted for Full HD and I had a crashlog:
Traceback (most recent call last): File "/usr/lib/enigma2/python/Components/ActionMap.py", line 49, in action File "/usr/lib/enigma2/python/Plugins/Extensions/ServiceManager/plugin.py", line 690, in selectService current = self["list"].getCurrent()[5] TypeError: 'NoneType' object has no attribute '__getitem__'
Is this plugin yours?
Do you have a github we can refer to to have it included in the feed when it will be fully operational?
Pr2
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
Posted 20 September 2018 - 15:43
Hi,
OK it is working I place it first into: Extensions but looking at the code I saw that you define it to be into SystemPlugins so I move it.
Pr2
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
Posted 20 September 2018 - 15:56
Just remove the packages...
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 20 September 2018 - 17:48
Hi,
I have already adapt for FullHD may be some more fine tuning are needed on the different screens but at least it is now usable on Full HD.
Pr2
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
Posted 20 September 2018 - 20:55
Hi. the plugin works with a config file, services.xml which anyone can modify as for own used programs. Most important parameter is the service start/stop
method. Three params possible:
initscript="XXX" is the name of the service script in /etc/init.d directory
customscript="XXX" is the path of a custom script
servicescripts="XXX, YYY" 2 single scripts for start and stop
I recently updated my vuduo2 from version 4 to 6.2, so something could need to be fixed, sorry.
This recipe I used for the plugin, to be adapted, changed, rewritten...... as you like.
DESCRIPTION = "Open Source ServiceManager plugin for E2 based Linux set-top box" MODULE = "ServiceManager" HOMEPAGE = "https://github.com/tension9000/e2openplugin-${MODULE}" SRC_URI = "git://github.com/tension9000/e2openplugin-${MODULE}.git" require conf/license/license-gplv2.inc inherit gitpkgv inherit allarch S="${WORKDIR}/git" SRCREV = "${AUTOREV}" PV = "0.1.1+git${SRCPV}" PKGV = "0.1.1+git${GITPKGV}" FILES_${PN} = "/usr/*" do_compile() { } do_install() { install -d ${D}/usr/lib/enigma2/python/Plugins/SystemPlugins/${MODULE} cp -r ${S}/plugin/* ${D}/usr/lib/enigma2/python/Plugins/SystemPlugins/${MODULE}/ }
this the patch for the screens in pli fullHD skins:
0001-Add-servicemanager-plugin-support.patch 7.39KB 27 downloads
Posted 21 September 2018 - 14:27
do_install() { install -d ${D}/usr/lib/enigma2/python/Plugins/SystemPlugins/${MODULE} cp -r ${S}/plugin/* ${D}/usr/lib/enigma2/python/Plugins/SystemPlugins/${MODULE}/ }
This is the worst thing what you can do when creating a package with python files.
After the plugin install, the py files on reciever will be compilded to pyc files.
If you later remove this package, only the py files that are in the package will be removed, but the pyc files will remain.
Therefore, in packages with python files, you always have to compile py files and put them in a package.
Edited by Taapat, 21 September 2018 - 14:29.
0 members, 4 guests, 0 anonymous users