KBug
Registered
I have this AppleScript to reboot my router, but for some strange reasons which I don't understand, the script doesn't reboot my router. Here is the script :
----------------------------------
tell application "Terminal"
run
do script "telnet 192.168.2.1"
delay 1
do script "admin" in window 1
delay 1
do script "MaccaM" in window 1
delay 1
do script "reboot" in window 1
delay 1
end tell
---------------------------------
Here is the output that I get when I run this script :
For your reference here are my router security settings :
Router is Airlink101 Super G Wireless Router
SSID is MacZone
SSID broadcast is disabled
Security Mode is WPA-PSK
Encryption Method is AES
Passphrase format is ASCII
Passphrase is MaccaM
Channel is 6-2437 Ghz
Mode is Mixed(g/b)
Can anyone please tell me why I am unable to reboot the router or is there any other way to reboot the router ?
----------------------------------
tell application "Terminal"
run
do script "telnet 192.168.2.1"
delay 1
do script "admin" in window 1
delay 1
do script "MaccaM" in window 1
delay 1
do script "reboot" in window 1
delay 1
end tell
---------------------------------
Here is the output that I get when I run this script :
For your reference here are my router security settings :
Router is Airlink101 Super G Wireless Router
SSID is MacZone
SSID broadcast is disabled
Security Mode is WPA-PSK
Encryption Method is AES
Passphrase format is ASCII
Passphrase is MaccaM
Channel is 6-2437 Ghz
Mode is Mixed(g/b)
Can anyone please tell me why I am unable to reboot the router or is there any other way to reboot the router ?