A CLI H3C Client for OpenWRT
Only tested in SYSU east campus
-
First you should get the OpenWRT-SDK. See here for more detail.
-
Then
cd
into the SDK directory
git clone git@github.com:zonyitoo/sysuh3c.git -b openwrt package/sysuh3c
- Modify sysuh3c/Makefile
define Package/$(PKG_NAME)
...
PKGARCH:=[arch]
endef
- You will get the
sysuh3c_[version]-1_[arch].ipk
inbin/[arch]/package
-h --help print help screen
-u --user user account
-p --password password
-i --iface network interface (default is eth0)
-m --method EAP-MD5 CHAP method [xor/md5] (default xor)
-d --daemonize daemonize
-c --colorize colorize
-l --logoff logoff