-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Firmware upload API needs to be tested #2
Comments
I have a B535-232 half briked (mismatch firmware - webui, no administrator web pages) and the last option to repair it is to use this library to try a firmware update. |
@wikibrikofix i was trying to upload tested FW to my router back then using API before i created this issue... i was unable to do so after like 30minutes of trying to get it working (there was some weird progress check system if i remember correctly) and i was pretty sure i was doing exactly the same stuff as web UI was doing... then i got annoyed with it and created this issue... (i had better things to do)... Usage was something like this (my testing code is long time gone, i think there was some kind of pooling and stuff around): with Connection('URL', username='admin', password='password') as connection:
client = Client(connection)
file_path = './my_fw.bin|zip' # absolute? relative? does it matter?
with open(file_path, 'rb') as f:
print(client.file_manager.upload(f, file_path)) And i can't help you right now to get it working since my "i can brick this router" router is on other side of city in my workshop :-) |
@Salamek thanks for your help, I'm tryng to deploy some of the firmware I found on the web but they all throw an 100001 error. |
FileManager.upload is not tested... for obvious reasons...
The text was updated successfully, but these errors were encountered: