NFS Setup

From MoDe

Setting Up NFS Between PC and iPAQ

Download and install a NFS server (evaluation) for Windows from http://www.labtam-inc.com/download/win32/pnfslabp.exe.

Server Part


Create a directory C:\export\.

After installing, start the NFS server: Start->All Programs->ProNFS v2.6->NFS-Server

Click on the "Export..." button, then "Add directory...". Browse to C:\export\ and click OK.

Client Part


Login as "root".

Make sure the iPAQ wireless is up and running. If you are connected to NUSOPEN, make sure you are logged-in as well.

Find out the IP address of your PC/laptop. (This can be done via the command 'ipconfig') Let's say it is 172.18.32.177. Use your actual IP address in the following commands.

Create a directory called "pc" with the command 'mkdir pc'. This is the mount point, and it can be called anything you like.

Mount the NFS directory with the following command: mount -t nfs 172.18.32.177:/c/export pc (Note: remember to use your actual IP address!!!)

C:\export on your PC should be available as /home/root/pc on your iPAQ. (Assuming that you created the directory pc/ inside /home/root/)

Write your code on your PC and save them to c:\export\. You should be able to see the same files in the pc/ directory on the iPAQ and run them.

Note: instead of c:\export, you can choose to share other directories on your PC, but these should not be too deep and should not contain spaces (you would have to do a lot of typing and add quotes to mount them).

--Khcheng 09:17, 6 Mar 2006 (EST)