|
发表于 2003-8-9 01:20:23
|
显示全部楼层
最初由 北南南北 发表
升级rp-pppoe来试一下。
把原来的删除,卸载.
[root@linuxsir01 rp-pppoe-3.5]# rpm -e rp-pppoe
然后到
http://www.roaringpenguin.com/pppoe/
下载
http://www.roaringpenguin.com/pppoe/rp-pppoe-3.5.tar.gz
#tar zxvf rp-pppoe-3.5.tar.gz
[root@linuxsir01 root]# cd rp-pppoe-3.5
[root@linuxsir01 rp-pppoe-3.5]# ./go
如果没有出现下面的提示,我们可以运行
[root@linuxsir01 rp-pppoe-3.5]# adsl-setup
Welcome to the Roaring Penguin ADSL 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):ADSL的用户名
INTERFACE
>>> Enter the Ethernet interface connected to the ADSL 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
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):在这里按回车
DNS
Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
>>> Enter the DNS information here:在这里添上你们本地电信给的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:在这里输入第二个DNS
PASSWORD
>>> Please enter your PPPoE password:在这里输入电信给的密码
>>> Please re-enter your PPPoE password:在这里再次输入电信给的密码
FIREWALLING
Please choose the firewall rules to use. Note that these rules are
very basic. You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security. If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself. Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc. If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.
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
** Summary of what you entered **
Ethernet Interface: eth0
User name: XXXX
Activate-on-demand: No
Primary DNS: 202.96.134.133
Second DNS: 202.96.168.68
Firewalling: MASQUERADE
>>> Accept these settings and adjust configuration files (y/n)?
如果确认所有的选项都正确,就按y
然后运行
[root@linuxsir01 rp-pppoe-3.5]# adsl-start
[root@linuxsir01 rp-pppoe-3.5]# ifconfig来看查看一下,是否上网了??
打开网页,试一下是否能快一下,如果速度上不去,我觉得还是DNS的事。多换几个DNS来试一下。
老大,我就是用这个方法安装的。
可是现在连DNS都ping不通啊。
系统是rh9.0 2.4.20-8,speettouch515 adsl,8139网卡 |
|