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

Wifi configuration is reset to very old setup on loading a snapshot #68

Open
cdaller opened this issue Feb 6, 2023 · 6 comments
Open

Comments

@cdaller
Copy link

cdaller commented Feb 6, 2023

Steps

  • I setup 2 different wifis using two different SSIDs and using cq.morserino.info for both
  • everything works, with both wifis
  • a week later, the wifi configuration is reset to the first wifi configuration I ever did (weeks ago): only one wifi is configured and no cq.morserino.info

Strange thing is, that when I configure
SSID mobile as first wifi and SSID home as second wifi
after the wifi configuration resets itself, there is only wifi home left (which was the first wifi I ever configured weeks ago).

This behaviour was observed now 3 times in a row. Every week on my cw school day, the configuration is reset.

I do change the snapshots in between and use the serial communication - but I cannot say if this is the culprit!

I just made another test:

  • Configure Wifi Mobile and Wifi home
  • load a different snapshot
  • wifi configuration was reset to my initial setup from weeks ago
@oe1wkl
Copy link
Owner

oe1wkl commented Feb 7, 2023 via email

@oe1wkl
Copy link
Owner

oe1wkl commented Feb 17, 2023 via email

@cdaller
Copy link
Author

cdaller commented Feb 17, 2023

Hello Willi,

I can reproduce the behaviour:

  • Wifi Config: set 1:Wifi A and 2:Wifi B
  • morserino restarts
  • wifi select shows 1:Wifi A and 2:Wifi B
  • I select Wifi B
  • Double Click on black button, load a snaphot (even the same that was loaded before)
  • Wifi Select shows only 1:Wifi B (as first Wifi), no other Wifis are shown anymore

When I call Wifi Configure then: only 1:Wifi B is shown

Wifi B was the first Wifi I ever configured on slot 1. This seems to come back whenever I change snapshots.

This happens always, independently if I switch to snapshot 1 or 5 - no difference

I could help to debug if you want to add some serial output or something like this.

@cdaller cdaller changed the title Wifi configuration is reset to very old config every week Wifi configuration is reset to very old setup on loading a snapshot Feb 17, 2023
@cdaller
Copy link
Author

cdaller commented Feb 17, 2023

I just updated from verson 4.3.1 to 4.5 but the problem is still existing

@oe1wkl
Copy link
Owner

oe1wkl commented Feb 17, 2023 via email

@cdaller
Copy link
Author

cdaller commented Feb 17, 2023

Yes, I thought it is something like this. I think, you should not store the wifi configs with the snapshots but separately from them. Otherwise I need to configure my wifis for all 6 snapshots. As you can save multiple wifis, there is no need to store them in the snapshots. And I think 3 of them are enough. But if it easy to extend, provide 5 wifis to save - this should be enough for all of us I would think.

Thanks a lot for your time to find/fix this problem of mine (and probably of others as well).

73 de OE6CHD Christof

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