0.2.2 • Published 5 years ago

ncu-net v0.2.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Latest version npm downloads License

English | 简体中文

NCU Net is a command line client for NCU Campus Network Access Authentication System. Supports both NCU-5G/NCU-2.4G and NCUWLAN.

npm.io

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 information

Notes:

  • NCU-5G/NCU-2.4G account format is Username@ISP,Password.
    • ISP: cmcc, unicom, ndcard or ncu
  • 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

Similar Projects

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago