diff --git a/openwrt/openwrt-wifi-with-ssh.sh b/openwrt/openwrt-wifi-with-ssh.sh new file mode 100755 index 0000000..7f168ab --- /dev/null +++ b/openwrt/openwrt-wifi-with-ssh.sh @@ -0,0 +1,55 @@ +#!/bin/sh +# 2025-10-30, Nico Schottelius +# Configure a device with a WAN port to allow ssh access and be IPv6 client + +if [ $# -ne 2 ]; then + echo "$0 ip-address ssid wifi-psk" + echo " ip-address: where to find the OpenWRT device" + echo " hostname: which hostname to set" + echo " ssid for the wifi" + echo " psk for the wifi" + exit 1 +fi + +my_ip=$1; shift +new_hostname=$1; shift +ssid=$1; shift +psk=$1; shift + +cat <