mkdir -p /mnt/usb/tftpboot
v cedit /etc/dnsmasq.conf <<'EOF' || dnsmasq_restart=true
-############ updating dns servers ###################3
-
+# https://ret2got.wordpress.com/2018/01/19/how-your-ethereum-can-be-stolen-using-dns-rebinding/
+stop-dns-rebind
# this says the ip of default gateway and dns server,
# but I think they are unneded and default
dhcp-host=f4:6d:04:02:ed:66,set:treetowl,192.168.1.2,treetowl
dhcp-host=00:26:18:97:bb:16,set:frodo,192.168.1.3,frodo
dhcp-host=10:78:d2:da:29:22,set:htpc,192.168.1.4,htpc
-dhcp-host=00:1f:16:16:39:24,set:fz,192.168.1.5,fz
+dhcp-host=00:1f:16:16:39:24,set:x2,192.168.1.5,x2
+#wireless interface
+#dhcp-host=00:22:5f:88:28:27,set:x2,192.168.1.5,x2
+#dhcp-host=00:1f:16:16:39:24,set:kw,192.168.1.10,kw
+#dhcp-host=00:c0:ca:27:e9:b2,set:kww,192.168.1.11,kww
# this is so fai can have an explicit name to use for testing,
# or else any random machine which did a pxe boot would get
# reformatted. The mac is from doing a virt-install, cancelling it,
# so might as well use it.
# hostname is the name it uses according to telnet
dhcp-host=b4:75:0e:94:29:ca,set:switch9429ca,192.168.1.251,switch9429ca
-dhcp-host=10:78:d2:da:28:4f,set:kw,192.168.1.10,kw
-dhcp-host=00:c0:ca:27:e9:b2,set:kww,192.168.1.11,kww
# template
# dhcp-host=,192.168.1.,