TFTP
TFTP, the IPv4 Trivial File Transfer Protocol, is extensively used to support remote booting of diskless devices. The server is normally started by inetd, but can also run standalone.
TFTP 服务器在嵌入式 Linux 中主要用于目标(Target)系统从 主机(Host)系统上获取可执行的代码活内核镜像文件。
/etc/inetd 文件需加入:
tftp dgram udp IPv4 root /usr/bin/tftp -s /tftpboot
在装有 xinetd 的系统(主要是以 RPM 为报管理策略的 Redhat 类 Linux)上,以超级用户配置 /etc/xinetd.d/tftp 文件, 设置如下:
service tftp {
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
per_source = 11
cps = 100 2
}
然后重启 xinetd 服务:
- /etc/init.d/xinet.d restart (or)
- /etc/init.d/inet.d restart
创建 tftpboot 目录:
- mkdir /tftpboot
page_revision: 0, last_edited: 1203335972|%e %b %Y, %H:%M %Z (%O ago)





