Comments (4)
@Emilianocm23 i have my E3372 working right here, but it does not use login or password in URI (i did not set any)
from huawei_lte_api.Client import Client
from huawei_lte_api.Connection import Connection
with Connection('http://192.168.8.1/') as connection:
client = Client(connection)
print(client.monitoring.status())
also in your backtrace i see http://admin:[email protected]/
correct address on your network looks like 192.168.9.1
And BTW from folder names in your path (4g\reload.py)... are you trying to invent the wheel? :-) https://github.com/Salamek/netkeeper
from huawei-lte-api.
Thanks for your fast reply @Salamek
I used the code you sent me and it's now working. Sorry i have multiple modems connected at the same time on a different ip segment.
Im doing a script to basically disconnect and connect the modems from network to get a new IP address.
client.dial_up.set_mobile_dataswitch(0)
client.dial_up.set_mobile_dataswitch(1)
Running those commands will basically do what i need right?
from huawei-lte-api.
@Emilianocm23 depends on carrier network IP assignment configuration... but yea
from huawei-lte-api.
This seems to be solved, closing
from huawei-lte-api.
Related Issues (20)
- Disabling automatic online updates HOT 3
- Quicksetup HOT 5
- Disabling IPv6 HOT 2
- 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 10
- Accessing device remotely HOT 2
- How to make a basic mac filter ? HOT 10
- E3372 CL1E3372SM Ver.A api doesn't work HOT 4
- Change IP request HOT 1
- Lost Internet Connection HOT 3
- huawei_lte_api.exceptions.ResponseErrorException: 9003: Unknown HOT 3
- Support for E5172 LTE Router HOT 3
- Unlock PIN Method Returns `101006 Unknown Error` and Fails to Unlock PIN on Modem HOT 1
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.