Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LUCI isn't deleting some entries in dhcp config when 'DHCP Client' and 'DHCPv6 Client' mode is enabled #1988

Open
ShapeShifter499 opened this issue Jul 23, 2018 · 4 comments

Comments

@ShapeShifter499
Copy link

ShapeShifter499 commented Jul 23, 2018

Supply the following if possible:

  • Device problem occurs on
    WD My Net n750
    TP-Link TL-WDR3600 v1

  • Software versions of OpenWrt/LEDE release, packages, etc.

LEDE Reboot 17.01.4 r3560-79f57e422d

  • Steps to reproduce

From fresh install go to Network > Interfaces and edit the LAN interface. Switch the protocol to 'DHCP Client' and click switch protocol under 'Really switch protocol?' After it switches then click 'Save & Apply' near the bottom.

Checking the /etc/config/dhcp file after this shows some leftover settings that should have been removed but were not.

Attached are two different /etc/config/dhcp files, one labelled dhcp-incorrect.txt which is what results after preforming the above steps and another labelled dhcp-correct.txt which I believe should be the correct settings that should be applied after preforming the above steps.

dhcp-correct.txt
dhcp-incorrect.txt

@ShapeShifter499 ShapeShifter499 changed the title LUCI isn't deleting some entries when 'DHCP Client' and 'DHCPv6 Client' mode is enabled LUCI isn't deleting some entries in config files when 'DHCP Client' and 'DHCPv6 Client' mode is enabled Jul 23, 2018
@ShapeShifter499 ShapeShifter499 changed the title LUCI isn't deleting some entries in config files when 'DHCP Client' and 'DHCPv6 Client' mode is enabled LUCI isn't deleting some entries in dhcp config when 'DHCP Client' and 'DHCPv6 Client' mode is enabled Jul 23, 2018
@ShapeShifter499
Copy link
Author

Has anyone taken the time to look at this issue?

@jow-
Copy link
Contributor

jow- commented Jul 28, 2018

Yeah I looked at it and will fix it after the release. Since the dnsmasq init script will refuse to operate on non-static interface (https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/network/services/dnsmasq/files/dnsmasq.init;h=c1ae0934fd2c466687c80f7ae7f6fa567e4474fa;hb=7a6b2badfa56cfd833d64f113398198f71fd896e#l477) and since one can disable the DHCP server before switching the protocol I do not deem it release critical yet.

@ShapeShifter499
Copy link
Author

@jow- it's been awhile and this issue hasn't been closed. Has this been fixed for newer releases of OpenWRT and LUCI?

@jow-
Copy link
Contributor

jow- commented Apr 20, 2019

No, it hasn’t been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants