免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 3039 | 回复: 17
打印 上一主题 下一主题

大家帮我看看Linux(Red Hat9)下ADSL无法上网的问题,急 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-10-23 11:10 |只看该作者 |倒序浏览
我下载了ppoe安装了,然后运行adsl-setup安装,
以下是安装提示:
Welcome to the ADSL client setup.  First, I will run some checks on
your system to make sure the PPPoE client is installed properly...

The following DSL config was found on your system:

  Device:      Name:
  ppp0         DSLppp0

Please enter the device if you want to configure the present DSL config
(default ppp0) or enter 'n' if you want to create a new one:

==============================
我选择默认  ppp0
==============================

LOGIN NAME

Enter your Login Name (default admin): admin

===============================================
我输入了ADSL提供商给我的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 ethX, where 'X' 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):

===============================================
这个我也是选择默认,no
===============================================

DNS

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide dynamic 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: 202.101.98.54
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.101.98.55

===============================================
如上所示,我输入的DNS是202.101.98.54和202.101.98.55
后来我改用server也不行。
===============================================

PASSWORD

Please enter your Password:
Please re-enter your Password:

===============================================
我输入ADSL登录密码。
===============================================

USERCTRL

Please enter 'yes' (two letters, lower-case.) if you want to allow
normal user to start or stop DSL connection (default yes):

================================
我选择yes
================================

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): 0

===============================================我选择0
===============================================

Start this connection at boot time

Do you want to start this connection at boot time?
Please enter no or yes (default no):

===============================================我选择no
===============================================

** Summary of what you entered **

Ethernet Interface: eth0
User name:          admin
Activate-on-demand: No
Primary DNS:        202.101.98.54
Secondary DNS:      202.101.98.55
Firewalling:        NONE
User Control:       yes
Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/sysconfig/network-scripts/ifcfg-ppp0
Adjusting /etc/resolv.conf
Adjusting /etc/ppp/chap-secrets and /etc/ppp/pap-secrets
  (But first backing it up to /etc/ppp/chap-secrets.bak)
  (But first backing it up to /etc/ppp/pap-secrets.bak)

Congratulations, it should be all set up!

Type '/sbin/ifup ppp0' to bring up your xDSL link and '/sbin/ifdown ppp0'
to bring it down.
Type '/sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0'
to see the link status.

=================================可是我还是无法上网,我敲了adsl-start还是不行,敲adsl-status查看,显示如下信息:
Note: You have enabled demand-connection; adsl-status may be inaccurate.
adsl-status: Link is attached to ppp0, but ppp0 is down
就是说ppp0没办法up.
我用系统工具--网络--添加xDSL设备,然后激活的办法,却提示无法激活,不知道怎么回事,我在Windows可以正常上网。
=================================

论坛徽章:
0
2 [报告]
发表于 2004-10-23 14:42 |只看该作者

大家帮我看看Linux(Red Hat9)下ADSL无法上网的问题,急

ifup ppp0 行不行?

论坛徽章:
0
3 [报告]
发表于 2004-10-23 15:31 |只看该作者

大家帮我看看Linux(Red Hat9)下ADSL无法上网的问题,急

其实你不要下载什么软件的,RH9本身就带了拔号功能.
你装好RH9后,直接在终端下运行:adsl-setup.
如果你不是全新安装的话,你要把你之前配置的PPP0删除掉.然后再重新配置的.

论坛徽章:
0
4 [报告]
发表于 2004-10-23 15:44 |只看该作者

大家帮我看看Linux(Red Hat9)下ADSL无法上网的问题,急

rh9的波号有问题的。
需要自己下载安装。

论坛徽章:
0
5 [报告]
发表于 2004-10-23 15:50 |只看该作者

大家帮我看看Linux(Red Hat9)下ADSL无法上网的问题,急

我在Mozilla中敲入192.168.0.1,已经可以访问路由器了,我的路由器是D-Link生产的DSL-500。

可是仍然无法上网,敲入其他网址都是无法连接。

谁能帮我解释一下这句话?

adsl-status: Link is attached to ppp0, but ppp0 is down

敲入ifup ppp0,然后过一会什么信息也没有,没有提示出错,也没有提示连接成功。是不是要安装DHCP?
如何删除已经安装过的ppp0软件,是不是把配置文件全部删掉?
我不是用rpm安装包装的,我是用./go来安装的。

论坛徽章:
0
6 [报告]
发表于 2004-10-23 19:03 |只看该作者

大家帮我看看Linux(Red Hat9)下ADSL无法上网的问题,急

adsl怎么样我不清楚
但是我家vdsl就没有任何问题啊,只要直接在RH下设置就可以了啊

论坛徽章:
0
7 [报告]
发表于 2004-10-23 20:47 |只看该作者

大家帮我看看Linux(Red Hat9)下ADSL无法上网的问题,急

我看adsl上网的文章介绍都是只要那样设置就行了,郁闷啊!

论坛徽章:
0
8 [报告]
发表于 2004-10-23 22:11 |只看该作者

大家帮我看看Linux(Red Hat9)下ADSL无法上网的问题,急

把adsl设置成路由模式。
让它自动拨号。

论坛徽章:
0
9 [报告]
发表于 2004-10-23 23:13 |只看该作者

大家帮我看看Linux(Red Hat9)下ADSL无法上网的问题,急

好久都没有上CHINAUNIX了这儿好热闹
不过你说的问题到是你想用你下的PPPOE来拨号
当然是好事

你可以先用系统自带的PPPOE拨号呀,这样可以试出是不是软件的问题了
还有你说你连接的是一个路由器吗,你在路由器上配置了东东没得
如果配置了,ETH0是要被占用的

论坛徽章:
0
10 [报告]
发表于 2004-10-24 00:42 |只看该作者

大家帮我看看Linux(Red Hat9)下ADSL无法上网的问题,急

原帖由 "hutigers" 发表:
把adsl设置成路由模式。
让它自动拨号。
怎么弄我也和他差不多
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP