minor config changes
authorIan Kelling <iank@fsf.org>
Wed, 18 Aug 2021 03:46:27 +0000 (23:46 -0400)
committerIan Kelling <iank@fsf.org>
Wed, 18 Aug 2021 03:46:27 +0000 (23:46 -0400)
wrt-setup
wrt-setup-local

index 9163ad3048362d47b529dc74bc03829fbc268894..db7f5c92ac4e7d94e23268148a0064e6bcd71d0b 100755 (executable)
--- a/wrt-setup
+++ b/wrt-setup
@@ -66,7 +66,7 @@ if [[ ! $h ]]; then
   esac
 fi
 
   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
 
 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
index 3388952b9194a4c166ffa359ff0d3bbe888120ac..2c28dca69bfcf247c25dc52e1d8b74d8ca29b899 100755 (executable)
@@ -1036,6 +1036,11 @@ server=10.2.0.1
 
 # to fixup existin ips, on the client you can do
 # sudo dhclient -r; sudo dhclient <interface-name>
 
 # to fixup existin ips, on the client you can do
 # sudo dhclient -r; sudo dhclient <interface-name>
+# 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
 
 # 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
 # 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=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
 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