A tool to help NJUPTer to connect the campus network conveniently.
It will listen for the network changed notifications and automatically do the authentication.
Configurator is available in v0.1.1 and afterwards.
- Download the binaries or build from the source on your own.
- Open
njupt_wifi_login_configurator
, write down your account and click Save button. - Reboot your computer
- Download the binaries or build from the source on your own.
- Write down your userid and password into the configuration file (eg.
njupt_wifi.yml
).isp: CT # 移动用 CMCC,电信用 CT,南邮自身的用 EDU userid: "B22999999" password: "password123456"
- Config to run
njupt_wifi_login
at startup and it will automatically do the rest.
Currently it's Windows-only since the author doesn't use Linux in desktop environments.
For those who may be interested in Linux support, try to use NETLINK_ROUTE
to implement the listener. The cargo package rtnetlink
may be helpful.
PRs for narrowing the limitation is welcome.
It will use no proxy during the authentication for the proxy may be not available until the network is logged in.
It will use Google DNS Servers (in the white list of the firewall) internally to avoid dns not available during authentication.
We write it meticulously with Rust, thus you are mostly not needed to worry about the cost of performance.
Licensed under MIT license.