天嵌 ARM开发社区

 找回密码
 注册
查看: 3330|回复: 9

无线路由怎么设置

[复制链接]
手指恋上烟 发表于 2012-7-22 14:21:24 | 显示全部楼层 |阅读模式
执行
[root@EmbedSky /]# udhcpc
udhcpc (v1.16.0) started
ifconfig: SIOCSIFHWADDR: Device or resource busy
udhcpc: socket: Address family not supported by protocol
[root@EmbedSky /]#
 楼主| 手指恋上烟 发表于 2012-7-22 14:22:25 | 显示全部楼层
[root@EmbedSky /]# udhcpc -b -i eth0
udhcpc (v1.16.0) started
ifconfig: SIOCSIFHWADDR: Device or resource busy
udhcpc: socket: Address family not supported by protocol
[root@EmbedSky /]#
 楼主| 手指恋上烟 发表于 2012-7-22 16:19:13 | 显示全部楼层
以前的帖子看了,没看懂什么意思
 楼主| 手指恋上烟 发表于 2012-7-22 19:57:03 | 显示全部楼层
????????????????????
TQ-lkp 发表于 2012-7-23 09:27:43 | 显示全部楼层
命令是没问题的
你确认你的eth0是否启动
网线是否连通
 楼主| 手指恋上烟 发表于 2012-7-23 14:27:43 | 显示全部楼层
TQ-lkp 发表于 2012-7-23 09:27
命令是没问题的
你确认你的eth0是否启动
网线是否连通

[root@EmbedSky /]# udhcpc -i wlan0
udhcpc (v1.16.0) started
udhcpc: socket: Address family not supported by protocol
[root@EmbedSky /]#
无线已经登录了,eth0也关闭了,还是这样
 楼主| 手指恋上烟 发表于 2012-7-23 14:55:51 | 显示全部楼层
TQ-lkp 发表于 2012-7-23 09:27
命令是没问题的
你确认你的eth0是否启动
网线是否连通

udhcpc: socket: Address family not supported by protocol
这个问题网上的答案是linux内核不支持,应该编译内核。天嵌自带的内核镜像不支持吗?
lpdpzc 发表于 2012-7-23 18:38:05 | 显示全部楼层
不是太清楚,也可能是这个原因,我也看到过
TQ-lkp 发表于 2012-7-24 09:11:06 | 显示全部楼层
楼主是动态获取有线IP还是无线IP?
无线的话要先连接无线路由器再动态分配IP
TQ-lkp 发表于 2012-7-24 09:13:23 | 显示全部楼层
Linux系统移植手册204页上面有说明要选上DHCP support
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-6-2 04:54 , Processed in 1.062500 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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