QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

我要疯了,我的LINUX还是不能上网,改用的方法都用了,郁闷

[复制链接]
发表于 2005-1-1 08:12:35 | 显示全部楼层
你用adsl-connect 来连接试试。看看它的输出结果
回复

使用道具 举报

 楼主| 发表于 2005-1-4 16:13:17 | 显示全部楼层
好,我去试试,等我来
回复

使用道具 举报

 楼主| 发表于 2005-1-5 10:34:12 | 显示全部楼层
ot@localhost root]# cd /sbin
[root@localhost sbin]# 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
  ppp1         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:
                                                                                
LOGIN NAME
                                                                                
Enter your Login Name (default xnmy@96301): xnmy@96301
                                                                                
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: 61.139.2.69
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: 211.83.241.168

PASSWORD

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

USERCTRL

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

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

Start this connection at boot time

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

** Summary of what you entered **

Ethernet Interface: eth0
User name:          xnmy@96301
Activate-on-demand: No
Primary DNS:        61.139.2.69
Secondary DNS:      211.83.241.168
Firewalling:        NONE
User Control:       default
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.

[root@localhost sbin]# adsl-start
[root@localhost sbin]# adsl-status
Note: You have enabled demand-connection; adsl-status may be inaccurate.
adsl-status: Link is down (can't read pppoe PID file /var/run/pppoe-adsl.pid.pppoe)
[root@localhost sbin]#

为什么上不了网啊,郁闷,求救
回复

使用道具 举报

发表于 2005-1-5 11:31:37 | 显示全部楼层
[code:1]Type '/sbin/ifup ppp0' to bring up your xDSL link and '/sbin/ifdown ppp0'
to bring it down. [/code:1]

注意这里,用/sbin/ifup ppp0连接adsl,还有如果不是按时收费,不要启用demand-connection。
回复

使用道具 举报

 楼主| 发表于 2005-1-5 15:48:50 | 显示全部楼层
我在学校的,不是记时的,谢谢你们哈,我等下在过去试一下
回复

使用道具 举报

发表于 2005-1-5 18:01:05 | 显示全部楼层

换一个网卡,找一个D-LINK DT-530TX

估计网卡不支持,或者端口都被关掉!找本机械工业出版社的redhat 9丛书看一下,smartraining工作室编写!
回复

使用道具 举报

发表于 2005-1-6 00:12:52 | 显示全部楼层
建议你把网卡设置下,别让他随系统启动时自动激活。我的就需要这样来解决,要么还要每次上adsl前先断开一下网卡
回复

使用道具 举报

 楼主| 发表于 2005-1-6 03:36:26 | 显示全部楼层
楼上的能不能具体一点,我才学LINUX
回复

使用道具 举报

 楼主| 发表于 2005-1-6 03:48:16 | 显示全部楼层
我的是ABIT  NF7的主版,自带的网卡,但是我机子上有一快  电话拨号的MODE
       问题不会是出在这里嘛
回复

使用道具 举报

 楼主| 发表于 2005-1-6 10:12:12 | 显示全部楼层
nforce2的网卡驱动 ????????哪下 ??啊 ??
回复

使用道具 举报

发表于 2005-1-6 10:36:19 | 显示全部楼层
我还是想问个问题,我用的是锐捷的8021.x,很郁闷,我在自己的linux下怎么也解决不了!
回复

使用道具 举报

 楼主| 发表于 2005-1-6 23:46:14 | 显示全部楼层
很有可能 是网卡驱动没有装好的问题,因为我在LINUX下装MAYA都装不上
回复

使用道具 举报

发表于 2005-1-7 01:27:00 | 显示全部楼层
对不起。我没有用nv的网卡。不知道在那下载驱动。如果你在用rh9。可以打开 系统工具----网络设备管理
在图形界面下进行断开和连接网卡不是很方便麻?当然要在你安装好网卡驱动之后。建议你另开一帖文下nv网卡那下驱动或者google一下吧
回复

使用道具 举报

发表于 2005-1-7 08:26:13 | 显示全部楼层
没用过redhat

不知道

不乱说
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-6 05:28 , Processed in 0.039624 second(s), 13 queries .

© 2021 Powered by Discuz! X3.5.

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