PC OS:fedora 13
開發板:Tq2440
開發板內核:linux-2.6.36
開發板文件系統:yaffs2
PC端設置:
重啓nfs服務“service nfs restart”
掛載命令:mount -t nfs -o nolock 192.168.1.106:/root/tq2440 /mnt/nfs
或者:mount -t nfs 192.168.1.106:/root/tq2440 /mnt/nfs -o nolock
(ip是PC端IP地址,不使用“-o nolock”參數會導致系統長時間沒反應!NFS文件系統服務會報錯:timed out)
當我想用開發板掛在NFS文件系統時出現:mount: RPC: Unable to receive; errno = No route to host
經多番搜索嘗試,發現是PC端防火牆在作怪,在PC端root用戶下運行“service iptables stop"即可,PC輸出如下