#!/usr/pkg/bin/bash # # WET11 v1 reboot script # Nikolay Hristov # # you need to change your password and APPLYDATA # Note: you get apply data this way: # 1. configure your wet11 # 2. press apply button at startpage # 3. copy browser url while there is 'Please Wait' popup message # 4. replace APPLYDATA with actual one # 5. add this script somewhere in crontab # # 17.12.2005 # # p.s. # you need curl installed and you need to change some paths # NetBSD 2.0 # WETUSER="OnNwM2tr" WETPASS="your_wet11_password_here" IPADDR="10.10.250.2" APPLYDATA="data=..nJx.K___7.BfqH.TwoalsSZFkzHEcEUCDw..........................D..FIgb2Q0af....................................r." /usr/pkg/bin/curl -s -u "$WETUSER:$WETPASS" http://$IPADDR/apply_setup.html?$APPLYDATA > /dev/null