在Ubuntu 18.04上编译安装pppoe客户端软件

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

在Ubuntu 18.04上编译安装pppoe客户端软件在Ubuntu 18.04上编译安装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,就这样,你会了吗?Linux就该这么学

发布了10 篇原创文章 · 获赞 40 · 访问量 21万+

猜你喜欢

转载自blog.csdn.net/Linuxprobe18/article/details/104936547
今日推荐