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=1395306657
Edit Summary: restart tftpd-hpa service
@@ -25,9 +25,9 @@
*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. 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>{
+ * 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_DIRECT
ORY to /tftpboot. "sudo vi /etc/default/tftpd-hpa" <code>{
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot"
@@ -35,9 +35,11 @@
TFTP_OPTIONS="--secure"
}</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.
+ /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. \\ 3. A
fter reboot PC, if tftp server still seems not work, run following command
to restart tftp server:<xterm>**$ sudo service tftpd-hpa restart**</xterm
> You can also add file /etc/network/if-up.d/tftpd-hpa with following scri
pts to make sure tftpd-hpa is started after ethernet is up. <code>#!/bin/s
h
+ service tftpd-hpa restart
+ </code>
*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
|