导读 PPPoE(以太网上的点对点协议Point-to-Point Protocol over Ethernet)是许多DSL Internet服务提供商使用的协议。 RP-PPPoE是Linux的免费PPPoE客户端,中继和服务器。

下载RP-PPPoE

您可以在此处下载RP-PPPoE:

RP-PPPoE是免费软件; 但它不提供保修或支持。 很抱歉也无法为RP-PPPoE提供电子邮件或电话支持。 如果您在购买的Linux发行版中收到RP-PPPoE,则您可能有权获得发行版供应商的支持。 首先应该尝试您的供应商。

Ubuntu 18.04编译安装RP-PPPoE的具体步骤,目前亲测没有问题。

编译安装

首先解压

tar xzvf rp-pppoe-3.13.tar.gz

转到源目录:

[root@linux:~/www.linuxprobe.com/rp-pppoe-3.13]$ cd src

配置:

[root@linux:~/www.linuxprobe.com/rp-pppoe-3.13]$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
......

开始编译:

[root@linux:~/www.linuxprobe.com/rp-pppoe-3.13]$ make
gcc -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes    '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.13"' -c -o pppoe.o pppoe.c
......

安装(此步骤必须以超级用户身份完成)

[root@linux:~/www.linuxprobe.com/rp-pppoe-3.13]$ make install
Type 'make install' as root to install the software.
mkdir -p /usr/sbin
/usr/bin/install -c -m 755 pppoe /usr/sbin
/usr/bin/install -c -m 755 pppoe-server /usr/sbin
if test -x licensed-only/pppoe-server-control ; then /usr/bin/install -c -m 755 licensed-only/pppoe-server-control /usr/sbin; fi
if test
......

OK,就这样,你会了吗?

原文来自:https://www.linuxidc.com/Linux/2020-03/162557.htm

本文地址:https://www.linuxprobe.com/ubuntu-1804-rp-pppoe.html编辑:清蒸github,审核员:逄增宝

Linux命令大全:https://www.linuxcool.com/

Linux系统大全:https://www.linuxdown.com/

红帽认证RHCE考试心得:https://www.rhce.net/