Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zonyitoo/sysuh3c-cgi
CGI for sysuh3c in OpenWRT
https://github.com/zonyitoo/sysuh3c-cgi
Last synced: 3 months ago
JSON representation
CGI for sysuh3c in OpenWRT
- Host: GitHub
- URL: https://github.com/zonyitoo/sysuh3c-cgi
- Owner: zonyitoo
- Created: 2013-09-15T09:31:11.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-16T09:42:01.000Z (over 11 years ago)
- Last Synced: 2023-04-09T22:20:00.367Z (over 1 year ago)
- Language: C
- Size: 1.55 MB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Login CGI for CLI H3C
[SYSU H3C](https://github.com/zonyitoo/sysuh3c) is a H3C client.*Only tested in SYSU east campus*
## Depencences
* uhttpd
* libc
* libgcc
* [sysuh3c](https://github.com/zonyitoo/sysuh3c)## Compile
* First you should get the **OpenWRT-SDK**. See [here](http://wiki.openwrt.org/zh-cn/doc/howto/obtain.firmware.sdk) for more detail.
* Then `cd` into the SDK Directory.
```bash
git clone [email protected]:zonyitoo/sysuh3c-cgi.git package/sysuh3c-cgi
```* Modify sysuh3c-cgi/Makefile
```makefile
define Package/$(PKG_NAME)
...
PKGARCH=[arch]
endef
```* You will get the `sysuh3c-cgi_[version]-1_[arch].ipk` in `bin/[arch]/package`
## Usage
* Start the `uhttpd` daemon.
```bash
/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start
```* Open your browser, visit the URL: `http://192.168.1.1/cgi-bin/sysuh3c.cgi`
*It supports all mobile phone.*
## Screenshot
![screenshot](https://raw.github.com/zonyitoo/sysuh3c-cgi/master/screenshot.png)