日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

ADSL pppoe 拔号工具rp-pppoe

發(fā)布時(shí)間:2024/4/15 编程问答 39 豆豆
生活随笔 收集整理的這篇文章主要介紹了 ADSL pppoe 拔号工具rp-pppoe 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

rp-pppoe 目前在各大發(fā)行版本都是存在的,比如Redhat/Fedora、紅旗、Slackware、Debian、SuSE等系統(tǒng),都是采用這個(gè)拔號(hào)軟件,所以您大可不必為下載源碼編譯安裝。只需要在各大發(fā)行版的安裝盤(pán)中就可以找得到;請(qǐng)用各大發(fā)行版自帶的軟件包管理工具來(lái)安裝此軟件包;

如果您用的是各大發(fā)行版提供的rp-pppoe軟件包 比如 RPM包的系統(tǒng)是用 rpm -ivh rp-pppoe*.rpmSlackware 系統(tǒng)是用 installpkg rp-pppoe*.tgz 在Redhat/Fedora 中可以通過(guò)圖形配置工具來(lái)完成,redhat-config-network 命令,調(diào)用配置網(wǎng)絡(luò),要通過(guò)XDSL來(lái)添加拔號(hào),比較簡(jiǎn)單;

所有發(fā)行版通用的方法是adsl-setup 命令來(lái)配置ADSL;

  • [root@localhost?~]#?adsl-setup??注:配置pppoe拔號(hào),請(qǐng)文檔下面,都差不多; ?
  • [root@localhost?~]#?adsl-start??注:啟動(dòng)拔號(hào); ?
  • [root@localhost?~]#?adsl-stop??注:斷開(kāi)連接;??
  • 5.12 如果是源碼包安裝,我們要自己來(lái)編譯安裝;

    [root@localhost ~]# tar zxvf? rp-pppoe-3.8.tar.gz

    [root@localhost ~]# cd rp-pppoe-3.8

    [root@localhost rp-pppoe-3.8]# ./go

    Welcome to the Roaring Penguin PPPoE client setup.? First, I will run

    some checks on your system to make sure the PPPoE client is installed

    properly...

    Looks good!? Now, please enter some information:

    USER NAME

    >>> Enter your PPPoE user name (default bxxxnxnx@sympatico.ca): 在這里添寫(xiě)你的拔號(hào)用戶名;就是服務(wù)商提供的;

    >>> Enter the Ethernet interface connected to the DSL modem

    For Solaris, this is likely to be something like /dev/hme0.

    For Linux, it will be ethn, where 'n' is a number.

    (default eth0): eth0 如果是乙太接口的ADSL,就要在這里寫(xiě)上接貓的那個(gè)網(wǎng)絡(luò)接口號(hào)。此處是eth0;

    Do you want the link to come up on demand, or stay up continuously?

    If you want it to come up on demand, enter the idle time in seconds

    after which the link should be dropped.? If you want the link to

    stay up permanently, enter 'no' (two letters, lower-case.)

    NOTE: Demand-activated links do not interact well with dynamic IP

    addresses.? You may have some problems with demand-activated links.

    >>> Enter the demand value (default no): 注:默認(rèn)回車(chē)

    >>> Enter the DNS information here: 202.96.134.133? 注:在這里寫(xiě)上DNS服務(wù)器地址;可以和提供商要,也可以用我寫(xiě)的這個(gè);

    Please enter the IP address of your ISP's secondary DNS server.

    If you just press enter, I will assume there is only one DNS server.

    >>> Enter the secondary DNS server address here: 202.96.128.143 這是第二個(gè)DNS服務(wù)器地址;

    >>> Please enter your PPPoE password:在這里輸入用戶的密碼;

    >>> Please re-enter your PPPoE password: 確認(rèn)密碼;

    The firewall choices are:

    0 - NONE: This script will not set any firewall rules.? You are responsible

    for ensuring the security of your machine.? You are STRONGLY

    recommended to use some kind of firewall rules.

    1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation

    2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway

    for a LAN

    >>> Choose a type of firewall (0-2): 2 注:在這里寫(xiě)上2,可以共享上網(wǎng)的;當(dāng)然還得加一條防火墻規(guī)劃 ;

    Ethernet Interface: eth0

    User name:dxxx

    Activate-on-demand: No

    Primary DNS:??????? 202.96.134.133

    Secondary DNS:????? 202.96.128.143

    Firewalling:??????? MASQUERADE

    >>> Accept these settings and adjust configuration files (y/n)? y 注:是不是保存配置;

    轉(zhuǎn)載于:https://www.cnblogs.com/fanweisheng/p/11109313.html

    總結(jié)

    以上是生活随笔為你收集整理的ADSL pppoe 拔号工具rp-pppoe的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

    如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。