All Forums
 Embedded Linux
 Linux FAQ
 NFS
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

jlackey

213 Posts

Posted - 17 May 2002 :  16:46:31  Show Profile  Email Poster
How can I set up NFS (Network File System)?

To use NFS, your kernel should be configured for networking with on board Ethernet or a PCMCIA network card and the portmap daemon should be running. (Use ps to verify that the portmap daemon is running. If you don't have portmap, you need a newer root file system. Visit our Linux Downloads and Documents forum to explore some of your options.)

Then set up a host machine to be shared with the target [this is an example - your host machine may be different]...

To export a file system from a linux PC using NFS, edit /etc/exports and run
    /usr/sbin/exportfs -a

You may need to start the nfs and portmap daemons like this:
    cd /etc/init.d 
    ./portmap start
    ./nfs start

To have these daemons come up automatically when the system boots, do this:
    mv /etc/rc3.d/K20nfs /etc/rc3.d/S20nfs 
    mv /etc/rc3.d/K13portmap /etc/rc3.d/S13portmap

If it still doesn't work you may have a problem with /etc/hosts.allow or /etc/hosts.deny. Check those to be sure the connection is permitted.

Redhat Tip: If you specified high or medium security when installed redhat on your PC, you may have a firewall problem. Run setup, go to the firewall menu item and select no firewall.

30-Dec-2003: jlackey - update information related to the root file system
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000