X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=wrt-setup;h=ed9cc27fdea44b68196fdf855db84819a9265bdb;hb=ee5c5007f3426705012f2943c345b1194a988c62;hp=69b55eb7690817e44a86032dac90168f0346c220;hpb=ba2a6b887fe5a9ed627e9f0947265b37abbcf7aa;p=automated-distro-installer diff --git a/wrt-setup b/wrt-setup index 69b55eb..ed9cc27 100755 --- a/wrt-setup +++ b/wrt-setup @@ -324,8 +324,8 @@ fi 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 @@ -364,7 +364,11 @@ server=2001:4860:4860::8844 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, @@ -377,8 +381,6 @@ dhcp-host=c4:43:8f:f2:79:1f,set:n5,192.168.1.9,n5 # 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.,