Network Filesystem (nfs) with OpenWrt

How often would you love to have access to your files from several computers at once, but you don't really feel like buying a NAS device? OpenWrt to the rescue! Setting up a NFS server on OpenWrt is pretty darn easy! First, you have to install a NFS server on your router:

opkg install unfs3

Now, you have to configure the server. Open the file /etc/exports in your favorite editor, and type in this line (adjust all you want):

/mnt    (rw,all_squash,insecure)

And start the services:

/etc/init.d/portmap start
/etc/init.d/unfs3 start

All you have to do now is to make sure the services will start if you restart your router:

/etc/init.d/portmap enable
/etc/init.d/unfs3 enable


Written by Jannich Brendle man 21 februar 2011 In How to

tags: NFSOpenWrtpostaweek2011

Related posts