Skip to content

pkhuji/Jio-Fiber-Reboot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Jio-Fiber-Reboot

Nodejs script to reboot Jio-Fiber router. You can run it with Nodejs v16 or above and use cron job for routine reboot.

Example:

node index.mjs -ip=192.168.29.1 -pwd=password -t=2 -w=5

Cron job example:

58 2 * * * node /full/path/to/jio-router-reboot/src/index.mjs -ip=192.168.29.1 -pwd=password -t=2 -w=5 >> "/full/path/to/log-file/jioFiberReboot.log" 2>&1

This cron job will reboot Jio Fiber router at 2:58 AM every day and command output will be saved to file /full/path/to/log-file/jioFiberReboot.log

CLI Options List

-ip | -ipAddress
IP address of Jio-Fiber router.

-pwd | -password | -p
Pasword of admin account of Jio-Fiber router.

-user | -username | -u
Username of admin account of Jio-Fiber router. (Default: admin)

-url
URL of router login page. (Default: http://${ip}/platform.cgi )

-tries | -t
Maximum tries. (Default: 1)

-wait | -w
Wait (in seconds) between tries. (Default: 1)

-timeout | -tout
Request timout (in seconds). (Default: 60)

About

Jio Fiber Router Reboot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published