/usr/share/doc/initramfs-tools-tcos/examples/tcos.dnsmasq.conf is in initramfs-tools-tcos 0.89.86.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | #
# /etc/dnsmasq.conf settings for TCOS server
#
# put server IP here
listen-address=192.168.0.254
# range of thin clients (example 1 to 253)
dhcp-range=192.168.0.1,192.168.0.253,12h
# router IP (or server IP) here
dhcp-option=option:router,192.168.0.254
# put server IP (not know if really needed)
dhcp-option=option:tftp-server,192.168.0.254
# TCOS default filename (don't change)
dhcp-boot=/tcos/pxelinux.0
# set DHCP server autorative
dhcp-authoritative
# enable builtin TFTP server (disable atftpd from /etc/inetd.conf)
enable-tftp
# TFTPBOOT root dir (/var/lib/tftpboot or /srv/tftp)
# if change, exec "dpkg-reconfigure initramfs-tools" after
tftp-root=/var/lib/tftpboot
#
# If you boot thin clients with gPXE floppy/CDROM/EEPROM
# edit /etc/default/dnsmasq:
#
# DNSMASQ_OPTS="--dhcp-no-override"
#
###############################################
# optional #
# allocate IP for a given MAC #
###############################################
# Example:
#
# MAC=11:22:33:44:55:66
# IP=192.168.0.100
# HOSTNAME=PC01
# reserve IP for a given MAC
#dhcp-host=11:22:33:44:55:66,192.168.0.100
# reserve IP and give hostname
#dhcp-host=11:22:33:44:55:66,PC01,192.168.0.100,12h
# see more examples at
# /usr/share/doc/dnsmasq-base/examples/dnsmasq.conf.example
|