Redboot access script

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 09:14, 1 May 2010 (edit)
Glenn (Talk | contribs)
← Previous diff
Current revision (21:18, 5 January 2019) (edit) (undo)
Ian5142 (Talk | contribs)
(Added language header.)
Line 1: Line 1:
- +{{Languages|Redboot_access_script}}
- +
__TOC__ __TOC__

Current revision


These scripts provide an easy way for accessing your redboot especially when the bootwait timeout is very short!

[edit] Access script for Windows

download putty.exe to c:\
create a file on c:\ called redboot.txt, with the following content:


create a file on c:\ called redboot.bat with the following content:

rem echo off
rem ------------------------------------------------
ping -n 1 -w 1 >NULL
IF ERRORLEVEL 1 goto start

rem start putty
rem ------------------------------------------------
putty.exe telnet:// -m redboot.txt

for "" set the ip of the redboot you want to connect.
start the bat file and power on the router. maybe you will have to try it 2 or 3 times

[edit] Access script for Linux

be sure you have putty installed

echo ""
echo "Enter hostname or ip address: "
read host
while true
   if eval "ping -c 1 -s 1 $host" > /dev/null; then       
  echo "Router Awake"
       putty telnet://$host 9000 -m redboot.txt
       echo "Waiting for Redboot to boot. Press CTRL + C to quit"
    sleep 1