Skip to content
 
 

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

NetReconnector

The script for linux to reconnect net. The wifi of raspberrypi lost connection frequently, so this is for it.

1.put the script into the home dir, like: /home/pi

2.edit the parameter in the script

vim NetReconnector.sh
# NetCard and PingTarget should be modified.

2.add x priority to the script

chmod +x NetReconnector.sh

3.add a task with crontab

crontab -e

4.add this line which means run the script every 5 minutes between 8:00 and 22:00.

*/5 8-22 * * * ~/NetReconnector.sh 

5.log file generated in home dir, like: /home/pi/NetReconnector.log

About

The script for linux to reconnect net.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages