USRobotics USR5461

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:14, 6 July 2010 (edit)
Gribarov (Talk | contribs)
(DD-WRT versions)
← Previous diff
Revision as of 00:18, 6 July 2010 (edit) (undo)
Gribarov (Talk | contribs)
(Preparing to Flash)
Next diff →
Line 23: Line 23:
= Preparing to Flash = = Preparing to Flash =
-This document is written assuming your USR5461 router is running OEM (USR) firmware, and your PC is running a Microsoft Windows XP or later.+This document is written assuming your USR5461 router is running OEM/USR firmware, and your PC is running a version of Microsoft Windows.
- +
-It is expected that Linux users and those already running DD-WRT firmware on USR5461 can adapt these instructions to their situation.+
Please, read and understand all instructions in this section and whichever flashing method you will use before starting the entire procedure. Please, read and understand all instructions in this section and whichever flashing method you will use before starting the entire procedure.
-1. Create a new folder on your computer Desktop and name it '''usr5461'''. Download/save the desired DD-WRT firmware image file to '''Desktop\usr5461'''.+1. Disable '''Media Sensing''' feature for TCP/IP in Windows – read and implement Microsoft article #239924 "How to disable the Media Sensing feature for TCT/IP in Windows" – http://support.microsoft.com/kb/239924 .
 +2. Create a new folder on your computer Desktop and name it '''usr5461'''. Download/save the selected DD-WRT firmware image file to '''Desktop\usr5461'''.
In our example this is '''dd-wrt.v24_micro_generic.bin'''. In our example this is '''dd-wrt.v24_micro_generic.bin'''.
-2. Connect your PC to a LAN port of the router with an Ethernet cable. +3. Connect your PC to a LAN port of the router with an Ethernet cable.
- +DISCONNECT ALL OTHER ROUTER CLIENTS (WIRELESS AND/OR WIRED).
-DISCONNECT ALL OTHER ROUTER CLIENTS (WIRELESS AND/OR WIRED).+
- +
Do not flash the router over a wireless connection! Do not flash the router over a wireless connection!
-3. Make sure you know the current LAN IP address of the router; it may still be the USR firmware default IP address - 192.168.2.1 or may have been changed. +4. Reset your USR5461 router to factory (USR) default settings:
 +- Press and hold the <RESET> button on the router for 10 seconds; Release the button.
 +- Wait until router control lights stabilize.
-In our example we will use USR default IP address 192.168.2.1 . +5. USR5461 default LAN IP address is '''192.168.2.1'''
- +Your PC LAN interface/adapter will need a static IP address on the same LAN (192.168.2.x) to reliably transfer DD-WRT firmware image onto the router.
-4. Your PC LAN interface/adapter will need a static IP address on the same LAN (192.168.2.x) to reliably transfer DD-WRT firmware image onto the router.+
Windows XP: '''Start - Control Panel - Network Connections'''; double-click on '''Local Area Connection''' icon: Windows XP: '''Start - Control Panel - Network Connections'''; double-click on '''Local Area Connection''' icon:
Line 54: Line 52:
Default Gateway: '''192.168.2.1''' Default Gateway: '''192.168.2.1'''
---------------------------------------------------------------------------------+--------------------------------------------------------------------------------
 +Click < OK > button.
 + 
 +6. Start your Web Browser and enter "http://192.168.2.1" in its location/address line to access USR5461 Web UI. USR Setup Wizard will start; it is an introductory configuration procedure you must complete in order to make the router functional:
 +- Accept the default settings Setup Wizard will display on three successive Web pages.
 +- Change/Enter the following settings:
 +- In '''Setup 2''' page, '''Security''' section: -Method: "'''None'''";
 +- In '''Setup 3''' page, '''Router Login''' section: -User Name: "'''root'''"; -Password: "'''admin'''".
 +After you complete USR Setup Wizard, close your Web Browser.
= Performing the Flash = = Performing the Flash =

Revision as of 00:18, 6 July 2010

Contents

Installing DD-WRT on a US Robotics USR5461

Introduction

DD-WRT is a third party developed firmware for wireless routers based on a Broadcom or Atheros chip reference design.

The major hardware features of USR5461 router are listed in this table:
http://www.dd-wrt.com/wiki/index.php/Supported_Devices#US_Robotics

The <RESET> button on this router is not recognized by DD-WRT firmware. Therefore, in place of the so-called "30/30/30 Reset" which requires a fully functioning <RESET> button, other steps will be taken.

DD-WRT versions

USR5461 has only 2MB of NVRAM which contains 128KB compressed CFE (Boot Loader). The rest of it (1870 KB) contains OEM/USR firmware.

Therefore, you have to select either DD-WRT micro builds (file size about 1700 KB) or DD-WRT micro-plus builds (file size less than 1870 KB) for installation on USR5461.

Furthermore, you must use the generic version of these builds since you will be doing a first time installation of DD-WRT firmware on your original USR5461 router.

See DD-WRT Forum Firmware Recommendations at: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=52043

Note: In the example bellow we will use Brain Slayer's 13525 build:
dd-wrt.v24_micro_generic.bin - 1,769,472 B - 12/28/2009

Download link:
ftp://dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/12-28-09-r13525/broadcom/

Preparing to Flash

This document is written assuming your USR5461 router is running OEM/USR firmware, and your PC is running a version of Microsoft Windows.

Please, read and understand all instructions in this section and whichever flashing method you will use before starting the entire procedure.

1. Disable Media Sensing feature for TCP/IP in Windows – read and implement Microsoft article #239924 "How to disable the Media Sensing feature for TCT/IP in Windows" – http://support.microsoft.com/kb/239924 .

2. Create a new folder on your computer Desktop and name it usr5461. Download/save the selected DD-WRT firmware image file to Desktop\usr5461. In our example this is dd-wrt.v24_micro_generic.bin.

3. Connect your PC to a LAN port of the router with an Ethernet cable. DISCONNECT ALL OTHER ROUTER CLIENTS (WIRELESS AND/OR WIRED). Do not flash the router over a wireless connection!

4. Reset your USR5461 router to factory (USR) default settings: - Press and hold the <RESET> button on the router for 10 seconds; Release the button. - Wait until router control lights stabilize.

5. USR5461 default LAN IP address is 192.168.2.1 Your PC LAN interface/adapter will need a static IP address on the same LAN (192.168.2.x) to reliably transfer DD-WRT firmware image onto the router.

Windows XP: Start - Control Panel - Network Connections; double-click on Local Area Connection icon: In Local Area Connection Properties window, double-click on Internet Protocol (TCP/IP), and set the following static IP address for your PC:


IP Address: 192.168.2.101

Subnet Mask: 255.255.255.0

Default Gateway: 192.168.2.1


Click < OK > button.

6. Start your Web Browser and enter "http://192.168.2.1" in its location/address line to access USR5461 Web UI. USR Setup Wizard will start; it is an introductory configuration procedure you must complete in order to make the router functional: - Accept the default settings Setup Wizard will display on three successive Web pages. - Change/Enter the following settings: - In Setup 2 page, Security section: -Method: "None"; - In Setup 3 page, Router Login section: -User Name: "root"; -Password: "admin". After you complete USR Setup Wizard, close your Web Browser.

Performing the Flash

Use one of the firmware loading methods listed below.

Method 1: tftp

1. Power off the router (unplug the power supply connector from the router).

2. Open a Command Prompt window: Start - All Programs – Accessories – Command Prompt.

- Resize the window to cover the right half of your PC display;

- ENTER the following commands:


>cd desktop\usr5461

>dir

............


The dir command will list the contents of usr5461 folder. Check the presence of DD-WRT firmware image file and its size:

1,769,472 dd-wrt.v24_micro_generic.bin

3. Type in the following command but DO NOT PRESS <ENTER> key on your PC keyboard:


>tftp –i 192.168.2.1 put dd-wrt.v24_micro_generic.bin


4. Open a second Command Prompt window:

- Resize it to cover the left half of your PC display;

- Type in the following command and press <ENTER> key on your PC keyboard - you should see continuous error messages:


>ping –t –w 50 192.168.2.1

Destination host unreachable.

.............


4. Plug the power supply connector back into the router:

- Click on the right Command Prompt window to make it active;

- Observe the left Command Prompt window – as soon as you see the first successful ping replay from the router, press for two seconds <ENTER> key on your PC keyboard:


>ping –t –w 50 192.168.2.1

Destination host unreachable.

......

Destination host unreachable.

Replay from 192.168.2.1: bites=32 time=3ms TTL=100

......


This should start tftp file transfer to the router; there should be 7-9 more ping replays like the first one - during this time the file transfer to router RAM completes.

5. Then, the error message will restart continuously - the DD-WRT firmware image is been copied from router RAM to NVRAM. Bellow is a "Command-Line" description of this process:


>ping –t –w 50 192.168.2.1

Destination host unreachable.

......

Destination host unreachable.

Replay from 192.168.2.1: bites=32 time=4ms TTL=100 Replay from 192.168.2.1: bites=32 time=3ms TTL=100

Replay from 192.168.2.1: bites=32 time=2ms TTL=100

......

Replay from 192.168.2.1: bites=32 time=3ms TTL=100

Request timed out.

Request timed out.

......


6. Stop the ping in the left Command Prompt window - press <Control – C> keys on your PC keyboard for two seconds.

7. WAIT 5 minutes for NVRAM flashing to completes; then, CYCLE THE POWER to the router (you unplug the power supply connector from the router, wait 30 seconds, and then plug it back).

The router will reboot with the new DD-WRT firmware.

8. Proceed to "After the Flash" below.

Note: You can also flash back an USR firmware for USR5461 as described in this method. Just use the appropriate resources:

1. Download the latest final USR firmware for USR5461 router from US Robotics Web page:

http://www.usr.com/support/product-template.asp?prod=5461 .

Currently this is:

USR5461-v.3.93.35.0.8.usr - 1.8 MB - 10-25-06

Download/save the file to Desktop\USR5461. This file has more than one dot in its name – Windows tftp command-line utility cannot open such a file.

RENAME the file to: USR5461-v3_93_35_08.usr

2. Use the current LAN IP address of the router and the renamed USR firmware image file in the steps above.

Method 2: the factory firmware's web User Interface

It is possible to install DD-WRT firmware onto USR5461 router using the Upgrade option of USR firmware's Web UI. The trick is to make DD-WRT firmware image file look like an USR firmware image file, such that the original USR firmware on USR5461 would accept it (when the file is selected as an upgrade source). You have to create a custom "USR-like" firmware image file by:

- Adding a special, 28-byte header "USR0…" to DD-WRT firmware image file;

- Naming the new file with ".usr" name extension.

1.Download the header file usr5461_hdr.bin from:

http://www.dd-wrt.com/phpBB2/download.php?id=6958

Save it to Desktop\usr5461.

2. Open a Command Prompt window: Start - All Programs - Accessories - Command Prompt.

ENTER the following commands:


>cd desktop\usr5461

......

>dir

......

>copy /b usr5461_hdr.bin + dd-wrt-v24_micro_generic.bin usr-13525_micro-generic.usr

......

>dir

......


The copy command performs a binary ("/b") copy of the USR header and ("+") the DD-WRT firmware image file to make a single "USR-like" firmware image file.

Bellow the last dir command, double-check that the new file is exactly 28 bytes longer than the original DD-WRT firmware image file. In our example:


1,769,472 dd-wrt.v24_micro_generic.bin

1,769,500 usr-13525_micro_generic.usr

..........................

28 usr5461_hdr.bin


3. Open USR5461 Web UI at <http://192.168.2.1> in your browser and click on Device tab:

- In Upgrade Router' section click on <Browse> button; find and select the new file created in Step 2 (usr-13525_micro_generic.bin);

- Click on <Upgrade> button and WAIT for a message to appear: "The router has been upgraded" (it takes about four minutes);

- Then, a second message appears: "Wait until router reboots";

- Close your Internet browser. Wait until router control lights stabilize.

4. Proceed to "After the Flash" bellow.

After the Flash

DD-WRT firmware default IP address of the router is 192.168.1.1 . Now your PC LAN interface\adapter needs a static IP address on the same LAN (192.168.1. x) in order for you to be able to access DD-WRT firmware Web UI.

1. Change the static IP Address for your PC LAN interface/adapter to 192.168.1.101 ; Change the IP address for Default Gateway to 192.168.1.1 .

2. Open a Command Prompt window and issue the command:


>telnet 192.168.1.1

username: root

password: admin


3. Now, you are in DD-WRT firmware shell; issue these commands, pausing a few seconds between them:


erase nvram

reboot


The erase command clears router NVRAM instead of 30/30/30 reset. However, some outdated parameters are retained in the RAM that might be written to NVRAM at subsequent operation(s); the reboot command prevent this to happen.

4. After the router reboots, start your Internet browser:

- Open DD-WRT Web UI at <http://192.168.1.1> ;

- Complete router configuration.

For More Information

The steps above were gathered from various threads in the dd-wrt forums. These threads in particular contain much helpful information:

[USR5461 compatibility]

[USR 5461]

Thank you to all who contributed. (SiliconWarrior, modervador, many others whose forum posts must not escape recognition.)