shu auto net
1.0.0
This script is written in Python3 and depends on
Requests
IPy
pywifi
In the main() function of the python file, change 0000000 to the student number and "xxxxx" to the password
connect_wire(00000000, "xxxxxx")
Reference link: https://blog.csdn.net/u012849872/article/details/82719372
Enter crontab in bash -e
Then add specific command statements to the editing interface and execute them every five minutes
*/5 * * * * /usr/bin/python3.6 youpath/auto-shunet.py
Add directive in /etc/rc.local
/usr/bin/python3.6 youpath/auto-shunet.py