GithubHelp home page GithubHelp logo

wublah / openwrt-netkeeper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from miao1007/openwrt-netkeeper

0.0 0.0 0.0 4.15 MB

[C/C++] Run Netkeeper on OpenWrt Device

Makefile 6.12% C 92.01% Shell 1.87%

openwrt-netkeeper's Introduction

#Openwrt-NetKeeper

中文说明

This is an algorithm(C/Linux) to generate the real username during PPPoE. I disassembled the code from the Android version , modified it to run the algorithm on OpenWRT.

Click here to see BBS topic.

How does it work

###Features

  1. Efficiency algorithm, specially optimized for embedded system.
  2. Portable, you can swift this script to other devices.
  3. Auto-fit all kinds of username input.
  4. Support both OpenWRT and PandoraBox(not recommend).

###Supported Province

See all suppported provinces at supported radius

For Changes in Latest Version of Netkeeper (创翼/翼讯/Netkeeper/极速卡/山东移动高校宽带/河北联通)

See Wiki

##Usage

####1. Download the Latest release

  1. sxplugin.so
  2. confnetwork.sh

after downloaded, please edit pppd_options username password in confnetwork.sh ,

####2. Upload use scp(you can try WinScp on windows ) to upload

yourprovince_sxplugin.so -> /usr/lib/pppd/2.4.7/
confnetwork.sh -> /tmp/

####3. Config ssh into the router and run the script

chmod a+x /tmp/confnetwork.sh
sh /tmp/confnetwork.sh 

finially sync your router's time and reconnect your NetKeeper interface in browser

##Development This is for advanced development only.

###1. Compile from source code

As a prerequisite you should setup a 64-bit Ubuntu(recommend 14.04) with its dependencies. Or you can use Coding.net's WorkSpace to compile the binary

####1.1. Get the source code on your machine

git clone --depth=1 https://github.com/miao1007/Openwrt-NetKeeper.git

####1.2. Get Toolchain

download latest Toolchain

or use script

#this is a sample for mipsel(Little Endian) device
wget https://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/OpenWrt-Toolchain-ramips-for-mipsel_24kec%2bdsp-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2 -O - | tar xj
#or chinese mirror
#wget http://mirrors.ustc.edu.cn/openwrt/barrier_breaker/14.07/ramips/mt7620a/OpenWrt-Toolchain-ramips-for-mipsel_24kec%2bdsp-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2 -O - | tar xj

####1.3. Config

Read and edit makefile and confnetwork.sh TODOS carefully

####1.4. Compile

cd Openwrt-NetKeeper/src/
make all

####1.5. (Optinal)Download from Cloud if using cloud IDE, try

tar zcf sxplugin_mipsel.tar *_sxplugin.so

and download.

###2. Config router

You can use my script to upload

make upload

##Troubleshooting

  1. Search wiki before ask question
  2. Submit new issue with your log in OpenWRT.

##Acknowledgements

##Developed By Leon - [email protected]

##License

  1. GPL
  2. No TAOBAO use

Bitdeli Badge

openwrt-netkeeper's People

Contributors

miao1007 avatar cuyl avatar sunflyer avatar realityone avatar sg4dylan avatar luoxufeiyan avatar 23171580 avatar mumuhhh avatar bitdeli-chef avatar

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.