关于c:ubuntu1604挂载根文件系统报错errnoNetwork-is-unreachable

2次阅读

共计 458 个字符,预计需要花费 2 分钟才能阅读完成。

环境: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 那些事”]

正文完
 0