LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 5861|回复: 12

如何升级rp-pppoe?

[复制链接]
发表于 2003-3-2 13:10:32 | 显示全部楼层 |阅读模式
RH8.0默认安装,其他什么都没改动过,配置好XDLS连接后可以上网,但是浏览任何网页都只有几K,换成XP确可以达到下载几百K的速度,这也差太多了吧。请问如何解决?有什么好的方法可以提高网络速度?我用的网卡是8029芯片的10M网卡,ADSL外猫,已经关掉linux的网络防火墙。
发表于 2003-3-2 16:49:01 | 显示全部楼层
可能是DSN的事吧,设置一下DNS试一下,不要用DHCP来自动设置IP和DNS。我们可能自己来设置。
IP:192.168.0.1
netmask:255.255.255.0
网关,不要设置,如果是一台机器的话。
用redhat-config-network来设置
先试一下。有问题再讨论
发表于 2003-3-2 16:52:38 | 显示全部楼层
默认应该不会慢才对啊~!
 楼主| 发表于 2003-3-2 17:30:12 | 显示全部楼层
已经设置过了,还是很慢,下载东西从来没有超过10K,会是网卡驱动的问题吗?我的网卡被自动设置成PCI NE2000没有找到8029芯片的驱动。
 楼主| 发表于 2003-3-2 21:08:01 | 显示全部楼层
我一直没办法装8029的驱动,不过查过资料说NE2000的驱动是兼容8029的,如果驱动没有装好根本就上不了网的吧。
我找到的驱动已经很旧了,是97年的。那时候内核才1.X版本,请问还有什么其它的原因?不要告诉我电信不支持linux.
发表于 2003-3-3 01:17:28 | 显示全部楼层
我也是用的8029,rh8,adsl上网不用激活网卡,我的网卡也一直没办法激活。dns自已填。没用rh8自带的pppoe,从网上下载的rp-pppoe3.5编译安装。速度很快。
 楼主| 发表于 2003-3-3 09:23:18 | 显示全部楼层
请问木各:你有没有用过RH8.0自带的rp-pppoe?那个版本是3.4.7的,3.5的我没有试过等周末回家试试看在来讨论。

还有,linux下上网需要优化吗?
发表于 2003-3-3 10:14:31 | 显示全部楼层
rh8自带的pppoe我没用过。
发表于 2003-3-3 10:48:15 | 显示全部楼层
请问木各:你有没有用过RH8.0自带的rp-pppoe?那个版本是3.4.7的,3.5的我没有试过等周末回家试试看在来讨论。

还有,linux下上网需要优化吗?

升级rp-pppoe来试一下。
把原来的删除,卸载.
[root@linuxsir01 rp-pppoe-3.5]# rpm -e rp-pppoe

然后到

http://www.roaringpenguin.com/pppoe/

下载
http://www.roaringpenguin.com/penguin/pppoe/rp-pppoe-3.6.tar.gz

#tar zxvf rp-pppoe-3.6.tar.gz

[root@linuxsir01 root]# cd rp-pppoe-3.6

[root@linuxsir01 rp-pppoe-3.6]# ./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来试一下。
 楼主| 发表于 2003-3-3 12:10:19 | 显示全部楼层
北南南北真是太热心了,谢谢谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表