Инструменты пользователя

Инструменты сайта


сервис_тftp

Сервис ТFTP

Client

$ tftp server

tftp> get spa3102.cfg

Ubuntu/Debian

atftpd

root@server:~# apt install atftpd

root@server:~# ls /srv/tftp/

tftpd

root@server:~# apt install tftpd

root@server:~# cat /etc/xinetd.d/tftp
service tftp
{
        protocol        = udp
        port            = 69
        socket_type     = dgram
        wait            = yes
        user            = nobody
        server          = /usr/sbin/in.tftpd
        server_args     = -s /tftpboot
        disable         = no
}
root@server:~# mkdir /tftpboot

root@server:~# /etc/init.d/xinetd restart

CentOS/SL

[root@server ~]# yum install tftp tftp-server

[root@server ~]# cat /etc/xinetd.d/tftp
...
        server_args             = -c -s /tftpboot
        disable                 = no
...

[root@server ~]# chown -R nobody /tftpboot/

[root@server ~]# /etc/init.d/xinetd start

FreeBSD

[server:~] # mkdir /tftpboot/

[server:~] # chown -R nobody /tftpboot/

[server:~] # cat /etc/inetd.conf
...
tftp    dgram   udp     wait    root    /usr/libexec/tftpd      tftpd -l -w -s /tftpboot
...
[server:~] # cat /etc/rc.conf
...
inetd_enable=yes
[server:~] # /etc/rc.d/inetd start

Windows

сервис_тftp.txt · Последние изменения: 2019/04/02 14:22 — val