ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 在Ubuntu 18.04上编译安装pppoe客户端软件

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

Linux操作系统 作者:安全剑客 时间:2020-03-24 09:31:43 0 删除 编辑
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:~/]$ cd src

配置:

[root@linux:~/]$ ./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:~/]$ 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:~/]$ 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.linuxprobe.com/ubuntu-1804-rp-pppoe.html

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31559985/viewspace-2682167/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2018-11-01

  • 博文量
    1407
  • 访问量
    1397809