Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
en:general_information:tftp [2020/11/19 10:12] – [Sources] liedmann | en:general_information:tftp [2022/10/31 15:15] – added nano weinholdo | ||
---|---|---|---|
Line 23: | Line 23: | ||
- | Now a new xinetd tftp serivce has to be configured by creating the file **/ | + | Now a new xinetd tftp serivce has to be configured by creating the file **/ |
+ | < | ||
+ | sudo nano / | ||
+ | </ | ||
+ | |||
+ | Add the following lines of code: | ||
< | < | ||
service tftp | service tftp | ||
Line 42: | Line 47: | ||
< | < | ||
- | sudo sudo service xinetd restart | + | sudo service xinetd restart |
</ | </ | ||
- | |||
- | |||
- | |||
- | |||
- | ===== Ubuntu 12.04 x86 in vmware player ===== | ||
- | |||
- | The default TFTP suite is tftp-hpa. To install the following step is needed: | ||
- | |||
- | <code bash> | ||
- | user@ubuntu: | ||
- | </ | ||
- | |||
- | The TFTP default directory is / | ||
- | |||
- | Change the following line in ''/ | ||
- | |||
- | < | ||
- | TFTP_DIRECTORY="/ | ||
- | </ | ||
- | |||
- | |||
- | To restart the TFTP server type: | ||
- | |||
- | <code bash> | ||
- | user@ubuntu: | ||
- | </ | ||
- | |||
- | To test the server copy some file to the server and get it back with | ||
- | |||
- | <code bash> | ||
- | user@ubuntu: | ||
- | </ | ||
- | |||
- | ===== Ubuntu 10.04 x86 in vmware player ===== | ||
- | |||
- | ==== Installation ==== | ||
- | <code bash> | ||
- | user@ubuntu: | ||
- | </ | ||
- | |||
- | ==== Configuration ==== | ||
- | To cofigure TFTP the file ''/ | ||
- | < | ||
- | service tftp | ||
- | { | ||
- | socket_type | ||
- | protocol | ||
- | wait = yes | ||
- | user = root | ||
- | server | ||
- | server_args | ||
- | per_source | ||
- | cps = 100 2 | ||
- | } | ||
- | </ | ||
- | |||
- | <WRAP round info> | ||
- | The directory requires at least the access authorisation "'' | ||
- | </ | ||
- | |||
- | <WRAP round info> | ||
- | After the configuration was changed the server should be restarted: | ||
- | <code bash> | ||
- | user@ubuntu: | ||
- | </ | ||
- | </ | ||
- | |||
- | ===== Firewall & port forwarding ===== | ||
- | TFTP uses port 69 UDP. This port must be opened. | ||