I can't persuade this tutorial to work for me.
Server:
PC running Ubuntu 6.06
IP address 192.168.2.4
Client:
Laptop running Ubuntu 7.10
IP address 192.168.2.3
The two computers are hooked up to a router, through which they can access the internet. Each of the computers is able to ping the other.
In the server computer I typed:
Code:
cd /
sudo gedit etc/exports
...and saved the file containing this:
Code:
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/home/bugs 192.168.2.3(rw,no_root_squash,async)
After saving that file I ran
Code:
bugs@bugs-desktop:/$ sudo /etc/init.d/nfs-kernel-server restart
* Stopping rps mountd... [ok]
* Stopping rpc nfsd... [ok]
* Unexporting directories for NFS kernel daemon... [ok]
* Exporting directories for NFS kernel daemon... [ok]
* Starting rpc nfsd... [ok]
* Starting rpc mountd... [ok]
bugs@bugs-desktop:/$ sudo exportfs -a
bugs@bugs-desktop:/$
Then on the client laptop:
Code:
bugs@bugs-laptop:~$ cd /
bugs@bugs-laptop:/$ sudo mkdir files
bugs@bugs-laptop:/$ sudo mount 192.168.2.4:/home/bugs /files
mount.nfs: mount to NFS server '192.168.2.4' failed: timed out, retrying
mount.nfs: mount to NFS server '192.168.2.4' failed: timed out, retrying
bugs@bugs-laptop:/$
Does anyone know what the problem here is?
I started trying the GUI approach (System>administration>Shared Folders) with no success and now this isn't working either. I've spent hours reading and experimenting and it's driving me crazy!
Bookmarks