0.2.2 • Published 6 years ago
ncu-net v0.2.2
English | 简体中文
NCU Net is a command line client for NCU Campus Network Access Authentication System. Supports both NCU-5G/NCU-2.4G and NCUWLAN.

Install
- npm:
npm i -g ncu-net - Yarn:
yarn global add ncu-net - Packages for Windows, Linux & macOS: Releases
There is an user script version as well.
Features
- No more manual authentication
- Auto detect access point type
- Auto reconnect
- Concise & colorful messages and logs
Usage
If no option is provided, NCU Net will make a connection.
> ncu-net -h
Usage: ncu-net [options]
Options:
-x, --ncuxg <account> Config NCU-5G/NCU-2.4G account
-w, --ncuwlan <account> Config NCUWLAN account
-t, --timing <time> Config check interval & retry timeout
-c, --config [file] View config or load config from provided JSON file
-V, --version output the version number
-h, --help output usage informationNotes:
- NCU-5G/NCU-2.4G account format is
Username@ISP,Password.- ISP:
cmcc,unicom,ndcardorncu
- ISP:
- NCUWLAN account format is
username,password. - Time format is
Check interval,Retry timeout(in milliseconds).- We recommend setting retry timeout to no less than 10 seconds, because NCUWLAN needs a 10 seconds break between two logins.
You can also set up a daemon via a process manager (e.g. pm2).
Development
- Setup
yarn - Run
node src/ncu-net.js