wen-long / Openwrt-NetKeeper

A Plugin for NetKeeper PPPOE

Home Page:http://www.right.com.cn/forum/thread-141979-1-1.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Openwrt-NetKeeper

###Overview

这是Netkeeper的路由器拨号插件,没有心跳,详细介绍见这里

心跳已经反编译出来了,不过应该是烂尾了,没时间移植了.... https://github.com/miao1007/android-netkeeper

###Download

  • Source code: Source code are available in /src

###Getting Start

  1. Git clone and read the code.

  2. Download the Lastest GCC

  3. Unzip the GCC to anywhere

  4. edit /src/makefile, change the defalut GCC location to your GCC‘s location

  5. run make in terminal

  6. Upload your "sxplugin.so"

     scp  {drag your `.so` file here}   root@192.168.1.1:/usr/lib/pppd/2.4.7/
    
  7. Configure your router

     ssh root@192.168.1.1
     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'
    
  8. sync your router's time.

  9. ifup 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 - miao1007@gmail.com

##License

Copyright 2013,2014 miao1007@gmail.com

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

A Plugin for NetKeeper PPPOE

http://www.right.com.cn/forum/thread-141979-1-1.html


Languages

Language:C 98.6%Language:Makefile 1.4%