From 02ea7054b1f9bbb857b686010c918147c53d367f Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 16 Dec 2020 10:42:12 +0100 Subject: [PATCH] [viwib] remove 192.168.1.1 (runtime) --- openwrt/viwib-2-configure.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openwrt/viwib-2-configure.sh b/openwrt/viwib-2-configure.sh index cc4ef33..d1f28be 100755 --- a/openwrt/viwib-2-configure.sh +++ b/openwrt/viwib-2-configure.sh @@ -112,6 +112,9 @@ uci delete wireless.radio0.disabled uci commit +# ensure no overlapping networks are there +ip addr del 192.168.1.1/24 dev br-lan + ping -c5 ungleich.ch || exit 1 # update the sources @@ -177,14 +180,12 @@ uci set firewall.@zone[1].network='wan wan6 wg0' uci commit - # Remove our ssh keys rm -f /etc/dropbear/authorized_keys # Setup root password printf "${root_password}\n${root_password}\n" | passwd - reboot EOF