天嵌 ARM开发社区

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

关于开发板DHCP获取ip地址后 ip地址不变

[复制链接]
zypeng1221 发表于 2012-11-23 16:46:09 | 显示全部楼层 |阅读模式
在开发板上输入命令 udhcpc eth0 后能够得到ip地址
显示udhcpc (v1.16.0) started
Sending discover...
Sending select for 222.26.26.156...
Lease of 222.26.26.156 obtained, lease time 7200

依次执行
ifconfig eth0 down
ifconfig eth0 up
ifconfig
发现ip地址没有改变,依旧是192.168.1.6

亚瑟王 发表于 2012-11-24 11:17:51 | 显示全部楼层
亲,你用的是天嵌科技光盘中提供的文件系统中的busybox中的udhcpc命令呢?还是自己编译的busybox,重做的文件系统?我刚刚试过了2440的文件系统DHCP功能OK(注明:只有2440用的busybox才是1.16版本的)。
TQ-lkp 发表于 2013-12-16 11:10:38 | 显示全部楼层
目录错误,将usr/share/udhcp目录重命名为usr/share/udhcpc
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-6-2 00:54 , Processed in 1.031250 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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