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

eBlocker's DHCP service keeps running in expert network mode with external DHCP #284

Open
eblosug opened this issue Apr 5, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@eblosug
Copy link
Member

eblosug commented Apr 5, 2023

How to reproduce this issue:

  • Set up eBlocker VM
  • Change network mode to "expert" with external DHCP
  • Start Wireshark on client with display filter "dhcp"
  • Renew DHCP lease on client
  • There will be one DHCP request and two DHCP ACK responses shown in Wireshark

One DHCP response comes from the external DHCP (e.g. the router), the other one from eBlocker's DHCP which is still running.

This issue was observed on an eBlocker VM but not on a Raspberry Pi.

@eblosug eblosug added the bug Something isn't working label Apr 5, 2023
@eblosug
Copy link
Member Author

eblosug commented Apr 27, 2023

While building the VM image I forgot to explicitly disable the DHCP service.

The update to eBlockerOS 2.10 contains an update of the DHCP server which enables the service. But it's still not started due to an invalid configuration ("Not configured to listen on any interfaces").

However, if the eBlocker is now configured to use the expert network settings with an external DHCP, the local DHCP configuration is written regardless and as a result the DHCP service is now enabled and running.

@eblosug
Copy link
Member Author

eblosug commented Apr 27, 2023

As a workaround:

  • If you have console access, disable the service manually: systemctl disable isc-dhcp-server
  • Otherwise, go to eBlocker's network settings (expert mode), switch the DHCP service to "eBlocker", reboot and then switch back to "external".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant