Skip to content
forked from mkorz/b618reboot

Simple Python script for rebooting Huawei B618 LTE router

License

Notifications You must be signed in to change notification settings

weases/b618reboot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

b618reboot

Please note this script was written for Python 3 and higher.

About

Simple Python script for rebooting Huawei B618 and B715 LTE router via web interface.

My router occasionally drops the LTE connection (whilst still responding on the LAN interface) and the quick fix is to reboot the device using its web interface. Which was ok for a while, but as I was going on holiday and wanted to keep thr LTE connection running to have access to the security camera, I decided to quickly write a script which I could run from cron on my home Linux server to trigger the reboot when the connection goes down.

It is not pretty (sorry!) but it does the job for me. It might work with other Huawei router using SCRAM authentication but do not have any around, so cannot test. Feel free to let me know if it does. Happy to accept improvements via pull requests!

Model and firmware info

B618 B715
Device name: B618s-22d B715s-23c
Hardware version: WL1B610FM WL1B610FM05
Software version: 11.185.01.01.104 11.195.03.01.965
Web UI version: 21.100.26.00.0 21.100.39.00.03

About

Simple Python script for rebooting Huawei B618 LTE router

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%