Changeset 68cd6a7 in freewrt


Ignore:
Timestamp:
Sep 9, 2006, 5:48:44 PM (19 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Children:
28ff590
Parents:
3d565f1
Message:

remove notes about telnet, add notes about asus routers and specific model notes

git-svn-id: svn://www.freewrt.org/branches/wbx-target-cleanup@575 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/flash.sh

    r3d565f1 r68cd6a7  
    44#
    55# Copyright (C) 2004 by Oleg I. Vdovikin <oleg@cs.msu.su>
    6 # Copyright (C) 2005 by Waldemar Brodkorb <wbx@openwrt.org>
     6# Copyright (C) 2006 by Waldemar Brodkorb <wbx@freewrt.org>
    77#
    88# This program is free software; you can redistribute it and/or modify
     
    2222
    2323if [ -z "$1" ] || [ ! -f $1 ] || [ -z $2 ]; then
    24     echo Usage: $0 firmware vendor
     24    echo Usage: $0 firmware model
    2525cat << EOF
     26Following models are supported:
     27  asus_wl500g   - Asus WL500g
     28  asus_wl500gd  - Asus WL500g Deluxe
     29  asus_wl500gp  - Asus WL500g Premium
     30  linksys       - All Linksys models
     31
    2632IMPORTANT:
    27 Notes for Linksys / Asus WL500gx router:
     33Notes for Linksys routers:
    2834   be sure you have set boot_wait to yes. Power on your router
    2935   after executing this script.
    3036 
    31 Notes for Asus WL500g router:
     37Notes for Asus routers:
    3238   be sure POWER led is flashing (If this is not the case
    3339   poweroff the device, push the reset button & power on
     
    3844   192.168.1.0/24 address range (and not the 192.168.1.1)
    3945
    40 Notes for Toshiba router:
    41    boot_wait is enabled by default on these units.
    42 
    43 1) connect your pc to any of the four LAN ports
    44 2) be sure your link is up and has an address in the
    45    192.168.10.1/24 address range (and not the 192.168.10.1)
    46 3) run this script (unit will only accept .trx images)
    47 4) Turn unit power on.
    48 
    4946EOF
    5047    exit 0
    5148fi
    52 if [ "$2" == "asus" ]; then
     49if [ "$2" == "asus_wl500g" ]; then
    5350echo Confirming IP address setting...
    5451echo -en "get ASUSSPACELINK\x01\x01\xa8\xc0 /dev/null\nquit\n" | tftp 192.168.1.1
     
    5653echo -en "binary\nput $1 ASUSSPACELINK\nquit\n" | tftp 192.168.1.1
    5754echo Please wait until leds stops flashing.
    58 elif [ "$2" == "linksys" ]; then
     55elif [ "$2" == "asus_wl500gd" -o "$2" == "asus_wl500gp" ]; then
    5956echo Flashing 192.168.1.1 using $1...
    6057echo -en "rexmt 1\ntrace\nbinary\nput $1\nquit\n" | tftp 192.168.1.1
    61 echo Please wait until power led stops flashing. Do not poweroff! Then you can login via telnet 192.168.1.1.
    62 elif [ "$2" == "toshiba" ]; then
    63 echo Flashing 192.168.10.1 using $1...
    64 echo -en "rexmt 1\ntrace\nbinary\nput $1\nquit\n" | tftp 192.168.10.1
    65 echo Unit will automatically reboot within 5 minutes.  Do not power off.  Then you can login via telnet 192.168.10.1.
     58echo Please wait 5-7 minutes and then remove the power.
     59echo This device does not reboot automatically after flashing.
     60echo After that you can login via ssh admin@192.168.1.1.
     61echo Default password is: FreeWRT
     62else
     63echo Flashing 192.168.1.1 using $1...
     64echo -en "rexmt 1\ntrace\nbinary\nput $1\nquit\n" | tftp 192.168.1.1
     65echo Unit will automatically reboot within 3-7 minutes.  Do not power off. 
     66echo After that you can login via ssh admin@192.168.1.1.
     67echo Default password is: FreeWRT
    6668fi
Note: See TracChangeset for help on using the changeset viewer.