天嵌 ARM开发社区

 找回密码
 注册
查看: 3523|回复: 2

ubuntu 10.04 uboot无法ping 通主机

[复制链接]
widon1104 发表于 2010-5-4 09:19:12 | 显示全部楼层 |阅读模式
直接用提供的uboot都不行
EmbedSky> ping 192.168.0.13
dm9000 i/o: 0x20000300, id: 0x90000a46
MAC: 0a:1b:2c:3d:4e:5f
ping failed; host 192.168.0.13 is not alive
EmbedSky> printenv
bootargs=noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
bootcmd=nboot 0x32000000 kernel; bootm 0x32000000
bootdelay=0
baudrate=115200
ethaddr=0a:1b:2c:3d:4e:5f
netmask=255.255.255.0
mtdids=nand0=nandflash0
mtdparts=mtdparts=nandflash0:256k@0(bios),128k(params),128k(toc),512k(eboot),1024k(logo),2m(kernel),-(root)
ipaddr=192.168.0.12
serverip=192.168.0.13
stdin=serial
stdout=serial
stderr=serial
partition=nand0,0
mtddevnum=0
mtddevname=bios

Environment size: 455/131068 bytes


主机设置为
widon@widon-laptop:~$ cat /etc/network/interfaces
#The loopback network interface
auto lo
iface lo inet loopback

#The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.13
gateway 192.168.0.1
netmask 255.255.255.0

widon@widon-laptop:~$ cat /etc/resolv.conf
# Generated by NetworkManager
domain domain
search domain
nameserver 61.139.2.69
nameserver 202.98.96.68

widon@widon-laptop:~$ ifconfig
eth0      Link encap:以太网  硬件地址 00:1b:fc:0a:54:f2  
          inet 地址:192.168.0.13  广播:192.168.0.255  掩码:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  跃点数:1
          接收数据包:1453 错误:0 丢弃:0 过载:0 帧数:0
          发送数据包:1361 错误:0 丢弃:0 过载:0 载波:0
          碰撞:0 发送队列长度:1000
          接收字节:1248986 (1.2 MB)  发送字节:225139 (225.1 KB)
          中断:28 基本地址:0x4000

lo        Link encap:本地环回  
          inet 地址:127.0.0.1  掩码:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  跃点数:1
          接收数据包:124 错误:0 丢弃:0 过载:0 帧数:0
          发送数据包:124 错误:0 丢弃:0 过载:0 载波:0
          碰撞:0 发送队列长度:0
          接收字节:10481 (10.4 KB)  发送字节:10481 (10.4 KB)
 楼主| widon1104 发表于 2010-5-4 14:35:18 | 显示全部楼层
有没有人用ubuntu10.04
u-boot能ping通主机的啊
回复

使用道具 举报

 楼主| widon1104 发表于 2010-5-4 21:18:31 | 显示全部楼层
原来网线坏了。。。。。。
网线坏了,灯却照亮。。。。。。
不想活了我
回复

使用道具 举报

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

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-8-16 07:47 , Processed in 2.047880 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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