环境:ubuntu16.04
开发板:s3c2440
挂载根文件系统时,报错mount:RPC:Unable to send;errno=Network is unreachable。
本机ip:192.168.2.100
开发板ip:192.168.2.101
虚拟机ip:192.168.2.105
三者能够ping通
在ubuntu中本人挂接本人没问题
s3c2440进入linux后,手动挂载不上。挂载命令如下:mount -t nfs -o nolock 192.168.2.105:/work/nfs_root/first_fs/mnt。
在linux中ping 192.168.2.105 发现ping不通。
查看s3c2440 linux ip
批改ubuntu 文件系统中 work/nfs_root_first_fs/etc/init.d/rcS
减少权限
从新设置参数后主动挂载
挂载胜利
s3c2440的linux ip和咱们写入文件的雷同
如遇到排版错乱的问题,能够通过以下链接拜访我的CSDN。
**CSDN:[CSDN搜寻“嵌入式与Linux那些事”]