User`s manual
Getting Started With Linux on the LPC3250 OEM Board Page 17
Copyright 2009 © Embedded Artists AB Rev A
$ sudo /etc/init.d/iptables stop
$ sudo /etc/init.d/ip6tables stop
7. You also need to configure SELinux.
a. Go to System Administration SELinux Management.
b. Enter “bagside” as password.
c. Select “Process Domain” and type tftp in the filter box and press Enter.
d. Select the tftpd and then click on the “Permissive” button.
8. In order for the TFTP server to access the files in the
/home/user
directory we must add
execute permissions (list content) to the
user
directory.
$ cd /home
$ sudo chmod a+x user
9. You are now ready to use the TFTP server.
3.2.5 Setup a NFS Server
An NFS (network file system) mounted root file system is quite convenient to use during development
of a Linux system. The actual root file system will then be located on the development computer and
not on the target board, but the target board gets access to the file system using the NFS protocol.
This section describes how to setup an NFS server in Fedora.
1. The Fedora distribution we are working with already has an NFS server installed, but we need
to make a part of the file system accessible by editing the
/etc/exports
file.
$ sudo gedit /etc/exports
2. Add the following line to the opened file (note that it is only one line). Also note that if you are
not using the 192.168.x.x network (IP addresses in this address range) you need to change
this part of the line.
/
/
h
h
o
o
m
m
e
e
/
/
u
u
s
s
e
e
r
r
/
/
l
l
t
t
i
i
b
b
/
/
r
r
o
o
o
o
t
t
f
f
s
s
1
1
9
9
2
2
.
.
1
1
6
6
8
8
.
.
0
0
.
.
0
0
/
/
2
2
5
5
5
5
.
.
2
2
5
5
5
5
.
.
0
0
.
.
0
0
(
(
r
r
w
w
,
,
n
n
o
o
_
_
r
r
o
o
o
o
t
t
_
_
s
s
q
q
u
u
a
a
s
s
h
h
,
,
n
n
o
o
_
_
s
s
u
u
b
b
t
t
r
r
e
e
e
e
_
_
c
c
h
h
e
e
c
c
k
k
,
,
s
s
y
y
n
n
c
c
)
)
3. Stop the NFS server.
$ sudo /sbin/service nfs stop
4. Start the NFS server (it will now use the changed
exports
file).
$ sudo /sbin/service nfs start
3.3 Setup an Ubuntu 9.04 Distribution
If you are an experienced Linux user and already have your own Debian distribution (or another Linux
distribution) you can skip this section and go to either section 3.3.3 to see which packages that needs
to be installed or go directly to section 3.4 for instructions of how to install LTIB.