ADSL pppoe 拔号工具rp-pppoe
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;
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)題。
- 上一篇: Java基础 println 输出常量的
- 下一篇: java中用byte[]数组实现的队列和