首先准備3個軟件包:rp-pppoe-3.10.tar.gz : rp-pppoe-3.10下載地址(當然可以自行搜索)
modconf_0.3.9_all.deb和pppoe_3.8-3_i386.deb,modconf 下載地址(點擊all,進入下載地址列表) pppoe下載地址,選“硬件架構”列表
1,安裝modconf_0.3.9_all.deb和pppoe_3.8-3_i386.deb,直接雙擊安裝上面兩個deb包,安裝...
2,安裝rp-pppoe-3.10.tar.gz :
3,本人安裝目錄為/home/sxqlj/MyTool/pppoe(pppoe為:對rp-pppoe-3.10重命名)
在此處將rp-pppoe-3.10.tar.gz進行解壓,進入目錄: cd /home/sxqlj/MyTool/pppoe/src,
如sxqlj@Ubuntu:~/MyTool/pppoe/src$
4,./configure
5,make
6,sudo make install
7,某些關鍵配置:
Enter your PPPoE user name (default [email protected]):(此處為閃訊帳號)
For Linux, it will be ethn, where 'n' is a number. (default eth0): (可以直接回車)
You may have some problems with demand-activated links.
Enter the demand value (default no): (可以直接回車)
Enter the DNS information here:(可以直接回車)
PASSWORD
>>> Please enter your PPPoE password:
>>> Please re-enter your PPPoE password:
Choose a type of firewall (0-2): 0(自己選擇)
Start this connection at boot time
Do you want to start this connection at boot time?
Please enter no or yes (default no):y(自己選擇)
然後會出來一個總結:
** Summary of what you entered **
Accept these settings and adjust configuration files (y/n)?(選擇n可以重復上面的步驟,重新配置)
8,如果運行(sudo)pppoe-start可以上網,那就可以了,否則再按下配置
9,終端運行sudo pppoeconf 進行配置,其中用戶名為閃訊帳號,密碼為帳號密碼。一般按照配置上的建議進行選擇就可以了
10,最後一步可能需要重啟就可以了