Difference between revisions of "Tftpd"

From ArmadeusWiki
Jump to: navigation, search
(New page: It's possible to add a tftpboot server on apf board, it can be usefull to download files from an apf board to another apf board. == Packet selection == There is a buildroot packet for tf...)
 
(Launching inetd at start)
Line 48: Line 48:
  
 
exit 0
 
exit 0
</pre>
+
</code>

Revision as of 13:59, 24 May 2011

It's possible to add a tftpboot server on apf board, it can be usefull to download files from an apf board to another apf board.

Packet selection

There is a buildroot packet for tftpd server, but to install it, busybox must be configured before :

$ make menuconfig
 Package Selection for the target  --->
     [*]   Show packages that are also provided by busybox

Then tftpd can be selected :

 Package Selection for the target  --->
     Networking applications  --->
         [*] tftpd

Configuration

To use it add this line in file /etc/inetd.conf :

69      dgram   udp     wait    root    /usr/sbin/tftpd tftpd -s /tftpboot

Then launch inetd :

# inetd

Launching inetd at start

inetd can be launched when linux boot adding a script in /etc/init.d :

  1. !/bin/sh
  2. Launch inetd for tftpboot embedded server

inetd

exit 0