How To Set Up a Home Network With Ubuntu, Part 3

October 12, 2008 by
Filed under: HowTo, linux, Ubuntu 

This is the 3rd part of my Ubuntu home networking howto. In Part 1 I covered how to configure your home network with static IP addresses. Part 2 was about client and server configuration for NFS file sharing over the network. In Part 3 I'll show how to automatically mount the shared folders at boot time. This is done by editing the file system table in /etc/fstab. Log in to one of your client computers, open a terminal, and enter the following.

sudo nano /etc/fstab

Append the following line to the end of this file and save it.

192.168.2.10:/home/username/Music /home/username/media nfs timeo=14,intr,rsize=8192,wsize=8192 0 0

This change will mount your server's Music folder to your local media folder when you boot your client computer. This assumes, of course, that your server machine was booted prior to starting your client machine. If you boot your server after your client machines, you can force the /etc/fstab file to be reloaded by using the following command.

sudo mount -a

You may find that you have to issue this command occasionally if the network has trouble while the client computer is booting.

Affiliate Link

Comments

One Response to “How To Set Up a Home Network With Ubuntu, Part 3”

  1. Hilary says:

    the issue is that since this article was written this has changed and portmap has apparently been changed with rpc so even if the users follows this exactly it doesnt work.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>