minershive / hiveos-pxe-diskless

Network boot for diskless rigs
35 stars 25 forks source link

Why enable-tftp in dnsmasq.conf and start atftp server on the same time? #5

Closed maweis1981 closed 3 years ago

maweis1981 commented 3 years ago

I was used hiveos diskless pxe server, and I have a question? Why enable-tftp in dnsmasq.conf file, and start atftp server in the pxe-config.sh. which tftp server can used or you guys prefer?

burningsunrise commented 3 years ago

The pxe-config.sh file replaces the file that is included in the /config/etc/ directory. It completely overwrites the config file there as seen in this bit of code in the pxe-config.sh file

echo "port=0" > $SYS_CONF"/etc/dnsmasq.conf"

The ATFTPD server is the default TFTP server.

HaloGenius commented 3 years ago

solved