Search for Ubuntu Version? click here
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.
- Efficiency algorithm, specially optimized for embedded system.
- Portable, you can swift this script to other devices.
- Auto-fit all kinds of username input.
- Support both OpenWRT and PandoraBox(not recommend).
See all suppported provinces at supported radius
See Wiki
after downloaded, please edit pppd_options
username
password
in confnetwork.sh
,
use scp(you can try WinScp on windows ) to upload
yourprovince_sxplugin.so -> /usr/lib/pppd/2.4.7/
confnetwork.sh -> /tmp/
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
This is for advanced development only.
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
git clone --depth=1 https://github.com/miao1007/Openwrt-NetKeeper.git
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
Read and edit makefile
and confnetwork.sh
TODOS carefully
cd Openwrt-NetKeeper/src/
make all
if using cloud IDE, try
tar zcf sxplugin_mipsel.tar *_sxplugin.so
and download.
You can use my script to upload
make upload
Leon - [email protected]
- GPL
- No TAOBAO use