User guide

88
appendix 4 – tftp settings
AftertheDHCPserverisconguredaTFTPservershouldbecongured,sormwareimageandcongura-
tionlefortheCPEcanbedownloadedcorrectly.
As an example we have used Linux tftpd and xinetd
TheTFTPcongurationlemustbeedited.Andatftpbootdirectorymustbecreatedinrootandmade
accessible from CPEs
mkdir tftpboot
# creates tftpboot directory
chmod a+wrx tftpboot
# changes rights so directory is readable, writeable and executable from CPEs
sudo kate /etc/xinetd.d/tftp
# starts an editor where TFTP settings can be inserted
Insert the following:
service tftp
{
protocol = udp
port = 69
# CONFIGURATION FILE SECTION: insert the following
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /tftpboot
disable = no
}