Jump to content


Photo

OpenPLi-py3


  • Please log in to reply
1139 replies to this topic

Re: OpenPLi-py3 #841 rantanplan

  • PLi® Contributor
  • 1,857 posts

+87
Good

Posted 1 March 2023 - 20:10

https://github.com/O...e7164225efe18bc
already integrated in develop
 



Re: OpenPLi-py3 #842 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 1 March 2023 - 20:33

I already thought it :)

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


Re: OpenPLi-py3 #843 Mr.Yoshi!

  • Senior Member
  • 226 posts

+1
Neutral

Posted 3 March 2023 - 09:00

OK thanks can in pli this Patch ?

P.s. i will No ATV ! I try pli , tuxbox, neutrino ,Linux OS ! OK thanks

My friend will this in pli and the Powertimer!

A OK thanks @rantanplan

Mfg kittybua

Edited by Mr.Yoshi!, 3 March 2023 - 09:01.


Re: OpenPLi-py3 #844 Mr.Yoshi!

  • Senior Member
  • 226 posts

+1
Neutral

Posted 3 March 2023 - 09:16

ok then everything is fine but the message still comes with the stream at dev with i..m or is it in the menu with https stream mmh! He only wants that with the Powertimer so that it activates the standby mode when you start it yourself! when standby-car goes and off you have to go back into the menu and make the standy timer active on green! wanted to outsmart it with the entry in the timer, but it doesn't work yet!

This

<?xml version="1.0" ?>

<timers>
<timer timertype="autostandby" begin="1677685485" end="1677685485" repeated="0" afterevent="nothing" disabled="0" autosleepinstandbyonly="no" autosleepdelay="30" autosleeprepeat="repeated" autosleepwindow="False" autosleepbegin="1677606469" autosleepend="1677606529"

Edited by Mr.Yoshi!, 3 March 2023 - 09:20.


Re: OpenPLi-py3 #845 spartak73

  • Senior Member
  • 25 posts

0
Neutral

Posted 3 March 2023 - 20:43

DNS after the update still does not work. Everything resets after a reboot. I'm using the designated IP. DHCP is disabled.


Octagon SF8008 4K Twin, Formuler F3, Vu+ Duo² Toroidal T-90 14°W -- 42°E


Re: OpenPLi-py3 #846 neo

  • PLi® Contributor
  • 715 posts

+48
Good

Posted 3 March 2023 - 20:48

The DNS entries should be written into /etc/network/interfaces. If that doesn't happen, it is still broken.

 

If that does happen, you haven't flashed after the update, which means openresolv is not installed (which is in charge of populating resolv.conf).



Re: OpenPLi-py3 #847 Dimitrij

  • PLi® Core member
  • 10,263 posts

+347
Excellent

Posted 3 March 2023 - 21:28

Is there anyone who wants to test the DNS  fix?

/usr/lib/enigma2/python/Components/Network.py

/usr/lib/enigma2/python/Screens/NetworkSetup.py

 

new version:

opkg install openresolv

old:

opkg remove openresolv

Edited by Dimitrij, 3 March 2023 - 21:31.

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: OpenPLi-py3 #848 neo

  • PLi® Contributor
  • 715 posts

+48
Good

Posted 3 March 2023 - 21:57

I'll do that while waiting for the Kodi build to finish... ;)



Re: OpenPLi-py3 #849 neo

  • PLi® Contributor
  • 715 posts

+48
Good

Posted 3 March 2023 - 22:00

The nameserver settings screen is still present. and there is no option to enter DNS adresses in the interface screen?

 

edit: Ok, you've left the seperate screen, but did use the seperate interface-level DNS definitions.

 

Looks like it works fine if I switch from wired to wireless and back.

 

Only remark: if you're using DHCP ( + the DNS assigned by DHCP), at unix level it works fine, but in the interface screen, you can't see the nameserver assigned (both Primary and Secondary are 0.0.0.0).


Edited by neo, 3 March 2023 - 22:05.


Re: OpenPLi-py3 #850 spartak73

  • Senior Member
  • 25 posts

0
Neutral

Posted 3 March 2023 - 22:10

Thanks Dima, now dns can be entered from the remote control and this is saved after a reboot.


Octagon SF8008 4K Twin, Formuler F3, Vu+ Duo² Toroidal T-90 14°W -- 42°E


Re: OpenPLi-py3 #851 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 3 March 2023 - 23:28

 

 

Is there anyone who wants to test the DNS  fix?

 

Maybe I'm missing something, but why is there an option without openresolv?
Even if you remove openresolv, it does not change the fact that after restart the /etc/resolv.conf file is replaced by link.
 
I think that the methods writeNameserverConfig and loadNameserverConfig should be removed and the variables dns-nameservers and nameservers should be combined into one.


Re: OpenPLi-py3 #852 taree

  • Senior Member
  • 48 posts

0
Neutral

Posted 4 March 2023 - 07:07

pluginhider and menusort not working with this build.

any python3  ipk for these 2 plugins plz



Re: OpenPLi-py3 #853 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 4 March 2023 - 08:02

Plugin hider and menu sort are standard options in our image a plugin for it will not work

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


Re: OpenPLi-py3 #854 Mr.Yoshi!

  • Senior Member
  • 226 posts

+1
Neutral

Posted 4 March 2023 - 09:03

I'll do that while waiting for the Kodi build to finish... ;)


you can already use kodi 19.5 with a mouse or with kore app remote control! Mfg kittybua :)

Re: OpenPLi-py3 #855 Mr.Yoshi!

  • Senior Member
  • 226 posts

+1
Neutral

Posted 4 March 2023 - 09:07

I already thought it :)


ok I checked myself everything ok so everything fits! my friend has the problem with more sat like astra Eutelsat hotbird so I think it's more because of diseqc! when he does switch, the message no tuner comes up from time to time! but a few seconds later the picture is back! So with the http patch everything is ok! tested myself! But he will check all cables, this message only comes in pli dev and pli 8.3 with others not! Mfg kittybua

Re: OpenPLi-py3 #856 Dimitrij

  • PLi® Core member
  • 10,263 posts

+347
Excellent

Posted 4 March 2023 - 09:07

 

Maybe I'm missing something, but why is there an option without openresolv?
Even if you remove openresolv, it does not change the fact that after restart the /etc/resolv.conf file is replaced by link.

 

simple

	def writeNameserverConfig(self):
		if not self.openresolv:
+			try:
+				self.console.ePopen('rm -f /etc/resolv.conf')
+			except:
+				pass
			fp = open('/etc/resolv.conf', 'w')
			for nameserver in self.nameservers:
				if nameserver != [0, 0, 0, 0]:
					fp.write("nameserver %d.%d.%d.%d\n" % tuple(nameserver))
			fp.close()

 


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: OpenPLi-py3 #857 Dimitrij

  • PLi® Core member
  • 10,263 posts

+347
Excellent

Posted 4 March 2023 - 09:10


Only remark: if you're using DHCP ( + the DNS assigned by DHCP), at unix level it works fine, but in the interface screen, you can't see the nameserver assigned (both Primary and Secondary are 0.0.0.0).

Did it ever work?

Even if I add this, these dns cannot be changed.

For information only.


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: OpenPLi-py3 #858 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 4 March 2023 - 12:34

My question is, why is the additional code needed in case when openresolv is not installed?
Now openresolv is included in image.
If it is not installed at develop image update, then it is a dependency problem, or it is the downsides of running a develop image.
 
I think need to remove the usage of /etc/resolv.conf.
Maybe for backward compatibility, if it is a file and not a link, it can be read and the DNS configuration can be set from it in /etc/network/interfaces.
But I am not sure about this.
 
But maybe I'm missing something.

Edited by Taapat, 4 March 2023 - 12:34.


Re: OpenPLi-py3 #859 taree

  • Senior Member
  • 48 posts

0
Neutral

Posted 4 March 2023 - 12:37

Plugin hider and menu sort are standard options in our image a plugin for it will not work

i am able to install plugin hider and working.

it is available in software managment also

but where to find menu sort?

standard options?sorry did not understand ur reply...dont mind



Re: OpenPLi-py3 #860 Dimitrij

  • PLi® Core member
  • 10,263 posts

+347
Excellent

Posted 4 March 2023 - 12:40

I don't want to use openresolv.

It automatically adds the gateway as a nameserver in /etc/resolv.conf when use DHCP.

 

And

When using two interfaces, all dns servers automatically write in /etc/resolv.conf.


Edited by Dimitrij, 4 March 2023 - 12:43.

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K



3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users