Skip to content

A CLI tool that queries a Huawei LTE WiFi router (MiFi) to get statistics such as signal strength, battery status, remaining data balance etc

License

Notifications You must be signed in to change notification settings

zikusooka/query_huawei_wifi_router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Twitter](https://twitter.com/jzikusooka) alt text alt text

Introduction

Twitter

This script queries a compatible Huawei LTE WiFi router (MiFi) to get detailed information such as signal strength, battery status, remaining data balance, number and addresses of currently connected device(s) etc.

The following information can be queried for using this tool:

  1. Device Name, Model, Serial IMEI, and IMSI Numbers

  2. SIM lock status

  3. Network Connection Status, including network provider, type, signal strength, and cell tower

  4. WAN IP, Primary, and Secondary DNS addresses

  5. Remaining data balances and start date

  6. Battery status, level and whether device is charging or not charging

  7. Number and host names of devices connected to the WiFi router

  8. Number of New and Old SMS messages

NOTE: This script was tested using a Huawei WiFi router model No. E5373s-155

For updates to this, and other CLI tools, please follow me on twitter: @jzikusooka or email me at josephzik AT gmail.com

Your contributions are welcome. For bug fixes, please open an issue

Devices known to work

(Tested)

  • Huawei E5373s-155
  • Huawei B529s-23a

(Not yet Tested)

  • Huawei B310s

Supported Platforms

  • Linux
  • Mac OS
  • FreeBSD? (Not yet tested)

Requirements

  1. coreutils 8+ packages with base64 and sha256sum utilities

Usage

Usage: ./query_huawei_wifi_router.sh [IP_ADDRESS] [LOGIN_USER] [LOGIN_PASSWORD][TASK (Optional)]

e.g. ./query_huawei_wifi_router.sh 192.168.8.1 admin secret info_all

Tasks

info_all

battery

data

users

sms_read

sms_send [NUMBER] [MESSAGE]

reboot

About

A CLI tool that queries a Huawei LTE WiFi router (MiFi) to get statistics such as signal strength, battery status, remaining data balance etc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages