# ipgw
**Repository Path**: aerotic/ipgw
## Basic Information
- **Project Name**: ipgw
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-08-31
- **Last Updated**: 2021-08-31
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
IPGW
东北大学非官方跨平台校园网关客户端
安装 | 快速开始 | 反馈
# 安装
## Windows
在 Powershell 中执行以下命令安装
```powershell
iwr https://raw.githubusercontent.com/neucn/ipgw/master/install.ps1 -useb | iex
```
## Linux/FreeBSD/OSX
在 shell 中执行以下命令安装
```shell
curl -fsSL https://raw.githubusercontent.com/neucn/ipgw/master/install.sh | sh
```
## Others
其他系统的同学请 clone 到本地后自行编译
# 快速开始
> 须知:本项目的最初目的仅在于满足作者本人的日常使用,因此工具的输出文本中同时存在中英文。
>
> 欢迎有兴趣的同学提起 [Pull Request](https://github.com/neucn/ipgw/pulls) 将输出文本统一为中文 😀
保存 ipgw 账号 (密码将被加密存储)
```shell
ipgw config account add -u "学号" -p "密码" --default
```
如果账号密码是非统一认证方式下的,请加上 `-o` (old) 参数
```shell
ipgw config account add -u "学号" -p "密码" -o --default
```
使用默认账号快速登录,需要先保存至少一个 ipgw 账号在本地
```shell
ipgw
```
快速登出
```shell
ipgw logout
```
查看校园网信息,如套餐详情、使用记录、扣费记录等
```shell
ipgw info -a
```
检测校园网连接状况
```shell
ipgw test
```
更新工具
```shell
ipgw update
```
更多命令及其可配置项请使用 `ipgw help` 与 `ipgw help [command name]` 查看