I have an embedded VxWorks target that needs to boot its kernel from my Ubuntu computer. How do I install and run a TFTP server?
I have an embedded VxWorks target that needs to boot its kernel from my Ubuntu computer. How do I install and run a TFTP server?
TFTP Server Install and Setup
Install following packages.
Create /etc/xinetd.d/tftp and put this entry
Create a folder /tftpboot this should match whatever you gave in server_args. mostly it will be tftpboot
Restart the xinetd service.
newer systems:
older systems:
Now our tftp server is up and running.
Testing our tftp server
Create a file named test with some content in /tftpboot path of the tftp server
Obtain the ip address of the tftp server using ifconfig command
Now in some other system follow the following steps.
Source: http://mohammadthalif.wordpress.com/2010/03/05/installing-and-testing-tftpd-in-ubuntudebian/
You can install
atftpd
and it will create a directory called/tftpboot
in which you may place your files. Put especially thepxelinux.0
file there. Any future configuration will be addressed if it is necessary.When you install the package with
it will use Debconf to prompt you for some choices. You can set many choices(server timeout may be useful), especially the basepath. You can also adjust the multicast range.
You can install
tftpd-hpa
and change the configurations . Steps for installing tftpd-hpa is explained in this blog post.