Giter Club home page Giter Club logo

Comments (4)

Salamek avatar Salamek commented on September 27, 2024

@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.

Emilianocm23 avatar Emilianocm23 commented on September 27, 2024

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.

Salamek avatar Salamek commented on September 27, 2024

@Emilianocm23 depends on carrier network IP assignment configuration... but yea

from huawei-lte-api.

Salamek avatar Salamek commented on September 27, 2024

This seems to be solved, closing

from huawei-lte-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.