beautypg.com

4 nfs server setup, 5 tftp server setup, Nfs server setup – Intel I/O Processor User Manual

Page 10: Tftp server setup

background image

Linux - Debian—Host Setup

June 2005

Intel

®

I/O Processors

Linux-Debian Installation Guide

10

Order Number: 306507001US

2.4

NFS Server Setup

When Intel XScale

®

microarchitecture-Linux target is using NFS for its root file system, it is

necessary to export the appropriate directory via the NFS Server. These instructions assume the
NFS mounted root file system is located on the server as “/exports/fs.xscale”.

Edit the file “/etc/exports” and add the following line:

/exports/fs.xscale *(rw,no_root_squash,sync)

Create the NFS shared directory:

# mkdir /exports/fs.xscale

Start NFS server as follows on a Fedora or Mandrake server:

# /sbin/service portmap start
# /sbin/service nfslock start
# /sbin/service nfs start

Ensure that the NFS server will be automatically run at boot time as follows on a Fedora or
Mandrake server:

# /sbin/chkconfig portmap on
# /sbin/chkconfig nfslock on
# /sbin/chkconfig nfs on

When the NFS server was started before editing the “/etc/exports” file, it is necessary to update the
export tables as follows:

# exportfs -rav

2.5

TFTP Server Setup

This example is based on a Fedora system. Other systems may provide similar mechanisms for
this. Consult the distributions documentation for further information.

Enable the TFTP server:

# /sbin/chkconfig tftp on

Edit the “/etc/xinetd.d/tftp” file and ensure that the following settings are present. These may be
default so it may not be necessary to modify anything:

disable =

no

user

= root

server_args= -s /tftpboot

Create the TFTP Root directory when it does not exist.

# mkdir /tftpboot

Restart the xinetd daemon:

# /sbin/service xinetd restart