From 7e45b4fba8583ddac7d2e98c2c11d2630aead5b3 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 21 Jan 2022 15:55:33 +0100 Subject: [PATCH] Update viwib setup script to retain ipv4 and default settings --- openwrt/openwrt-add-usb-lte.sh | 2 +- openwrt/viwib-2-configure.sh | 52 +++++++++++++++------------------- 2 files changed, 24 insertions(+), 30 deletions(-) diff --git a/openwrt/openwrt-add-usb-lte.sh b/openwrt/openwrt-add-usb-lte.sh index d666fe7..808700b 100755 --- a/openwrt/openwrt-add-usb-lte.sh +++ b/openwrt/openwrt-add-usb-lte.sh @@ -5,7 +5,7 @@ if [ $# -ne 2 ]; then echo "$0 ip-address interface" echo " ip-address: where to find the OpenWRT device" echo " interface: which interface is the LTE device" - echo " Usually eth1 on VIIRB, eth3 on PIB" + echo " Usually eth1 on VIIRB, VIWIB eth3 on PIB" exit 1 fi diff --git a/openwrt/viwib-2-configure.sh b/openwrt/viwib-2-configure.sh index 6b49059..47a93ef 100755 --- a/openwrt/viwib-2-configure.sh +++ b/openwrt/viwib-2-configure.sh @@ -55,28 +55,37 @@ fi cat <