Changeset bbad5c8 in freewrt
- Timestamp:
- Nov 14, 2006, 7:07:16 PM (19 years ago)
- Children:
- 7a23d2e
- Parents:
- d490f63
- File:
-
- 1 edited
-
scripts/flash.sh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
scripts/flash.sh
rd490f63 rbbad5c8 2 2 # $Id$ 3 3 # 4 # atftp flash script for wireless routers4 # tftp flash script for wireless routers 5 5 # 6 6 # Copyright (c) 2006 by Thorsten Glaser <tg@mirbsd.de> … … 59 59 *-asus-wl500g-deluxe-*.bin | *-asus-wl500g-premium-*.bin) 60 60 echo Flashing $ip using "$file"... 61 echo -en "rexmt 1\ntrace\nbinary\nput $file\nquit\n" | atftp $ip61 echo -en "rexmt 1\ntrace\nbinary\nput $file\nquit\n" | tftp $ip 62 62 echo Please wait 3 minutes and then remove the power. 63 63 echo This device does not reboot automatically after flashing. … … 65 65 *-asus-wl500g-*.bin) 66 66 echo Confirming IP address setting... 67 echo -en "get ASUSSPACELINK\x01\x01\xa8\xc0 /dev/null\nquit\n" | atftp $ip67 echo -en "get ASUSSPACELINK\x01\x01\xa8\xc0 /dev/null\nquit\n" | tftp $ip 68 68 echo Flashing $ip using "$file"... 69 echo -en "binary\nput $file ASUSSPACELINK\nquit\n" | atftp $ip69 echo -en "binary\nput $file ASUSSPACELINK\nquit\n" | tftp $ip 70 70 echo Please wait until leds stops flashing. Device will automatically reboot. 71 71 ;; 72 72 *-linksys-*.bin) 73 73 echo Flashing $ip using "$file"... 74 echo -en "rexmt 1\ntrace\nbinary\nput $file\nquit\n" | atftp $ip74 echo -en "rexmt 1\ntrace\nbinary\nput $file\nquit\n" | tftp $ip 75 75 echo Unit will automatically reboot within 3-5 minutes. Do not power off. 76 76 ;;
Note:
See TracChangeset
for help on using the changeset viewer.
