Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)