USRobotics USR5461

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 22:30, 14 June 2010 (edit)
Gribarov (Talk | contribs)
(DD-WRT versions)
← Previous diff
Revision as of 23:59, 14 June 2010 (edit) (undo)
Gribarov (Talk | contribs)
(Preparing to Flash)
Next diff →
Line 24: Line 24:
= Preparing to Flash = = Preparing to Flash =
-This instruction page is written assuming your router is running an US Robotics factory firmware, and your PC is running a version of Microsoft Windows. It is expected that Linux users and those already running DD-WRT firmware can adapt these instructions to their situation.+This document is written assuming your USR5461 router is running an original USR firmware, and your PC is running Microsoft Windows XP or later. It is expected that Linux users and those already running DD-WRT firmware on USR5461 router can adapt these instructions to their situation.
-Please read and understand all instructions for 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. [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Read the Peacock Thread.] There is a lot of background information there to help you understand what is going on, help prevent mistakes (not to mention bricked routers) and help you to know what to do if something goes wrong.+1. Create a new folder on your computer Desktop and name it '''usr5461'''. Download/save the desired DD-WRT image file to '''Desktop\usr5461'''.
-2. Download the desired firmware. You will not have Internet access from your PC while flashing the router.+2. 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!
-3. Connect your PC to a LAN port on the router with a cable and disconnect all other clients. 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. In the instructions bellow we will use the default IP address.
-4. Reset your router to USR factory firmware defaults. Hold down the Reset button until the LEDs stop cycling and reach a stable pattern for at least 10 seconds (a single LAN LED may occasionally flicker at the end). Release the button. (This method to restore defaults only works for US Robotics factory firmware as of this writing.)+4. Your PC LAN interface/adapter will need a static IP address on the same LAN (192.168.2.x) to reliably load DD-WRT firmware image onto the router. To set such an address in Windows XP: Start - Control Panel - Network Connections; right-click on "Local Area Connection" icon and select Properties. In "Local Area Connection Properties" window, select "Internet Protocol (TCP/IP)", click on Properties button and set the following static IP address for your PC:
- +
-5. The default LAN IP Address of '''USR5461''' router with US Robotics factory firmware and CFE (bootloader) is '''192.168.2.1'''. Your computer's network interface will need a Static IP Address on the same network to reliably load DD-WRT firmware onto the router.+- IP Address: '''192.168.2.111'''; - Subnet Mask: '''255.255.255.0''' - Default Gateway: '''192.168.2.1'''.
- +
-On Windows XP: Control Panel, Network Connections, right-click on Local Area Connection icon and select Properties.+
-On Windows Vista: Control Panel, Network and Sharing Center.+
- +
-In the properties of the Local Area Connection, Internet Protocol TCP/IP, set the static IP address:+
- +
- IP Address: 192.168.2.101+
- Subnet Mask: 255.255.255.0+
- Default Gateway: 192.168.2.1+
- +
-Click OK+
- +
-6. Now perform the flash.+
= Performing the Flash = = Performing the Flash =

Revision as of 23:59, 14 June 2010

Contents

Installing DD-WRT on a US Robotics USR5461

Introduction

The major hardware features of this router are listed in this table. As of now, 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 router has only 2MB of NVRAM Flash Memory which contains 128 KB compressed Boot Loader (CFE). The rest of it (1870 KB) contains the USR factory firmware. Therefore, you can use either DD-WRT micro builds (file size about 1700 KB) or DD-WRT micro-plus builds (file size less than 1870 KB) to upgrade the original USR factory firmware on USR5461.

Initially, DD-WRT builds were designed as a "factory (DD-WRT) default firmware". Installing such firmware onto an active/operative router, will "restore" the factory (DD-WRT) default settings on it. All currant router settings will be lost! A full router configuration is required after the installation.

The recent DD-WRT builds are designed as a "factory (DD-WRT) upgrade firmware". Installing such firmware onto an active/operative router, will preserve some unique router properties and currant settings: - Status: WAN MAC address: xxx ; LAN MAC address: xxx ; Wireless MAC address: xxx; - LAN: IP address: 192.168.x.x ; Subnet mask: 255.255.255.0 ; - Internet Login (PPPoE): User Name: xxx ; Password: xxx ; - Router Login: User Name: xxx ; Password: xxx . This makes much easier to complete router configuration after a successful DD-WRT firmware installation ("upgrade").

In the instructions bellow we will use the latest EKO NEWD build: dd-wrt.v24-14583_NEWD_micro-plus.bin 1.73 MB (1,814,528 bytes) 09-06-2010

Download link: http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FV24_TNG%2Fsvn14583/

Preparing to Flash

This document is written assuming your USR5461 router is running an original USR firmware, and your PC is running Microsoft Windows XP or later. It is expected that Linux users and those already running DD-WRT firmware on USR5461 router 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.

1. Create a new folder on your computer Desktop and name it usr5461. Download/save the desired DD-WRT image file to Desktop\usr5461.

2. 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!

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. In the instructions bellow we will use the default IP address.

4. Your PC LAN interface/adapter will need a static IP address on the same LAN (192.168.2.x) to reliably load DD-WRT firmware image onto the router. To set such an address in Windows XP: Start - Control Panel - Network Connections; right-click on "Local Area Connection" icon and select Properties. In "Local Area Connection Properties" window, select "Internet Protocol (TCP/IP)", click on Properties button and set the following static IP address for your PC:

- IP Address: 192.168.2.111; - Subnet Mask: 255.255.255.0 - Default Gateway: 192.168.2.1.

Performing the Flash

Use one of the firmware loading methods listed below.

Method 1: tftp

This section generally assumes you will be using the Tftp2 GUI utility. Those familiar with the command line version can of course adapt these steps as needed.

1. Open a command prompt window and type ping -t 192.168.2.1 and hit enter. Leave this window open with the ping running.

2. Start tftp2.exe (windows GUI for tftp). Configure the following:

     Server : 192.168.2.1
     Password :
     File : dd-wrt.v24-12774_NEWD_micro-plus.bin (or whatever the version you downloaded above)

3. Power off the router - the ping reply should report errors.

4. Wait for 10 sec and plug power back to the router.

5. The timing of this step is very important. You will get responses with TTL=100 within a few seconds when the router is powered on. As soon as you see the FIRST ping reply, click on Upgrade within Tftp2.exe. If you see TTL=64 before you clicked Upgrade, you waited too long to start the tftp. (If you miss this step, back up to step 3 and try again.)

6. You will see the firmware image is loading to the router. After Tftp2 reports success, stop the ping in the command prompt window (control-C).

7. Wait 5 minutes after the tftp has completed, regardless of whether the wireless appears stable before then. Then cycle the power.

8. Proceed to "After the Flash" below.

You can also flash back the original factory firmware as described in this method. Just change the file location in Tftp2.exe to point to the factory firmware and start with the current router IP. (Might need a USR factory firmware without the 28-byte "USR0" header; must check this.)

Method 2: the factory firmware's web User Interface

It is possible to flash DD-WRT for the first time using the upgrade option from the USR firmware's web interface. The trick is to make the DD-WRT firmware file look like a USR firmware file by adding a special header and changing the file extension to .usr such that that the USR firmware will accept it.

1. Download the header file usr5461_hdr.bin

2. Open a command prompt window and issue the command:

     copy /b usr5461_hdr.bin + dd-wrt_xxxxxxx.bin result_file.usr 

This performs a binary copy of the USR header and the DD-WRT image to make a single file with the header at the front. Doublecheck that result_file.usr is exactly 28 bytes longer than the dd-wrt_xxxxxxx.bin file.

3. Open the USR web UI at http://192.168.2.1 in your browser, navigate to the device upgrade page and upload the result_file.usr created above.

4. Wait 5 minutes after the upgrade has completed, regardless of whether the wireless is stable before then. Then cycle the power.

5. Proceed to "After the Flash" below.

After the Flash

1. Change the static IP on your PC back to DHCP (automatic):

On Windows XP, Control Panel/Network Connections/right-click on Local Area Connection icon and select Properties. On Windows Vista, Control Panel/Network and Sharing Center.

In the properties of the Local Area Connection, Internet Protocol TCP/IP, set:

     Obtain IP address Automatically
     Obtain DNS Server Automatically

Click OK. Your PC will be assigned a new IP address on the 192.168.1.x network by the router, which is now running DD-WRT.

Now you must issue commands to configure some unique properties of the USR5461 when running DD-WRT.

2. Go to the command prompt window and issue the command

    telnet 192.168.1.1
    username: root
    password: admin

Now you are in the DD-WRT shell.

3. Issue these commands, pausing a few seconds between them:

    erase nvram
    reboot

This clears the NVRAM in place of the "30/30/30 reset". (The reboot is necessary here because after the erase, some outdated parameters are retained in RAM which might be written to NVRAM during a subsequent operation, but the reboot prevents this.)

4. After reboot, telnet into the shell again (as in Step 2 above). Issue these commands:

    nvram set et0macaddr=00:C0:49:YO:UR:N1
    nvram set il0macaddr=00:C0:49:YO:UR:N1
    nvram set wan_hwaddr=00:C0:49:YO:UR:N2

where 00:C0:49:YO:UR:N1 = the lowest MAC listed on the bottom of YOUR router and 00:C0:49:YO:UR:N2 = 00:C0:49:YO:UR:N1 + 1.

These commands configure the unique MAC addresses reserved for your router, since DD-WRT on the USR5461 series defaults to a generic (possibly non-unique) MAC. Double-check that your numbers are correct; only digits 0 (zero) through 9 and letters A through F are allowed. Take care with the hexadecimal math; for example, 89+1=8A, not 90 here.

5. Now issue these commands, pausing a few seconds between them:

    nvram commit
    reboot

After the router reboots, you may access the DD-WRT router configuration webpages at DD-WRT's default of http://192.168.1.1. Further configuration options of a more general nature are beyond the scope of this device-specific page at this time.

6. Enjoy!

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.)