在嵌入式LINUX好象这个没有生效,可以用udhcpc这个busybox 的应用程序来手动申请。(在桌面版,这个程序是dhclient)第一次运行,提示[root@FriendlyARM init.d]# udhcpc wlan0udhcpc (v1.13.3) startedudhcpc: exec /usr/share/udhcpc/default.script: No such file or directoryudhcpc: socket: Address family not supported by protocol这里提示需要一些配置文件,查询资料是,/usr/share/udhcpc/default.script在在/busybox的examples/udhcpc配置的模板,将simple.scritp拷贝成default.script/usr/share/udhcpc/sample.script/usr/share/udhcpc/sample.deconfig/usr/share/udhcpc/sample.nak/usr/share/udhcpc/sample.renew他们目录下面有一些模板,我们把拷到指定目录。进行配置[root@FriendlyARM udhcp]# udhcpc -d -i wlan0udhcpc (v1.13.3) startedudhcpc: socket: Address family not supported by protocol查询原因,是可能内核没有打开相关选项.于是将DHCP选加入6.增加对互联网的支持增加域名服务器配置 /etc/resolv.conf是保存DNS服务器地址的配置文件.内容是nameserver 202.102.224.68