For some tasks, like loading bootloader you need to have tftp server.
Here are few steps to set it up and get it running.
The easiest way to get tftp is from repository.
So, lets start:
$ sudo apt-get install tftpd
After install finished you have to create tftp configuration file:
$ sudo vim /etc/xinetd.d/tftp
Press letter “i” for insert mode end paste these lines:
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /tftproot
disable = no
}
After pasting those lines press “ESC” to quit “insert” mode, press letters w and q (write and quit) and press enter
Create directory /tftproot, change owner to nobody and make everyone readable.
$ sudo mkdir /tftproot
$ sudo chmod -R 777 /tftproot
$ sudo chown -R nobody /tftproot
Restart service
$ sudo /etc/init.d/xinetd restart
And you’re set. You have to place files to /tftproot directory.
Leave a Reply