From: Ian Kelling Date: Wed, 18 Aug 2021 03:46:27 +0000 (-0400) Subject: minor config changes X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=92bc3e8554ea8442307a69e59619248dda974926;p=automated-distro-installer minor config changes --- diff --git a/wrt-setup b/wrt-setup index 9163ad3..db7f5c9 100755 --- a/wrt-setup +++ b/wrt-setup @@ -66,7 +66,7 @@ if [[ ! $h ]]; then esac fi -echo "$0: host=$h" +echo "$0: h=$h" cat ~/.ssh/home.pub | ssh $h dd of=/etc/dropbear/authorized_keys 2>/dev/null scp /a/work/libremanage/libremanage /a/bin/fai/wrt-init /a/bin/fai/wrt-setup-local /a/bin/cedit/cedit $h:/usr/bin diff --git a/wrt-setup-local b/wrt-setup-local index 3388952..2c28dca 100755 --- a/wrt-setup-local +++ b/wrt-setup-local @@ -1036,6 +1036,11 @@ server=10.2.0.1 # to fixup existin ips, on the client you can do # sudo dhclient -r; sudo dhclient +# or on cmc, +# /etc/init.d/dnsmasq stop +# vi /tmp/dhcp.leases +# /etc/init.d/dnsmasq start + # default dhcp range is 100-150 # bottom port, iPXE (PCI 03:00.0) in seabios boot menu @@ -1056,12 +1061,13 @@ dhcp-host=80:fa:5b:1c:6e:cf,set:amy,$l.8,amy # and copying the generated mac, so it should be randomish. dhcp-host=52:54:00:9c:ef:ad,set:demohost,$l.12,demohost dhcp-host=62:03:cb:a8:3e:a3,set:trp,$1.13,trp -#dhcp-host=62:03:cb:a8:3e:a3,set:onep9,$1.14,onep9 +# 14 = wrt3 dhcp-host=00:1f:16:14:01:d8,set:x3,$l.18,x3 # BRN001BA98CA823 in dhcp logs dhcp-host=00:1b:a9:8c:a8:23,set:brother,$l.19,brother dhcp-host=00:26:b6:f7:d4:d8,set:amyw,$l.23,amyw +dhcp-host=9a:c6:52:6f:ce:7c,set:onep9,$l.24,onep9 dhcp-host=38:63:bb:07:5a:f9,set:hp,$l.25,hp dhcp-host=00:26:b6:f6:0f:e9,set:frodow,$l.28,frodow dhcp-host=6c:56:97:88:7b:74,set:amazontab,$l.31,amazontab