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

no return from manual ip configuration to dhcp #2139

Open
3 tasks done
grasmax opened this issue Jul 12, 2024 · 1 comment
Open
3 tasks done

no return from manual ip configuration to dhcp #2139

grasmax opened this issue Jul 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@grasmax
Copy link

grasmax commented Jul 12, 2024

What happened?

After #2138 - manually ip config .39- I tried to return to automatic ip by checking settings/network/dhcp but opendtu keeps .72
Unchecking dchc, clearing all ip fields and saving, Opendtu says "Error" and restores all IP fields

To Reproduce Bug

check or check not dhcp if the is marked as fix ip in the router

Expected Behavior

if dhcp is ckecked, OpenDtu should have the ip from the router even if all private ip fields are filled or not

Install Method

Pre-Compiled binary from GitHub

What git-hash/version of OpenDTU?

v24.1.4

Relevant log/trace output

No response

Anything else?

No response

Please confirm the following

  • I believe this issue is a bug that affects all users of OpenDTU, not something specific to my installation.
  • I have already searched for relevant existing issues and discussions before opening this report.
  • I have updated the title field above with a concise description.
@grasmax grasmax added the bug Something isn't working label Jul 12, 2024
@stefan123t
Copy link

stefan123t commented Aug 12, 2024

Es sollte normal gar nicht nötig seine irgendeine ip irgendwo zu löschen. Einfach auf dhcp stellen und gut. Dann werden die manuellen ips nie verwendet.

Warum er nicht einfach die alte IP drin lässt und einfach den Schalter wieder auf DHCP stellt weiß ich nicht. Vielleicht will er die Formular-Validierungsfunktion des IP-Adressen Dialogs ausprobieren, die schlägt natürlich an wenn er die statische IP Konfiguration rauslöscht und das so speichern will: IP address is invalid!

Bei mir stand in den Feldern unter Static IP Configuration überall 0.0.0.0 drin, so lässt sich das auch wieder speichern: v24.6.29

Dann hat er trotz statischer IP 0.0.0.0 bei mir wieder die alte DHCP Adresse zugeordnet. Die OpenDTU konnte ich dann unter dem alten Namen http://opendtu-abcdef/ statt der statischen IP (http://192.168.178.7/) wieder aufrufen.

Dann noch den DHCP Haken wieder angemacht und es geht wie von Euch erwartet.

Danke das wars: wenn man den Haken bei DHCP rausnimmt und 0.0.0.0 in alle fünf Felder der "Statischen Konfiguration" einträgt, ist das Speichern erfolgreich. Damit hätte sich zumindest #2139 erledigt.

@tbnobody hier also die Anforderung 0.0.0.0 als Default für das Feld IP Adresse vorzubelegen, falls man es rauslöscht und so speichern will.

@grasmax Ich glaube die beiden Issues #2138 & #2139 können dann als gelöst geschlossen werden ?

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

2 participants