Code Monkey home page Code Monkey logo

giwifi's Introduction

Giwifi

校园网自动认证

Padavan使用方法

1、先使用ssh登陆路由器

2、安装opkg

opkg.sh

3、安装python3

opkg install python3   

4、安装pip3

opkg install python3-pip

5、安装依赖库requests

pip3 install requests

6、下载giwifi.py源码

wget http://mgh234.xyz/giwifi.py

7、修改账号配置
输入vi giwifi.py在第34和35行修改成自己的账号和密码,然后保存

8、配置路由器
打开Padavan管理界面,再依次打开自定义设置--->脚本--->自定义脚本0(功能配置)
在最后填入以下内容:

python3 /opt/home/admin/giwifi.py

9、设置定时重启
依次打开系统管理--->系统设置--->定时重启进行设置
这时路由器在启动时就会自动进行认证了

giwifi's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.