墩墩 发表于 2004-7-18 15:54:44

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

# ifconfig eth0
eth0      Link encap:EthernetHWaddr 00:E0:4C:5D:BE:1C
          inet addr:220.184.26.46Bcast:220.184.26.46Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICASTMTU:1500Metric: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

# 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
# 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' option to prevent this message from appearing.
;; connection timed out; no servers could be reached

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

我应该怎么办啊??
我非常希望能在linux下上网啊。(redhat9.0装过pppoe)

ygw_ycf 发表于 2004-7-18 18:07:37

try:   adsl-setup

lanche 发表于 2004-7-18 18:33:11

网络掩码不能是255.255.255.255,请修正。

visionalstar 发表于 2004-7-18 19:47:15

“我真的很可年很可年啊”
什么意思?可年=可怜?

duotaiya 发表于 2004-7-18 22:44:06

:shock:
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.

# /usr/sbin/adsl-start

# /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
可年就是可怜啊。。。

bwb 发表于 2004-7-19 13:42:13

权限问题呀,你可以修改权限后再运行嘛:
#chmod 755 /usr/sbin/adsl-start
Oh!可年的人:roll:
页: [1]
查看完整版本: 哪个高手能帮我解决上网问题啊????我真的很可年很可年啊。