New Revision: http://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:
pc_ubuntu_setup
Old Revision: http://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:
pc_ubuntu_setup&rev=1395298994
Edit Summary: Update tftp server configuration
@@ -25,24 +25,19 @@
*Minicom setup:
*input the command"sudo minicom -s", choose “Serial port s
etup” ,to set the “Serial Device ” /dev/ttyS0 an
d “Bps/Par/Bits" 57600 8N1 , and “Hardware Flow Control
” is No.
*choose “Modem and dialing”to delete the no useful
log (A B C D E F G H K L). And "Save setup as dfl"
*Tftp server.
- * On ubuntu 12.04, it supports tftpd-hpa as the server quite well
. \\ 1."sudo apt-get install tftpd-hpa -y" \\ 2.configuration file is /etc
/default/tftpd-hpa. Change TFTP_DIRECTORY to /tftpboot. "sudo vi /etc/defa
ult/tftpd-hpa" <code>{
+ * On ubuntu 12.04, it supports tftpd-hpa as the server quite well
. \\ 1. Install tftpd-hpa <xterm>**$ sudo apt-get install tftpd-hpa -y**</
xterm> 2.configuration file is /etc/default/tftpd-hpa. Change TFTP_DIRECTO
RY to /tftpboot. "sudo vi /etc/default/tftpd-hpa" <code>{
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure"
- }
-
- test@test-OptiPlex-3010:~$sudo service tftpd-hpa restart
- test@test-OptiPlex-3010:~$cd /
- test@test-OptiPlex-3010:/$mkdir tftpboot
- test@test-OptiPlex-3010:/$chmod 777 tftpboot
- </code>run "ps auxf" on host, seeing the following line to make
sure tftpd is started:<code>
- /usr/sbin/in.tftpd --listen --user tftp --address 0.0.0.0:69 --secure /
tftpboot
- </code> Notice: If there is /etc/xinetd.d/tftp exists, it would co
nflict with tftpd-hpa setting, so make sure only enable tftpd-hpa.
+ }</code> Generate /tftpboot directory and restart tftpd-hpa to make it w
ork. <xterm>**$ sudo mkdir /tftpboot
+ $ sudo chmod 777 /tftpboot
+ $ sudo service tftpd-hpa restart**</xterm> run "ps auxf" on host, seeing
the following line to make sure tftpd is started:<code>
+ /usr/sbin/in.tftpd --listen --user tftp --address 0.0.0.0:69 --secure /
tftpboot</code> Notice: If there is /etc/xinetd.d/tftp exists, it would co
nflict with tftpd-hpa setting, so make sure only enable tftpd-hpa.
*If eth* is not in your desired order, check file /etc/udev/rules.d/
70-persistent-net.rules.
*Network config:
*Don't use network-manager, modify /etc/rc.local:add<code>
service network-manager stop
|