Philips Semiconductors
AN10476
Getting started Linux with LPC3180
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
‘/etc/network/interfaces’
has below contents:
iface eth0 inet
dhcp
Instead of
iface eth0 inet static
address
192.168.0.2
, 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>
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Application note
Rev.03 — 21 Dec 2006
14 of 28