shu auto net
1.0.0
สคริปต์นี้เขียนใน Python3 และขึ้นอยู่กับ
Requests
IPy
pywifi
ในฟังก์ชั่นหลัก () ของไฟล์ Python เปลี่ยน 0000000 เป็นหมายเลขนักเรียนและ "xxxxx" เป็นรหัสผ่าน
connect_wire(00000000, "xxxxxx")
ลิงค์อ้างอิง: https://blog.csdn.net/U012849872/article/details/82719372
ป้อน crontab ใน bash -e
จากนั้นเพิ่มคำสั่งคำสั่งเฉพาะลงในอินเทอร์เฟซการแก้ไขและดำเนินการทุก ๆ ห้านาที
*/5 * * * * /usr/bin/python3.6 youpath/auto-shunet.py
เพิ่มคำสั่งใน /etc/rc.local
/usr/bin/python3.6 youpath/auto-shunet.py