最近需要重新搭建一下pandaboard与beagleboard的环境,特把搭建的过程记录下来,留以后备用。
基于环境ubuntu10.04
* configure TFTP/NFS/DHCP
** TFTP
# modify /etc/default/tftpd-hpa
TFTP_DIRECTORY="/var/lib/tftpboot" -> TFTP_DIRECTORY="/tftpboot"
** DHCP
# manual set local network
ip:192.168.1.198
netmask: 255.255.255.0
gateway: 192.168.1.1
#edit file /etc/default/dhcp3-server or /etc/default/isc-dhcp-server
modify line INTERFACES="" -> INTERFACES="eth0"
#edit file /etc/dhcp3/dhcpd.conf add the following lines
subnet 192.168.1.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.1.2 192.168.1.180;
}
host panda {
hardware ethernet 0a:40:55:e3:3b:0a;
option host-name pandaboard;
}
**NFS
mkdir /tftpboot
# edit /etc/exports
add line /tftpboot *(rw,sync,no_wdelay,subtree_check,no_root_squash)
* start server TFTP/NFS/DHCP
** sudo /etc/init.d/dhcp3-server restart
** sudo /etc/init.d/isc-dhcp-server restart
** sudo /etc/init.d/nfs-kernel-server restart
** sudo /etc/init.d/tftpd-hpa restart
================================