Giter Club home page Giter Club logo

scutclient

SCUT Dr.com(X) client written in C.

Compiling

Using automake (for all distribution)

git clone https://github.com/scutclient/scutclient.git
cd scutclient
mkdir build && cd build
cmake ..
make

Using OpenWrt buildroot

Download source code

To compile the latest stable version, you only need openwrt/Makefile in the source code. Buildroot will automatically download the source.

If you want to compile the latest git HEAD, you need to clone the entire repository and checkout to the branch/version you need.

Preparation

Using SDK

Download and extract the SDK you need. For example(Snapshots on ar71xx):

wget https://downloads.openwrt.org/snapshots/targets/ar71xx/generic/openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64.tar.xz
tar -Jxvf openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64.tar.xz
cd openwrt-sdk-ar71xx-generic_gcc-5.5.0_musl.Linux-x86_64

Using OpenWrt source code

Nothing to do here.

Creating your package

Create a directory called scutclient inside your package directory and copy openwrt/Makefile into it. (Of course this can be done using GUI file manager :D )

mkdir package/scutclient
cp {SCUTCLIENT_SRC_DIR}/openwrt/Makefile package/scutclient

Then you've created a package for the latest stable version.

If you want to compile other version you need to edit the openwrt/Makefile and change variable SRCDIR (at line 12) to your source code directory.

Compiling

Using SDK

Execute the following command:

make defconfig
make package/scutclient/compile V=s

The compiled ipk will be placed under bin directory.

Using OpenWrt source code

Select scutclient under Network tab and start building your firmware.

Usage

scutclient --username <username> --password <password> [options...]
 -i, --iface <ifname> Interface to perform authentication.
 -n, --dns <dns> DNS server address to be sent to UDP server.
 -H, --hostname <hostname>
 -s, --udp-server <server>
 -c, --cli-version <client version>
 -T, --net-time <time> The time you are allowed to access internet. e.g. 6:10
 -h, --hash <hash> DrAuthSvr.dll hash value.
 -E, --online-hook <command> Command to be execute after EAP authentication success.
 -Q, --offline-hook <command> Command to be execute when you are forced offline at nignt.
 -D, --debug
 -o, --logoff

If any advice, open an issue or contact us at SCUT Router Group.

Contact us

SCUT Router Group (Audit) on QQ : 262939451

SCUT Router Group on Sina Weibo

SCUT Router Podcast on Telegram

License

AGPLv3

We believe that you know what you are doing. You should get this software for free.

SCUT Router Project's Projects

pyscutclient icon pyscutclient

基于scapy的scutclient,使用python实现,适用于原来的翼起来客户端

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.