QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 850|回复: 6

哪个高手能帮我解决上网问题啊????我真的很可年很可年啊。

[复制链接]
发表于 2004-7-18 15:54:44 | 显示全部楼层 |阅读模式
[root@localhost root]# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:E0:4C:5D:BE:1C
          inet addr:220.184.26.46  Bcast:220.184.26.46  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:960 (960.0 b)
          Interrupt:11 Base address:0x7000

[root@localhost root]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
169.254.0.0     *               255.255.0.0     U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         220.184.26.46   0.0.0.0         UG    0      0        0 eth0
[root@localhost root]# nslookup www.sina.com
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
;; connection timed out; no servers could be reached

[root@localhost root]# servise network restart
bash: servise: command not found
[root@localhost root]# service network restart
正在关闭接口 eth0:                                        [  确定  ]
关闭环回接口:                                             [  确定  ]
禁用 IPv4 包转送:                                         [  确定  ]
设置网络参数:                                             [  确定  ]
弹出环回接口:                                             [  确定  ]
弹出界面 eth0:                                            [  确定  ]
弹出界面 ppp0: /sbin/adsl-start: line 215:  3576 Terminated              $CONNECT "$@" >/dev/null 2>&1
                                                           [失败]
[root@localhost root]#

我应该怎么办啊??
我非常希望能在linux下上网啊。(redhat9.0装过pppoe)
发表于 2004-7-18 18:07:37 | 显示全部楼层
try:   adsl-setup
回复

使用道具 举报

发表于 2004-7-18 18:33:11 | 显示全部楼层
网络掩码不能是255.255.255.255,请修正。
回复

使用道具 举报

发表于 2004-7-18 19:47:15 | 显示全部楼层
“我真的很可年很可年啊”
什么意思?可年=可怜?
回复

使用道具 举报

发表于 2004-7-18 22:44:06 | 显示全部楼层

route add default ppp0
可否?
回复

使用道具 举报

 楼主| 发表于 2004-7-19 00:00:57 | 显示全部楼层
Ethernet Interface: eth0
User name:          hzhza86715756
Activate-on-demand: No
Primary DNS:        202.101.192.68
Secondary DNS:      202.102.199.68
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.

[root@localhost root]# /usr/sbin/adsl-start

[root@localhost root]# /usr/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)
现在乱修改以后,问题变这样了。。
5555
可年就是可怜啊。。。
回复

使用道具 举报

发表于 2004-7-19 13:42:13 | 显示全部楼层
权限问题呀,你可以修改权限后再运行嘛:
#chmod 755 /usr/sbin/adsl-start
Oh!可年的人  
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-20 03:48 , Processed in 0.078354 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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