Difference between revisions of "Tftpd"
From ArmadeusWiki
(→Configuration) |
m (juju pinaille) |
||
Line 1: | Line 1: | ||
− | It's possible to add a tftpboot server on | + | 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 == | == Packet selection == | ||
− | There is a | + | There is a Buildroot packet for tftpd server, but to install it, busybox must be configured before : |
<pre class="host"> | <pre class="host"> | ||
Line 37: | Line 37: | ||
== Launching inetd at start == | == Launching inetd at start == | ||
− | inetd can be launched when | + | inetd can be launched when Linux boot adding a script in ''/etc/init.d'' : |
<source lang="bash"> | <source lang="bash"> |
Revision as of 14:04, 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 :
#!/bin/sh
#
# Launch inetd for tftpboot embedded server
#
inetd
exit 0