在Ubuntu 18.04上編譯安裝pppoe客戶端軟體

安全劍客發表於2020-03-24
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,就這樣,你會了嗎?

原文地址: https://www.linuxprobe.com/ubuntu-1804-rp-pppoe.html

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31559985/viewspace-2682167/,如需轉載,請註明出處,否則將追究法律責任。

相關文章