Comments (3)
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.
Can you write an examples to use the FileManager.upload?
I will test it and I will give you feedback about result.
from huawei-lte-api.
@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 :-)
from huawei-lte-api.
@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.
I think I have the same problem as you with the firmware system check,
I'll let you know if I'm success.
Thank you for your work!
from huawei-lte-api.
Related Issues (20)
- ResponseErrorException: 100006 for hardware CL2E3372HM HOT 8
- Reboot script HOT 1
- Switch Wifi on/off HOT 3
- Exception on log-out ResponseErrorWrongSessionToken: 125003: Wrong Session Token HOT 3
- Issues with multi-part SMS messages (Type 2) HOT 9
- Disabling automatic online updates HOT 3
- Quicksetup HOT 5
- Disabling IPv6 HOT 2
- Can't connect to my modem HOT 4
- Unable to connect to Huawei B535-333 with the error 125003 (Wrong token)
- Toggle VPN status HOT 7
- Can't enable telnet on device HOT 1
- Huawei E8231 also work HOT 1
- Error: 113004 HOT 1
- I ran the example but didn't work HOT 6
- Ping example?
- ussd request example HOT 6
- Accessing device remotely HOT 2
- How to make a basic mac filter ? HOT 10
- E3372 CL1E3372SM Ver.A api doesn't work HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from huawei-lte-api.