N32926-NFS挂载

N32926-NFS挂载

在目录linux-2.6.35.4/drivers/net/arm中,w55fa92_ether.c1040行附近,

加入109-114这几行,增加LAN8720A选项.

因为 w55FA92 Ethernet 2ndport Soundcard 端口有冲突。先禁止声卡,后期再另外设置。

N32926-NFS挂载

重新编译,烧到开发板,可以Ping通虚拟机,但是不能ping 关。

在/mnt 目录下生成了文件夹nfs

在虚拟主机安装,nfs

1.   sudo apt-get installnfs-kernel-server

2.   打开/etc/exports, 在尾行加入:
    /home/yygyickl/nfsdir *(rw,sync,no_root_squash)

3.   sudo /etc/init.d/portmaprestart

4.   sudo/etc/init.d/nfs-kernel-server restart

5.   showmount –e     //查看挂载目录

 

在开发板端:

ifconfig-a”来检查所有的 卡参数

1.     ifconfig eth0192.168.1.184  netmask255.255.255.0broadcast 192.168.1.1 up  启动 卡

2.     mount -t nfs -o nolock192.168.1.183:/home/yygyickl/nfsdir /mnt/nfs 挂载

虚拟主机IP192.168.1.183 目录:/home/yygyickl/nfsdir  /etc/exports文件中的一致.

将上面两句写入/mnt/nand1-1/boot_script中,开机启动 络及挂载NFS文件系统.

 

 

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2017年10月26日
下一篇 2017年10月26日

相关推荐