Changeset 9879ab4 in freewrt
- Timestamp:
- Sep 16, 2006, 11:55:41 PM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- 557d2ba
- Parents:
- 618e4fc
- File:
-
- 1 edited
-
scripts/flash.sh (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
scripts/flash.sh
r618e4fc r9879ab4 1 1 #!/usr/bin/env bash 2 2 # 3 # tftp flash script for wireless routers 3 # tftp flash script for wireless routers 4 4 # 5 5 # Copyright (C) 2004 by Oleg I. Vdovikin <oleg@cs.msu.su> … … 19 19 # along with this program; if not, write to the Free Software 20 20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 #22 21 23 22 if [ -z "$1" ] || [ ! -f $1 ] || [ -z $2 ]; then … … 31 30 32 31 IMPORTANT: 33 Notes for Linksys routers: 32 Notes for Linksys routers: 34 33 be sure you have set boot_wait to yes. Power on your router 35 34 after executing this script. 36 35 37 36 Notes for Asus routers: 38 37 be sure POWER led is flashing (If this is not the case … … 52 51 echo Flashing 192.168.1.1 using $1... 53 52 echo -en "binary\nput $1 ASUSSPACELINK\nquit\n" | tftp 192.168.1.1 54 echo Please wait until leds stops flashing. Device will automatically reboot. 55 echo After that you can login via ssh admin@192.168.1.1. 56 echo Default password is: FreeWRT 53 echo Please wait until leds stops flashing. Device will automatically reboot. 57 54 elif [ "$2" == "asus_wl500gd" -o "$2" == "asus_wl500gp" ]; then 58 55 echo Flashing 192.168.1.1 using $1... 59 56 echo -en "rexmt 1\ntrace\nbinary\nput $1\nquit\n" | tftp 192.168.1.1 60 echo Please wait 5-7 minutes and then remove the power. 57 echo Please wait 5-7 minutes and then remove the power. 61 58 echo This device does not reboot automatically after flashing. 62 echo After that you can login via ssh admin@192.168.1.1.63 echo Default password is: FreeWRT64 59 else 65 60 echo Flashing 192.168.1.1 using $1... 66 61 echo -en "rexmt 1\ntrace\nbinary\nput $1\nquit\n" | tftp 192.168.1.1 67 echo Unit will automatically reboot within 3-7 minutes. Do not power off. 68 echo After that you can login via ssh admin@192.168.1.1. 69 echo Default password is: FreeWRT 62 echo Unit will automatically reboot within 3-7 minutes. Do not power off. 70 63 fi 64 echo After that you can login via: ssh admin@192.168.1.1 65 echo Default password, unless changed in menuconfig, is: FreeWRT
Note:
See TracChangeset
for help on using the changeset viewer.
