Tftp-hpa: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=Installation= *apt-get install tftpd-hpa =kontrolle= *netstat -lnup | grep "\<69\>" udp6 0 0 :::69 :::* …“)
 
Zeile 4: Zeile 4:
 
*netstat -lnup | grep "\<69\>"
 
*netstat -lnup | grep "\<69\>"
 
  udp6      0      0 :::69                  :::*                                30951/in.tftpd
 
  udp6      0      0 :::69                  :::*                                30951/in.tftpd
 +
=Anpassen so das man auch Dateien hochladen kann=
 +
*cat /etc/default/tftpd-hpa
 +
TFTP_USERNAME="tftp"
 +
TFTP_DIRECTORY="/var/lib/tftpboot"
 +
TFTP_ADDRESS="[::]:69"
 +
TFTP_OPTIONS="--secure -c"
 +
=Rechte ändern=
 +
*chmod 777  /var/lib/tftpboot/

Version vom 19. April 2016, 13:46 Uhr

Installation

  • apt-get install tftpd-hpa

kontrolle

  • netstat -lnup | grep "\<69\>"
udp6       0      0 :::69                   :::*                                30951/in.tftpd

Anpassen so das man auch Dateien hochladen kann

  • cat /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/var/lib/tftpboot"
TFTP_ADDRESS="[::]:69"
TFTP_OPTIONS="--secure -c"

Rechte ändern

  • chmod 777 /var/lib/tftpboot/