Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
en:tftp [2014/05/02 07:05] – switch from NOTE to WRAP lenz | en:tftp [2017/12/21 11:57] – h_fitze | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======= TFTP Server ======= | ||
- | ====== | + | ====== |
- | The default TFTP suite is tftp-hpa. To install the following step is needed: | + | ===== Ubuntu 14.04/16.04 x86 in vmware player ===== |
- | < | + | First you have to install xinetd tftp |
- | user@ubuntu: | + | |
+ | < | ||
+ | sudo apt-get install xinetd tftpd tftp | ||
</ | </ | ||
- | The TFTP default directory is / | ||
- | * Creation of a new directory for the server | + | create |
- | | + | |
- | | + | |
- | < | + | < |
- | user@ubuntu:~$ sudo mkdir -p /srv/tftpd | + | service tftp |
- | user@ubuntu: | + | { |
- | user@ubuntu: | + | protocol |
- | user@ubuntu: | + | port = 69 |
+ | socket_type | ||
+ | wait = yes | ||
+ | user = nobody | ||
+ | server | ||
+ | server_args | ||
+ | disable | ||
+ | } | ||
</ | </ | ||
- | Finally | + | Then create a tftp folder and restart xinetd. |
+ | < | ||
+ | sudo mkdir /tftpboot | ||
+ | sudo chmod -R 777 /tftpboot | ||
+ | sudo chown -R nobody /tftpboot | ||
+ | sudo / | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Ubuntu 12.04 x86 in vmware player ===== | ||
+ | |||
+ | The default TFTP suite is tftp-hpa. To install | ||
<code bash> | <code bash> | ||
- | user@ubuntu: | + | user@ubuntu: |
</ | </ | ||
- | Change the following line to point to the new created | + | The TFTP default directory is / |
+ | |||
+ | Change the following line in ''/ | ||
< | < | ||
- | TFTP_DIRECTORY="/ | + | TFTP_DIRECTORY="/ |
</ | </ | ||
Line 47: | Line 68: | ||
</ | </ | ||
- | ====== Ubuntu 10.04 x86 in vmware player | + | ===== Ubuntu 10.04 x86 in vmware player ===== |
- | ===== Installation | + | ==== Installation ==== |
<code bash> | <code bash> | ||
user@ubuntu: | user@ubuntu: | ||
</ | </ | ||
- | ===== Configuration | + | ==== Configuration ==== |
To cofigure TFTP the file ''/ | To cofigure TFTP the file ''/ | ||
< | < | ||
Line 81: | Line 102: | ||
</ | </ | ||
- | ====== Firewall & port forwarding | + | ===== Firewall & port forwarding ===== |
TFTP uses port 69 UDP. This port must be opened. How to configure port forwarding on a Windows-XP host system is described here: [[vm# | TFTP uses port 69 UDP. This port must be opened. How to configure port forwarding on a Windows-XP host system is described here: [[vm# | ||
- | ===== Sources ===== | + | ==== Sources ==== |
* http:// | * http:// | ||
* http:// | * http:// | ||
* http:// | * http:// | ||
- |