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

76 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# zjunet
Command Line Scripts for ZJU (VPN / WLAN / DNS)
## Features
- ZJU VPN (l2tp)
- ZJU WLAN
- 路由器支持written in Bourne Shell
- 多拨支持(多账户负载均衡)
- ZJUWLAN 与 ZJUVPN 带宽叠加1 WLAN + N VPN在 ZJUWLAN 下)
- DNS 自动测试设置(适用于 DNS 坏掉的情况)
## Requirements
### vpn
- xl2tpd
### wlan
- curl
- iconv
## Install
### From source
```bash
git clone https://github.com/QSCTech/zjunet.git
cd zjunet
sudo ./install.sh
```
## Openwrt
Install xl2tpd:
https://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/packages/
## Dev
QSCer 可以直接向这个 repo push 而不用发 pull request。
有什么疑虑可以提 issue 问一下,
或者直接来办公室找我(zenozeng)。
master分支请尽可能保持稳定
如果要做破坏性变更的话,
进 dev 分支,
或者拉开发分支。
### Build
#### Debian
```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
- http://tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/
## Links
- [Array in unix Bourne Shell](http://unix.stackexchange.com/questions/137566/array-in-unix-bourne-shell)
- [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)