Connection Using Dhcp; Mounting File Systems; Mounting An External File System Using Nfs - Philips LPC3180 Application Note

Getting started linux with
Table of Contents

Advertisement

Philips Semiconductors

4.4.2 Connection using DHCP

If user would like to use DHCP to setup a Ethernet connection, please make sure the file
in ext2 root file system
iface eth0 inet
Instead of
iface eth0 inet static
, which is for private connection between PC and board.
With "ifconfig" command you can check if it was successful.
[Remark] This function is not fully tested since my company's network doesn't
allow a Linux OS machine.

4.5 Mounting file systems

Based on the root file system, user can mount other file systems for various purposes.

4.5.1 Mounting an external file system using NFS

Using the Ethernet you can mount an external drive by typing (when Linux is running –
one line intended):
mkdir /mnt/$NFS_WORK_PATH
mount -o nolock -t nfs $NFS_HOST:$NFS_WORK_PATH /mnt/$NFS_WORK_PATH
Set $NFS_HOST and $NFS_WORK_PATH to the values matching your environment.
e.g.
<12NC>
Application note
'/etc/network/interfaces'
dhcp
address 192.168.0.2
Rev.03 — 21 Dec 2006
AN10476
Getting started Linux with LPC3180
has below contents:
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
14 of 28

Advertisement

Table of Contents
loading

Table of Contents