Appendix 4: Tftp Server Setup - Embest SBC8600B Quick Start Manual

Hide thumbs Also See for SBC8600B:
Table of Contents

Advertisement

Appendix 4: TFTP Server Setup

1. Install client
$>sudo apt-get install tftp-hpa
$>sudo apt-get install tftpd-hpa
2. Install inet
$>sudo apt-get install xinetd
$>sudo apt-get install netkit-inetd
3. Configure the server
First, create tftpboot under root directory, and set the properties as "a
random user can write and read"
$>cd /
$>sudo mkdir tftpboot
$>sudo chmod 777 tftpboot
Secondly, add in /etc/inetd.conf:
$>sudo vi /etc/inetd.conf
tftpd dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /tftpboot
Then, reload inetd process:
$>sudo /etc/init.d/inetd reload
Finally, enter directory /etc/xinetd.d/, and create a new file tftp and put the
designated content into file tftp:
$>cd /etc/xinetd.d/
$>sudo touch tftp
$>sudo vi tftp
service tftp
{
disable = no
socket_type
= dgram
protocol
= udp
//copy the follow word to this file
////copy the follow word to tftp file
Page | 113

Advertisement

Table of Contents
loading

Table of Contents