From 1b0d8220e65ec5b996757cfcde7fc6e0a9073a2d Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 15 Dec 2020 23:43:20 +0100 Subject: [PATCH] viwib: all in stage2 --- ...-cleanup-final-stage.sh => viirb-4-cleanup.sh} | 0 openwrt/viwib-2-configure.sh | 15 +++++++++++++++ 2 files changed, 15 insertions(+) rename openwrt/{viirb-4-cleanup-final-stage.sh => viirb-4-cleanup.sh} (100%) diff --git a/openwrt/viirb-4-cleanup-final-stage.sh b/openwrt/viirb-4-cleanup.sh similarity index 100% rename from openwrt/viirb-4-cleanup-final-stage.sh rename to openwrt/viirb-4-cleanup.sh diff --git a/openwrt/viwib-2-configure.sh b/openwrt/viwib-2-configure.sh index 688727b..cc4ef33 100755 --- a/openwrt/viwib-2-configure.sh +++ b/openwrt/viwib-2-configure.sh @@ -42,6 +42,10 @@ if [ $? -ne 0 ]; then exit 1 fi +root_password=$(pwgen -1 32) +echo $root_password > ${viwib_hostname}.rootpw + + cat < ${viwib_hostname}.public_key # change to ipv6 viwib_ip=${my_lan_ip} +sleep 15 + while ! ping -c5 ${viwib_ip}; do echo "Waiting for viwib ${id}" sleep 2