ADSL pppoe 拔号工具rp-pppoe
rp-pppoe 目前在各大發行版本都是存在的,比如Redhat/Fedora、紅旗、Slackware、Debian、SuSE等系統,都是采用這個拔號軟件,所以您大可不必為下載源碼編譯安裝。只需要在各大發行版的安裝盤中就可以找得到;請用各大發行版自帶的軟件包管理工具來安裝此軟件包;
如果您用的是各大發行版提供的rp-pppoe軟件包 比如 RPM包的系統是用 rpm -ivh rp-pppoe*.rpmSlackware 系統是用 installpkg rp-pppoe*.tgz 在Redhat/Fedora 中可以通過圖形配置工具來完成,redhat-config-network 命令,調用配置網絡,要通過XDSL來添加拔號,比較簡單;
所有發行版通用的方法是adsl-setup 命令來配置ADSL;
5.12 如果是源碼包安裝,我們要自己來編譯安裝;
[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): 在這里添寫你的拔號用戶名;就是服務商提供的;
>>> 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,就要在這里寫上接貓的那個網絡接口號。此處是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): 注:默認回車
>>> Enter the DNS information here: 202.96.134.133? 注:在這里寫上DNS服務器地址;可以和提供商要,也可以用我寫的這個;
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 這是第二個DNS服務器地址;
>>> Please enter your PPPoE password:在這里輸入用戶的密碼;
>>> Please re-enter your PPPoE password: 確認密碼;
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 注:在這里寫上2,可以共享上網的;當然還得加一條防火墻規劃 ;
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 注:是不是保存配置;
轉載于:https://www.cnblogs.com/fanweisheng/p/11109313.html
總結
以上是生活随笔為你收集整理的ADSL pppoe 拔号工具rp-pppoe的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Java基础 println 输出常量的
- 下一篇: java中用byte[]数组实现的队列和