pxe tftpd dhcpd advanced client identifier http
ls -lF /usr/sbin/in.tftpd cp -pi /etc/default/tftpd-hpa /etc/default/tftpd-hpa.dist vi /etc/default/tftpd-hpa
note --listen
is already there anyhow, no need to add it to options
TFTP_DIRECTORY="/tftpboot" RUN_DAEMON="yes" #TFTP_ADDRESS="0.0.0.0:69" # -4
systemctl status tftpd-hpa systemctl enable tftpd-hpa systemctl restart tftpd-hpa pgrep -a tftpd netstat -lntup | grep tftp
mv -i /etc/inetd.conf /etc/inetd.conf.dist grep '^# tftp' /etc/inetd.conf.dist | sed 's/^# //' > /etc/inetd.conf
for the record, the content will be
tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot -r blksize
chmod +x /etc/rc.d/rc.inetd /etc/rc.d/rc.inetd restart pgrep -a inetd
vi /etc/xinetd.d/tftp disable = no