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
tftp [2011/07/19 15:15] 172.21.10.55tftp [2014/05/02 06:49] – switch from NOTE to WRAP lenz
Line 5: Line 5:
  
 ===== Installation ===== ===== Installation =====
-<code>sudo apt-get install xinetd tftpd tftp</code>+<code bash>user@ubuntu:~$ sudo apt-get install xinetd tftpd tftp</code>
  
 ===== Konfiguration ===== ===== Konfiguration =====
-Zur Konfiguration von TFTP muss die Datei ''/etc/xinetd.d/tftp'' erstellt und mit folgenden Inhalt gefüllt werden:+Zur Konfiguration von TFTP muss die Datei ''/etc/xinetd.d/tftp'' erstellt und mit folgenden Inhalt gefüllt werden. Diese Konfiguration benutzt das Verzeichnis ''/tftpboot''.
 <code>service tftp <code>service tftp
 { {
-  protocol udp +  socket_type             dgram 
-  port 69 +  protocol                udp 
-  socket_type = dgram +  wait                    = yes 
-  wait = yes +  user                    root 
-  user = nobody +  server                  = /usr/sbin/in.tftpd 
-  server = /usr/sbin/in.tftpd +  server_args             -s /tftpboot 
-  server_args = /tftpboot +  per_source              11 
-  disable no +  cps                     = 100 2 
-}</code>+} 
 +</code
 +<WRAP round info> 
 +Das Verzeichnis muss mindestens die Zugriffsrechte "''dr-xr-xr-x''" besitzen. 
 +</WRAP>
  
-Konfiguration von [[nfs_tftp|Port Forwarding]]+<WRAP round info> 
 +Nach dem Ändern der Konfiguration sollte der Server neu gestartet werden:  
 +<code bash>user@ubuntu:~$ sudo service xinetd restart</code> 
 +</WRAP> 
 + 
 +==== Firewall & Port Forwarding ==== 
 +TFTP benutzt Port 69 UDP. Dieser muss geöffnet werden. Die Konfiguration von Port Forwarding eines Windows-XP Hostsystems ist auf der Seite  [[vm#nat_network_address_translation|Port Forwarding]] beschrieben.
  
 ===== Quellen ===== ===== Quellen =====
  • Last modified: 2022/08/04 15:02