Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:tftp [2016/06/08 17:03] – liedmann | en:tftp [2022/08/04 15:02] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======= TFTP Server ======= | ||
+ | ====== TFTP Server ====== | ||
+ | ===== Ubuntu 14.04/16.04 x86 in vmware player ===== | ||
+ | First you have to install xinetd tftp | ||
+ | < | ||
+ | sudo apt-get install xinetd tftpd tftp | ||
+ | </ | ||
+ | create the file **/ | ||
- | ====== | + | < |
+ | service tftp | ||
+ | { | ||
+ | protocol | ||
+ | port | ||
+ | socket_type | ||
+ | wait | ||
+ | user | ||
+ | server | ||
+ | server_args | ||
+ | disable | ||
+ | } | ||
+ | </ | ||
- | The default TFTP suite is tftp-hpa. To install the following step is needed: | + | Then create a tftp folder and restart xinetd. |
- | + | < | |
- | < | + | sudo mkdir /tftpboot |
- | user@ubuntu: | + | sudo chmod -R 777 /tftpboot |
+ | sudo chown -R nobody /tftpboot | ||
+ | sudo / | ||
</ | </ | ||
- | The TFTP default directory is / | ||
- | * Creation of a new directory for the server | ||
- | * setting the ownership for the tftp user | ||
- | * add user to the tftp group to have rights to the tftpd dirctory | ||
- | <code bash> | ||
- | user@ubuntu: | ||
- | user@ubuntu: | ||
- | user@ubuntu: | ||
- | user@ubuntu: | ||
- | </ | ||
- | Finally | + | |
+ | ===== 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 53: | 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 87: | 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 | + | ===== Further applicable links |
+ | \\ | ||
+ | [[en: | ||
+ | ==== Sources ==== | ||
* http:// | * http:// | ||
* http:// | * http:// | ||
* http:// | * http:// | ||
- |