Remote updating wlan.ini (solution) #1389
Terr4
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
thanks for sharing. Another easy way would be to upload a (temporary) firmware which has no restriction for that file. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
So I had the issue that I needed to change the SSID remotely with no access to the SD-card but as mentioned several times in the forum this seems to be not possible.
Inventive how I am I made it happen. Not sure if this is considered a bug but at least you cannot read the existing file with the password.
I did this now 2 times already so it definitely works.
You cannot see or read the wlan.ini through the fileserver UI, also you cannot overwrite it with the fileserver UI, it will tell you a file with the same name already exist when you try to upload such a file.
So the trick is that you first need to delete the existing wlan.ini file and then upload a new file through the fileserver UI with the new WiFi settings.
curl "http://<watermeterIP>/delete//wlan.ini" -X "POST" -H "Content-Length: 0" -H "Content-Type: application/x-www-form-urlencoded"
You should get the return "File successfully deleted"
Beta Was this translation helpful? Give feedback.
All reactions