Setting up TFTP

this guide helps to setup pxe

Slackware

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

Ubuntu

ls -lF /usr/sbin/in.tftpd
cp -pi /etc/default/tftpd-hpa /etc/default/tftpd-hpa.dist
vi /etc/default/tftpd-hpa

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--listen --secure"
# -4
RUN_DAEMON="yes"

RHEL

vi /etc/xinetd.d/tftp

disable = no

GUIDES | LECTURES | BENCHMARKS | SMTP HEALTH