Intel I/O Processor manual NFS Server Setup, Tftp Server Setup

Page 10

Linux - Debian—Host Setup

2.4NFS 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.5TFTP 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

June 2005

Intel® I/O Processors

Linux-Debian Installation Guide

10

Order Number: 306507001US

 

Image 10
Contents Linux Debian Installation Guide Intel I/O ProcessorsJune Contents Revision History Introduction Host Setup Host Setup-Linux Debian Minicom Setup Host Networking SetupDhcpd Server Setup NFS Server Setup Tftp Server SetupTarget Firmware Setup RedBoot Parameter Values for CRBsLinux Debian-Target Firmware Setup Cross Toolchain Kernel Kernel-Linux Debian Linux Debian-Kernel Distributions6 Installing Debian Installing Debian Stable on a NFS Root File System# cd /target/var # tar cvf lib.tar lib # exit Linux Debian-Distributions Initial Debian System Configuration Maintaining System Time With RdateUpgrading to Debian Testing Maintaining System Time With NTP and Ntpdate