溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Linux下如何安裝PPPoE客戶端

發(fā)布時間:2022-02-16 15:07:39 來源:億速云 閱讀:356 作者:小新 欄目:開發(fā)技術

這篇文章給大家分享的是有關Linux下如何安裝PPPoE客戶端的內(nèi)容。小編覺得挺實用的,因此分享給大家做個參考,一起跟隨小編過來看看吧。

PPPoE(PPP over Ethernet)協(xié)議是一種把PPP幀封裝到以太網(wǎng)幀中的鏈路層協(xié)議。PPPoE可以使以太網(wǎng)網(wǎng)絡中的多臺主機連接到遠端的寬帶接入服務器。

Linux下如何安裝PPPoE客戶端

下載RP-PPPoE

您可以在此處下載RP-PPPoE:

  • rp-pppoe-3.13.tar.gz
  • GPG Signature

RP-PPPoE是免費軟件; 但它不提供保修或支持。 很抱歉也無法為RP-PPPoE提供電子郵件或電話支持。 如果您在購買的Linux發(fā)行版中收到RP-PPPoE,則您可能有權獲得發(fā)行版供應商的支持。 首先應該嘗試您的供應商。

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/sbinif test -x licensed-only/pppoe-server-control ; then /usr/bin/install -c -m 755 licensed-only/pppoe-server-control /usr/sbin; fiif test......

感謝各位的閱讀!關于“Linux下如何安裝PPPoE客戶端”這篇文章就分享到這里了,希望以上內(nèi)容可以對大家有一定的幫助,讓大家可以學到更多知識,如果覺得文章不錯,可以把它分享出去讓更多的人看到吧!

向AI問一下細節(jié)

免責聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權內(nèi)容。

AI