#!/bin/bash # only works behind DD-WRT router ssh root@192.168.1.3 -p 2222 -q "nvram get wan_ipaddr"