Tftp-Server: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K (Thomas.will verschob die Seite Tftp-Sever nach Tftp-Server) |
|||
| (3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
=Installation tftp-Server= | =Installation tftp-Server= | ||
| − | *apt tftpd-hpa | + | *apt install tftpd-hpa |
==Start als alleinstehender Server== | ==Start als alleinstehender Server== | ||
*cat /etc/default/tftpd-hpa | *cat /etc/default/tftpd-hpa | ||
| Zeile 7: | Zeile 7: | ||
TFTP_ADDRESS="0.0.0.0:69" | TFTP_ADDRESS="0.0.0.0:69" | ||
TFTP_OPTIONS="-l -s" | TFTP_OPTIONS="-l -s" | ||
| − | + | =Starten= | |
| − | + | *systemctl start tftpd-hpa | |
| − | + | =Kontrolle= | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | * | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
*Ist der tftp Port geöffnet | *Ist der tftp Port geöffnet | ||
| − | + | *netstat -lnu | grep 69 | |
udp 0 0 0.0.0.0:69 0.0.0.0:* | udp 0 0 0.0.0.0:69 0.0.0.0:* | ||
| − | + | =Installation tftp Client= | |
| − | + | *apt-get install tftp | |
| − | + | =Kann man einen Datei ziehen?= | |
| − | + | *tftp 192.168.11.50 | |
| − | |||
| − | |||
tftp> get 1545_sender | tftp> get 1545_sender | ||
Received 900983 bytes in 0.6 seconds | Received 900983 bytes in 0.6 seconds | ||
tftp> quit | tftp> quit | ||
Aktuelle Version vom 15. Februar 2023, 17:17 Uhr
Installation tftp-Server
- apt install tftpd-hpa
Start als alleinstehender Server
- cat /etc/default/tftpd-hpa
TFTP_USERNAME="tftp" TFTP_DIRECTORY="/srv/tftp" TFTP_ADDRESS="0.0.0.0:69" TFTP_OPTIONS="-l -s"
Starten
- systemctl start tftpd-hpa
Kontrolle
- Ist der tftp Port geöffnet
- netstat -lnu | grep 69
udp 0 0 0.0.0.0:69 0.0.0.0:*
Installation tftp Client
- apt-get install tftp
Kann man einen Datei ziehen?
- tftp 192.168.11.50
tftp> get 1545_sender Received 900983 bytes in 0.6 seconds tftp> quit