but where to find menu sort?
standard options?sorry did not understand ur reply...dont mind
No need to install anything
Try blue button in menu.
Posted 4 March 2023 - 12:45
I don't want to use openresolv.
It automatically adds the gateway as a nameserver in /etc/resolv.conf when use DHCP.
In that case, when uninstalling openresolv, you need to remove link creation as /etc/resolv.conf.
Instead of creating a hack in enigma, who on enigma strat writes a file instead of this link.
Edited by Taapat, 4 March 2023 - 12:45.
Posted 4 March 2023 - 14:14
but where to find menu sort?
standard options?sorry did not understand ur reply...dont mindNo need to install anything
Try blue button in menu.===========================
but i cannot find blue button after pressing menu.like openatv images
Edited by taree, 4 March 2023 - 14:15.
Posted 4 March 2023 - 14:22
[Network] completely rewrite the DNS name server code
I know it's far from ideal, but it really does work.
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Posted 4 March 2023 - 15:19
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.
No, it doesn't, it writes the DNS issued via DHCP to resolv.conf, and yes, that is often the same as the default gateway (i.e. your home router).
And when both interfaces are up, openresolv will also write both DNS entries to resolv.conf. When the interface is down, it doesn't, because obviously that entry could not be reachable.
I think you failed to understand how it works...
Edited by neo, 4 March 2023 - 15:20.
Posted 4 March 2023 - 15:23
I don't want to use openresolv.
It automatically adds the gateway as a nameserver in /etc/resolv.conf when use DHCP.
In that case, when uninstalling openresolv, you need to remove link creation as /etc/resolv.conf.
Instead of creating a hack in enigma, who on enigma strat writes a file instead of this link.
Every Linux distro uses a volatile resolv.conf, which is why OE starting with Hardknott also does that, it is standard linux.
imho removing openresolv is not an option, and I don't see a need to provide this option in the plugin, is will only lead to confusion and complaints.
To remove it you need to hack in OE, and when the autobackup is adapted, you also need to hack that.
All that without any benefit, only because a misunderstanding of what resolvconf does and how it works...
Posted 4 March 2023 - 16:04
Every Linux distro uses a volatile resolv.conf, which is why OE starting with Hardknott also does that, it is standard linux.
imho removing openresolv is not an option, and I don't see a need to provide this option in the plugin, is will only lead to confusion and complaints.
To remove it you need to hack in OE, and when the autobackup is adapted, you also need to hack that.
All that without any benefit, only because a misunderstanding of what resolvconf does and how it works...
That's why I'm writing that you don't need complicate the code to use /etc/resolv.conf.
Edited by Taapat, 4 March 2023 - 16:36.
Posted 4 March 2023 - 23:06
Here my offer without openresolv removing: https://github.com/O...igma2/pull/3629
Posted 4 March 2023 - 23:28
Posted 5 March 2023 - 18:51
Why are you so obsessed with removing it? Perhaps you need to understand what has changed and how it works.
There is absolutely no need for it, unless you're busy fucking up the image. It is required to make a volatile /etc/resolv.conf work.
I can only repeat:
it DOES NOT add a gateway to resolv.conf. It only adds DNS IP's to resolv.conf, so if your gateway IP is in there, it is because your DHCP server told the box that is the DNS IP.
the scripted dhcpc hook would have done the same in the past.
Edited by neo, 5 March 2023 - 18:54.
Posted 6 March 2023 - 06:45
it DOES NOT add a gateway to resolv.conf. It only adds DNS IP's to resolv.conf, so if your gateway IP is in there, it is because your DHCP server told the box that is the DNS IP.
I know it.
But without openresolv, this did not happen, especially automatically.
Edited by Dimitrij, 6 March 2023 - 06:47.
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Posted 6 March 2023 - 15:24
What did not happen? The DNS provided by DHCP wasn't added to resolv.conf? Then you've changed or broken more in the past, because dhcpc has a hook for that.
To verify, I've flashed and booted 8.3-release.
It doesn't even support DHCP + static nameservers, when DHCP is active, dhcpc rewrites /etc/resolv.conf with the DNS given by DHCP, and removes all static or manually added entries.
The only way to use static nameservers in 8.3 is to disable DHCP, and configure a fixed IP address for the interface.
The changes proposed by WanWizard addresses this, and provide support for both. And resolvconf should add the static nameservers to resolv.conf before any DHCP ones, so the staticly configured DNS entries are used first.
If you remove openresolv, none of this works anymore, and you fall back to 8.3 behaviour, with the bonus of a volatile resolv.conf that is always empty at boot.
Unless you manually change that. But I can only repeat, there is no reason for it, and you have given me no reason to believe this is needed.
So, what specific situation do you have, that is not covered by WanWizards proposal?
Edited by neo, 6 March 2023 - 15:25.
Posted 6 March 2023 - 15:29
I've now tested the same in the current develop: Interface on DHCP, one static nameserver (Google secondary) configured.
resolvconf writes this to resolv.conf
# Generated by resolvconf nameserver 8.8.4.4 nameserver 192.168.10.5
the first one being the staticly defined DNS, the second one being the DNS issued by DHCP.
Posted 7 March 2023 - 00:47
With the latest develop changes to Network, when I exit Adapter Settings screen,
the next time I open it, it shows a blank network name (SSID) encryption and key configuration.
I have to restart Enigma2 to see this data again. I am using a wlan connection.
Edited by Amai, 7 March 2023 - 00:53.
Posted 7 March 2023 - 01:14
Edited by Amai, 7 March 2023 - 01:16.
0 members, 6 guests, 0 anonymous users