QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2720|回复: 3

关于NFS文件上传/开发板

[复制链接]
发表于 2006-8-31 16:46:54 | 显示全部楼层 |阅读模式
请教一个问题,我在开发过程中需要上传/加载文件到目标板。想法是用NFS。在主机环境下MOUNT目录经测试成功,可是在ZTELNET/MINICOM目标板目录下REMOTE MOUNT执行mount 192.168.1.18:/home folder /etc/tmp 提示192.168.1.18:/home/folder: PERMISSION DENIED。请问各位有没有遇到过同样的问题?(已经开启了NFS,写入了/ETC/EXPORTS以及关闭了防火墙)请赐教,谢谢!
发表于 2006-9-9 21:18:38 | 显示全部楼层
Could ping pass?
You also should make sure the two hosts are in the same ip segment.
回复

使用道具 举报

 楼主| 发表于 2006-9-13 21:26:20 | 显示全部楼层
The two hosts share the same ip.segment.
Computer ip is set to 192.168.1.18 and the board ip, by default, is 192.168.1.200
I have been following instructions from an experienced worker who actually managed to get the board working. But the method he used (i.e NFS mount) obviously doesn't function as smoothly on my workstation. I am starting to wonder if this is caused by my OS. (I am using fedora core and he used Redhat 8.0)
Anyway, please let me know if there is any advice that you have on this as anything will be much appreciated. Thanks a lot.
回复

使用道具 举报

发表于 2009-4-6 20:03:39 | 显示全部楼层
我是这样设置:
在终端下输入setup,选中NFS和portmap保存,退出
这时打开/etc/init.d,看里在是否有NFS 和PORTMAP文件,
打开/etc/export,在里面加入/mnt/nfs 192.168.1.*(rw),保存,
在终端里/etc/init.d/nfs restart
etc/init.d/portmap restart
iptables -F
连好目标板,启动目标板,修改目标板的IP,然后PING 一下主机IP,若成功,则在超级终端里输入如下命令
mount -t nfs 192.168.1.0:/mnt/nfs /tmp ,(192.168.1.0为主机的IP,/mnt/tmp为主机下要挂载的文件夹
则可以挂载NFS
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-23 16:02 , Processed in 0.058522 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表