Download Print this page

Redboot Access Script For Linux; Putty; Telnet - D-Link DIR-300 Manual

Hide thumbs Also See for DIR-300:

Advertisement

rem putty
rem ------------------------------------------------
break
putty.exe telnet://192.168.20.81:9000 -m redboot.txt
exit
start the bat file and power on the router.....here comes redboot

Redboot access script for Linux

Putty

download putty.exe to c:\ create a file called redboot.txt, with the following content:
^C
create a file called redboot in the same folder with the following content:
#!/bin/bash
echo
echo ""
echo "Enter hostname or ip address: "
read host
while true
do
if eval "ping -c 1 $host" > /dev/null; then
putty telnet://$host 9000 -m redboot.txt
echo "Router Awake"
break
else
echo "Waiting for Redboot to boot. Press CTRL + C to quit"
sleep 1
fi
done
Make the file executable.

Telnet

If you don't want to install putty for linux, you may use standard telnet and arping. It would be so (replace
eth2 by your ethernet card name):
#!/bin/sh
echo "192.168.20.81 send ip" >> ~/.telnetrc
arping
-f 192.168.20.81 -I eth2; telnet 192.168.20.81 9000
Redboot access script for Windows
D-Link_DIR-300_rev_A
4

Advertisement

loading