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

Set WoL when there's no IP #186

Closed
alkisg opened this issue Jan 24, 2023 · 1 comment
Closed

Set WoL when there's no IP #186

alkisg opened this issue Jan 24, 2023 · 1 comment

Comments

@alkisg
Copy link
Member

alkisg commented Jan 24, 2023

When a standalone (non-LTSP) client boots, it's possible that epoptes-client will be started before networking.
And if SERVER=some-ip or some entry from /etc/hosts, then the epoptes-client.wait_for_dns function won't wait until DNS is up.
In that case, the current epoptes-client.apply_wol function can't detect the interface that will be used to contact the epoptes server, so it doesn't enable WoL for any interface.

One solution could be to transform wait_for_dns into wait_for_server_ip_reachable (using ip r get ...).
Another solution could be to enable WoL in all interfaces anyway; I can't think of any reason we'd prefer to enable WoL only in a specific interface.

eltoukos added a commit to eltoukos/epoptes that referenced this issue Jul 28, 2023
eltoukos added a commit to eltoukos/epoptes that referenced this issue Jul 29, 2023
@alkisg
Copy link
Member Author

alkisg commented Aug 21, 2023

Closed by GSoC 2023 Epoptes improvements #204.
Please test if the proposed PPA build resolves this issue.

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

1 participant