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