PPPoE relay for Xiaomi router Mini R1CM(小米路由Mini R1CM)
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.
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]
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 – 开放平台
- Intergrated scripts - bring up pppoe-relay while system boot up
- pppoe-relay - builded from RP-PPPoE (rp-pppoe-3.11.tar.gz)
- plink.exe/pscp.exe - Windows tools to interactive with Xiaomi router throught SSH/SCP
- Downlaod files
- Update
DEFAULT_PW
in mi_mini_pppoe_relay_config.cmd - If need, update
DEFAULT_IP
andDEFAULT_ID
as well - Double-click mi_mini_pppoe_relay_install.bat to install files to router
- An OpenWrt build-in function
soft_fast_path
would corrupt our pppoe-relay process. To make sure everything working well, the install script will stopsoft_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.
Organization | Logo |
---|---|
Xiaomi technology 小米 | |
OpenWrt | |
RP-PPPoE | |
MediaTek MT7620 |