Skip to content

deren/mi_mini_pppoe_relay

Repository files navigation

Objective

For some environment, people may need PPPoE to get public IP under NAT. pppoe-relay would help to passthrough PPPoE packets between WAN and LAN, even if WLAN. With it, you can build up your special network structure on your own.

To improve user-expierence, you can one-click to install everything on Windows 7/XP. Don't worry about the un-friendly interfaces in Linux system.

What is PPPoE

This is a brief introduction in Wikipedia

The Point-to-Point Protocol over Ethernet (PPPoE) is a network protocol for encapsulating PPP frames inside Ethernet frames. It appeared shortly after the year 2000, in the context of the boom of the DSL as the solution for tunneling packets over the DSL connection to the ISP's IP network, and from there to the rest of the Internet. A 2005 networking book noted that "Most DSL providers use PPPoE, which provides authentication, encryption, and compression."[1] Typical use of PPPoE involves leveraging the PPP facilities for authenticating the user with a username and password, predominately via the PAP protocol and less often via CHAP.[2]

Pre-requirement

This program is made for Xiaomi router Mini R1CM. Please check your board before starting.

root@XiaoQiang:~# cat /proc/xiaoqiang/model
R1CM

You have to enable SSH function in your Xiaomi router Mini first. For more detail, please check MiWiFi – 开放平台

Components

How to install


Note

  • An OpenWrt build-in function soft_fast_path would corrupt our pppoe-relay process. To make sure everything working well, the install script will stop soft_fast_path by default.
  • pppoe-relay is a pure software program. When you are running a PPPoE connection under NAT, the CPU loading would be a little bit higher than original case.

Thanks

Organization Logo
Xiaomi technology 小米
OpenWrt
RP-PPPoE
MediaTek MT7620

About

PPPoE relay function for Xiaomi router Mini

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published