1
0
mirror of https://github.com/QSCTech/zjunet.git synced 2026-01-22 11:44:48 +08:00
zjunet/README.md

64 lines
1.3 KiB
Markdown
Raw Normal View History

2014-09-18 22:21:10 +08:00
# zjunet
Command Line Scripts for ZJU (VPN / WLAN / DNS)
2014-09-28 21:42:50 +08:00
## Features
2014-09-18 22:21:10 +08:00
2014-09-28 21:42:50 +08:00
- ZJU VPN (l2tp)
2014-09-18 22:55:22 +08:00
- ZJU WLAN
2014-09-19 23:36:35 +08:00
- 路由器支持written in Bourne Shell
2014-09-18 22:55:22 +08:00
- 多拨支持(多账户负载均衡)
2014-09-28 21:42:50 +08:00
- ZJUWLAN 与 ZJUVPN 带宽叠加1 WLAN + N VPN在 ZJUWLAN 下)
- DNS 自动测试设置(适用于 DNS 坏掉的情况)
2014-09-19 23:19:16 +08:00
2014-09-28 21:46:50 +08:00
## Requirements
### vpn
- xl2tpd
### wlan
- curl
- iconv
2014-09-29 20:02:45 +08:00
## Install
```bash
git clone https://github.com/QSCTech/zjunet.git
cd zjunet
sudo ./install.sh
```
## Dev
2014-09-29 18:44:10 +08:00
QSCer 可以直接向这个 repo push 而不用发 pull request。
有什么疑虑可以提 issue 问一下,
或者直接来办公室找我(zenozeng)。
master分支请尽可能保持稳定
如果要做破坏性变更的话,
进 dev 分支,
或者拉开发分支。
2014-09-29 21:11:49 +08:00
### Build
#### DEB
```bash
sudo apt-get install build-essential autoconf automake autotools-dev dh-make debhelper devscripts fakeroot xutils lintian pbuilder
```
see also: http://www.webupd8.org/2010/01/how-to-create-deb-package-ubuntu-debian.html
2014-09-19 23:19:16 +08:00
## Links
- [Array in unix Bourne Shell](http://unix.stackexchange.com/questions/137566/array-in-unix-bourne-shell)
2014-09-20 18:13:40 +08:00
- [How do you tell if a string contains another string in Unix shell scripting?](http://stackoverflow.com/questions/2829613/how-do-you-tell-if-a-string-contains-another-string-in-unix-shell-scripting)