Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:general_information:tftp [2020/11/19 10:12] – [Sources] liedmannen: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 **/etc/xinetd.d/tftp** containing the following lines of code+Now a new xinetd tftp serivce has to be configured by creating the file **/etc/xinetd.d/tftp** : 
  
 +<code>
 +sudo nano /etc/xinetd.d/tftp
 +</code>
 +
 +Add the following lines of code:
 <code> <code>
 service tftp service tftp
Line 42: Line 47:
  
 <code> <code>
-sudo sudo service xinetd restart+sudo service xinetd restart
 </code> </code>
- 
- 
- 
- 
-===== 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:~$ sudo apt-get install tftpd-hpa tftp-hpa 
-</code> 
- 
-The TFTP default directory is /var/lib/tftpboot. 
- 
-Change the following line in ''/etc/default/tftpd-hpa'' to point to the images directory of the BSP: 
- 
-<code> 
-TFTP_DIRECTORY="/home/tq/workspace/TQMa6x-BSP-REV.0104/platform-MBa6x/images" 
-</code> 
- 
- 
-To restart the TFTP server type: 
- 
-<code bash> 
-user@ubuntu:~$ sudo service tftpd-hpa restart 
-</code> 
- 
-To test the server copy some file to the server and get it back with  
- 
-<code bash> 
-user@ubuntu:~$ tftp 127.0.0.1 -c get <filename>  
-</code> 
- 
-===== Ubuntu 10.04 x86 in vmware player ===== 
- 
-==== Installation ==== 
-<code bash> 
-user@ubuntu:~$ sudo apt-get install xinetd tftpd tftp 
-</code> 
- 
-==== Configuration ==== 
-To cofigure TFTP the file ''/etc/xinetd.d/tftp'' must be created and filled with the following content. This configuration uses the directory ''/tftpboot''. 
-<code> 
-service tftp 
-{ 
-  socket_type             = dgram 
-  protocol                = udp 
-  wait                    = yes 
-  user                    = root 
-  server                  = /usr/sbin/in.tftpd 
-  server_args             = -s /tftpboot 
-  per_source              = 11 
-  cps                     = 100 2 
-} 
-</code> 
- 
-<WRAP round info> 
-The directory requires at least the access authorisation "''dr-xr-xr-x''". 
-</WRAP> 
- 
-<WRAP round info> 
-After the configuration was changed the server should be restarted: 
-<code bash> 
-user@ubuntu:~$ sudo service xinetd restart 
-</code> 
-</WRAP> 
- 
-===== Firewall & port forwarding ===== 
-TFTP uses port 69 UDP. This port must be opened.  
  
  
  • Last modified: 2023/06/21 14:52