https://github.com/snawoot/huawei-lte-reconnect
Util to keep Huawei LTE modem/mobile router up
https://github.com/snawoot/huawei-lte-reconnect
Last synced: about 1 month ago
JSON representation
Util to keep Huawei LTE modem/mobile router up
- Host: GitHub
- URL: https://github.com/snawoot/huawei-lte-reconnect
- Owner: Snawoot
- License: mit
- Created: 2022-12-24T20:57:49.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-24T23:09:13.000Z (over 2 years ago)
- Last Synced: 2025-01-26T06:11:16.247Z (3 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# huawei-lte-reconnect
Util to keep Huawei LTE modem/mobile router up
## Install
```bash
mkdir -p ~/.venvs && \
python3 -m venv ~/.venvs/huawei-lte-api && \
~/.venvs/huawei-lte-api/bin/pip install -r requirements.txt && \
wget -O myip https://github.com/Snawoot/myip/releases/download/v1.2.0/myip.linux-amd64 && \
chmod +x myip
```## Use
```bash
MYIP=./myip ./main_loop.sh \
~/.venvs/huawei-lte-api/bin/python ./reconnect_dialup.py http://admin:[email protected]/
```