-
Notifications
You must be signed in to change notification settings - Fork 19
OTA Authentication fail. #6
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
Comments
This is the mklittlefs.exe github, not related to OTA. I suggest you look at the esp8266 core for assistance. |
Sorry, but I believe you are mistaken. mklittlefs.exe is another repository. This is the "arduino-esp8266littlefs-plugin" github. It's the arduino-esp8266littlefs-plugin who needs to ask for the password. The ESP8266LittleFS.java file in this repository calls the espota.py without the -a argument. |
Ah, you are correct. I do own both repos. However, the littlefs-java uploader is mostly a cut-n-paste version of the standard arduino 8266 one by me-no-dev: I don't believe it gets a notice that the OTA has a password (most don't since OTA is insecure and will pass PWDs plaintext over the air). Not sure there's a way to know if a PWD has been set in the IDE. Will need a little study. If you've got a suggestion, PRs are always appreciated. :) |
I've been having the same issue here, ArduinonIDE does not prompt for a password when uploading LittleFS OTA. A workaround is to flash a sketch with no password, upload LittleFS, then flash sketch with password. |
cmbhjv and 877dev, |
That sounds good thank you. I’ll check that out and report back! 👍 |
@LeisureLadi @cmbhjv finally I got to test this (been away for a week). Password box appears, enter OTA password, small delay, then Excellent work, thank you. @earlephilhower FYI #18 |
@877dev |
When trying to do OTA in a device with OTA password set, authentication fails.
It doesn't ask for the password either.
My guess is that it needs to pop the Password request form (I guess it's this one here ) and pass it as the "-a" argument to espota.py (here)
The text was updated successfully, but these errors were encountered: