palladio 发表于 2006-8-31 16:46:54

关于NFS文件上传/开发板

请教一个问题,我在开发过程中需要上传/加载文件到目标板。想法是用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以及关闭了防火墙)请赐教,谢谢!

jackzheng2002 发表于 2006-9-9 21:18:38

Could ping pass?
You also should make sure the two hosts are in the same ip segment.

palladio 发表于 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.

jxl_heaven 发表于 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
页: [1]
查看完整版本: 关于NFS文件上传/开发板