Code Monkey home page Code Monkey logo

openwrt-netkeeper's Introduction

#Openwrt-NetKeeper

###Overview

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.

这是一个基于OpenWRT的闪讯拨号算法的实现。通过对Android版的反编译,获得到了拨号流程,并把它移植到OpenWRT上运行,实现打破毒瘤电信垄断的效果

论坛见这里

心跳已经通过Android版反编译出来了,不过应该是烂尾了,找工作没时间移植了(用脚本语言发套接字就可以).... https://github.com/miao1007/android-netkeeper

###How Does It Work How does it work

###Supported Province

  1. 武汉E信
  2. 重庆
  3. 杭州
  4. 南昌(V18~V32)
  5. 海南
  6. 青海/**
  7. 河北
  8. 山东移动

See more at supported radius

###Features

  1. 算法非常有效率,基于位运行优化,嵌入式设备也能轻松运行;
  2. 可移植强,仅有的几个库文件在任何设备均可使用;
  3. 自适应帐号长度,支持带后缀与不带后缀的运算;
  4. 支持原厂OpenWrt、PandoraBox(但并不推荐)。

###Before Start

  • Install a 64-bit Ubuntu on your PC or Virtual-Machine
  • Download the Lastest GCC

###Getting Start

  1. Git clone and read the code. Remember to modify TODO code in source code.

  2. Unzip the GCC to anywhere

  3. Git clone and read /src/makefile, change the defalut CC and -I to your GCC‘s location,and modify TODO code in makefile.

  4. run make in terminal

  5. Upload your "sxplugin.so"

     scp  {drag your `.so` file here}   [email protected]:/usr/lib/pppd/2.4.7/
    
  6. Configure your router

     ssh [email protected]
     vi /etc/config/network
    

    To configure your wan interface

     config interface 'NetKeeper'
     	option proto 'pppoe'
     	option ifname 'eth0.2'
     	option pppd_options 'plugin sxplugin.so'
     	option username 'phone number'
     	option password 'xxxxx'
     	option metric '0'
    
  7. sync your router's time.

  8. reconnect your NetKeeper interface in Luci

##Troubleshooting

  1. Search wiki before ask question https://github.com/miao1007/Openwrt-NetKeeper/wiki
  2. Submit new issue with your log in OpenWRT.

##Acknowledgements

##Developed By Leon - [email protected]

##License

  1. GPL
  2. No TAOBAO use

openwrt-netkeeper's People

Contributors

cuyl avatar miao1007 avatar mumuhhh avatar realityone avatar sg4dylan avatar sunflyer avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.