cbg416 发表于 2007-12-11 18:10:29

udhcpc 出现错误RPC: sendmsg returned error 101

错误为
/usr/share/udhcpc/default.script failed: network is unreachable
RPC: sendmsg returned error 101
nfs: RPC call returned error 101
RPC: sendmsg returned error 101
nfs: RPC call returned error 101
RPC: sendmsg returned error 101
nfs: RPC call returned error 101
error, script /usr/share/udhcpc/default.script failed: Network is unreachable
/usr/sbin # ifconfig
RPC: sendmsg returned error 101
nfs: RPC call returned error 101
RPC: sendmsg returned error 101
nfs: RPC call returned error 101
RPC: sendmsg returned error 101
nfs: RPC call returned error 101
RPC: sendmsg returned error 101

我在内核配置中已经添加了Packet socket,IP:dhcp,还有几个与pocket有关的我都选上了,重新烧写还是不行,错误还是一样。我已经将examples/udhcp/simple.script 脚本文件做为default.script拷贝到了/usr/share/udhcpc/default.script。/sbin 目录下也有udhcpc这个命令!
后来在网上
http://wiki.neurostechnology.com/index.php/Derobert's_Guide_to_the_On-Screen_Display:_NetBooting_the_OSD找到了跟我一样错误的
Known Errors
During boot, networking dies
Symptom: "nfs: RPC call returned error 101"
Problem: After the Linux kernel autoconfigures itself with an IP address, osdmain starts udhcpc which removes the IP address from the interface just long enough to confuse the NFS mount.
Solution: A patch is available; see bug 1873.
Old way: Boot from the firmware inside your OSD flash (see section above), then from OSD GUI configure the network for static addressing. Next time you reboot with NetBoot, this will prevent udhcpc from starting and causing the problem above by trying to get an address dynamically.
还是不知道这么解决!!!可以看里面的bug 1873.
但这个settings/src/nxplugin/network/nwork-settings.c我根本就找不到啊
页: [1]
查看完整版本: udhcpc 出现错误RPC: sendmsg returned error 101