URN Logo
UNIX Resources » Linux » China Linux Forum » Linux 安装与入门 » 1 » 我该怎样处理才能上网
announcement 声明: 本页内容为中国Linux论坛的内容镜像,文章的版权以及其他所有的相关权利属于中国Linux论坛和相应文章的作者,如果转载,请注明文章来源及相关版权信息。
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.net
  业界新闻与评论
  自由软件杂谈
  IT 人生
  Linux软件快递
  翻译作坊
  Linux图书与评论
  GNU Emacs/XEmacs
  Linux 中文环境和中文化
  Linux桌面与办公软件
  Linux 多媒体与娱乐版
  自由之窗Mozilla
  笔记本电脑上的Linux
  Gentoo
  Debian 一族
  网络管理技术
  Linux 安装与入门
  WEB服务器和FTP服务器
  域名服务器和邮件服务器
  Linux防火墙和代理服务器应用
  文件及打印服务器
  技术培训与认证
  Linux内核技术
  Linux 嵌入技术
  Linux设备驱动程序
  Linux 集群技术
  LINUX平台数据库
  系统和网络安全
  CPU 与 编译器
  系统计算研究所专栏
  Linux下的GUI软件开发
  C/C++编程版
  PHP 技 术
  Java&jsp技术
  Shell编程技术
  Perl 编 程
  Python 编 程
  XML/Web Service 技术
  永远的Unix
  FreeBSD世界
   
我该怎样处理才能上网
我该怎样处理才能上网 - franq [2008-05-11 09:41 | 3,746 byte(s)]
 
Re: 我该怎样处理才能上网 - skyone [2008-05-12 03:48 | 28 byte(s)]
 
Subject: 我该怎样处理才能上网
Author: franq    Posted: 2008-05-11 09:41    Length: 3,746 byte(s)
[Original] [Print] [Top]
I have installed a new Enterprise Linux5. But it can not connect to the Internet and show the follow message:"Determining IP information for eth0... failed; no link present. Check cable? [FAILED]".
It seems that no IP address. How should I do?
follows are detail commands messages:

[root@localhost frank]# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
[root@localhost frank]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1957 errors:0 dropped:0 overruns:0 frame:0
TX packets:1957 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2672116 (2.5 MiB) TX bytes:2672116 (2.5 MiB)

[root@localhost frank]# host localhost
[root@localhost frank]# ping localhost
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.065 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.071 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.070 ms

--- localhost.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.065/0.068/0.071/0.009 ms

[root@localhost frank]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
TYPE=Ethernet
DEVICE=eth0
HWADDR=00:0b:7d:11:e8:0a
BOOTPROTO=dhcp
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes
[root@localhost frank]# /etc/init.d/network start
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0... failed; no link present. Check cable?
[FAILED]
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
[root@localhost frank]# uname -r
2.6.18-8.el5
[root@localhost frank]# /sbin/service network restart
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0... failed; no link present. Check cable?
[FAILED]
[root@localhost frank]# cat /etc/sysconfig/networking/devices/ifcfg-eth0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
TYPE=Ethernet
DEVICE=eth0
HWADDR=00:0b:7d:11:e8:0a
BOOTPROTO=dhcp
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes
[root@localhost frank]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1967 errors:0 dropped:0 overruns:0 frame:0
TX packets:1967 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2672956 (2.5 MiB) TX bytes:2672956 (2.5 MiB)
[Original] [Print] [Top]
Subject: Re: 我该怎样处理才能上网
Author: skyone    Posted: 2008-05-12 03:48    Length: 28 byte(s)
[Original] [Print] [Top]
no link present. Check cable
----
轻舞飞扬?:)!那是我的手指!
[Original] [Print] [Top]
« Previous thread
安装的时候创建RAID和LVM,有没有比较好的step by step
Linux 安装与入门
1
Next thread »
我装好红旗linux6桌面版以后出现的问题!!!!!!!!!!!!!!!!!!!老鸟来帮帮~`
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
备案序号: 京ICP备05006143    webmaster: webmaster@unixresources.net
This page created on 2008-07-17 02:16:59, cost 0.040430068969727 ms.