This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
использование_протокола_tftp [2009/10/02 12:37] val created |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Использование протокола TFTP ====== | ||
| - | ===== Штатный сервер TFTP ===== | ||
| - | <code> | ||
| - | [ms:~] # grep tftp /etc/inetd.conf | ||
| - | tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot | ||
| - | |||
| - | [ms:~] # mkdir /tftpboot | ||
| - | [ms:~] # cat /tftpboot/test.txt | ||
| - | Hello | ||
| - | World | ||
| - | |||
| - | [ms:~] # /etc/rc.d/inetd rcvar | ||
| - | |||
| - | [ms:~] # cat /etc/rc.conf | ||
| - | ... | ||
| - | inetd_enable=YES | ||
| - | ... | ||
| - | |||
| - | [ms:~] # /etc/rc.d/inetd start | ||
| - | Starting inetd. | ||
| - | </code> | ||