ASUS RT-G32

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 02:42, 14 December 2010 (edit)
Johnklehm (Talk | contribs)
('''Connecting to RedBoot''' - Update for newer flashing method)
← Previous diff
Revision as of 03:32, 14 December 2010 (edit) (undo)
Johnklehm (Talk | contribs)
('''Connecting to RedBoot''' - Update for newer flashing method)
Next diff →
Line 21: Line 21:
* Download asus-to-dd-wrt.bin, I used [http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/BrainSlayer-V24-preSP2/11-21-10-r15778/Asus_RTG32/asus-to-dd-wrt.bin build 15778] * Download asus-to-dd-wrt.bin, I used [http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/BrainSlayer-V24-preSP2/11-21-10-r15778/Asus_RTG32/asus-to-dd-wrt.bin build 15778]
-=== '''Connecting to RedBoot''' ===+=== '''Uninstall old ddwrt firmware''' ===
-In order to flash the router, you'll need to access RedBoot on the router via telnet.+==== If you already have stock ASUS firmware on your G32 skip this step! ====
-Putty settings for telnet:+==== Requirements for this step ====
-* Host Name: 192.168.1.1+* A TFTP server. I used [http://tftpd32.jounin.net/tftpd32_download.html Tftpd32]
-* Port: 9000+* A telnet client. I used [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PuTTY]
-* Connection Type: telnet+* A special config file. I used [http://klehm.net/dd-wrt/asus-rt-g32/config config] orignally from a blog seems to be having issues so I mirrored it.
-* close window on exit: never+
-To Connect:+In this step we will get back to stock ASUS firmware and factory settings. This is important as the newer ddwrt firmware can't be installed on the G32 without starting from a good state.
-# Plug your ethernet cable in to port 4 on the router.+
-# Then plug in the power to the router, wait 2-3 seconds (until you have valid network connection, windows should tell you).+
-# Click "Open" in putty to start your telnet session.+
-This may take you a few tries to get it to connect. +This step is only needed if you had installed ddwrt on the RT-G32 with the old guide. You might also need to do this if your router is non responsive from some mishap.
-On a successful connection, putty should display something like this:+In order to flash the router, you'll need to access RedBoot on the router via telnet. You also need to have a tftp server running.
-== Executing boot script in 1.920 seconds - enter ^C to abort+Putty settings for telnet (best to save these since it might take more than one try to connect):
 +* Host Name: 192.168.1.1
 +* Port: 9000
 +* Connection Type: telnet
 +* close window on exit: never
-^C 
-RedBoot>+==== Uninstall ====
 +# Start the TFTP server.<br />Make sure you place the config file you downloaded earlier in its serving directory.<br />I'll refer to this file by the name: config
 +# Connect:
 +## Plug your ethernet cable in to port 4 on the router.
 +## Then plug in the power to the router, wait 2-3 seconds (until you have valid network connection, windows should tell you).
 +## Click "Open" in putty to start your telnet session.<br />This may take you a few tries to get it to connect.
 +## This is what the telnet screen shows on connection<br />== Executing boot script in 1.920 seconds - enter ^C to abort<br /><br />^C<br /><br />RedBoot>
 +# Enter these commands into Redboot (my comments are in parentheses):
 +## fis init
 +## y
 +## ip_address -l 192.168.1.1/24 -h 192.168.1.254
 +## load -r -b %{FREEMEMLO} config
 +## fis create -l 0x00010000 -f 0xBFFD0000 -e 0x00000000 -r 0xBFFD0000 config
 +## fconfig (press enter twice)
 +## fis load -l vmlinux.bin.l7 (you don't have this file but its part of the plan)
 +## exec -c “root=/dev/mtdblock1 of rootfs=squashfs” (press enter 12 times)
 +## y (to the only y or n question)
 +## reset
 +# Close putty and tftpd.<br />If you forget to close them you might get socket errors later when you try to use the ASUS Firmware utility.
=== '''Flashing From RedBoot''' === === '''Flashing From RedBoot''' ===

Revision as of 03:32, 14 December 2010

Contents

Flashing DD-WRT on the ASUS RT-G32: Step-By-Step Instructions

Quick Info

Hardware: ASUS RT-G32 (this is not the Rev B version!)

dd-wrt version: DD-WRT v24-sp2 (11/21/10) std (SVN revision 15778)

OS used to flash: Windows XP

Preparation

  • Download ASUS firmware. I used RT-G32_V3.0.2.1_RU09.bin
  • Download the ASUS Firmware Restoration tool. I used version 1.0.12.0
  • Network settings needed for ASUS flashing tool.
    • IP: 192.168.1.254
    • Subnet Mask: 255.255.255.0
    • Gateway 192.168.1.1
    • DNS can be left blank.
    • Set these in Control Panel -> Network Connections -> Local Area Connection -> Properties -> TCP/IP -> Properties on Windows XP.
  • Download asus-to-dd-wrt.bin, I used build 15778

Uninstall old ddwrt firmware

If you already have stock ASUS firmware on your G32 skip this step!

Requirements for this step

  • A TFTP server. I used Tftpd32
  • A telnet client. I used PuTTY
  • A special config file. I used config orignally from a blog seems to be having issues so I mirrored it.

In this step we will get back to stock ASUS firmware and factory settings. This is important as the newer ddwrt firmware can't be installed on the G32 without starting from a good state.

This step is only needed if you had installed ddwrt on the RT-G32 with the old guide. You might also need to do this if your router is non responsive from some mishap.

In order to flash the router, you'll need to access RedBoot on the router via telnet. You also need to have a tftp server running.

Putty settings for telnet (best to save these since it might take more than one try to connect):

  • Host Name: 192.168.1.1
  • Port: 9000
  • Connection Type: telnet
  • close window on exit: never


Uninstall

  1. Start the TFTP server.
    Make sure you place the config file you downloaded earlier in its serving directory.
    I'll refer to this file by the name: config
  2. Connect:
    1. Plug your ethernet cable in to port 4 on the router.
    2. Then plug in the power to the router, wait 2-3 seconds (until you have valid network connection, windows should tell you).
    3. Click "Open" in putty to start your telnet session.
      This may take you a few tries to get it to connect.
    4. This is what the telnet screen shows on connection
      == Executing boot script in 1.920 seconds - enter ^C to abort

      ^C

      RedBoot>
  3. Enter these commands into Redboot (my comments are in parentheses):
    1. fis init
    2. y
    3. ip_address -l 192.168.1.1/24 -h 192.168.1.254
    4. load -r -b %{FREEMEMLO} config
    5. fis create -l 0x00010000 -f 0xBFFD0000 -e 0x00000000 -r 0xBFFD0000 config
    6. fconfig (press enter twice)
    7. fis load -l vmlinux.bin.l7 (you don't have this file but its part of the plan)
    8. exec -c “root=/dev/mtdblock1 of rootfs=squashfs” (press enter 12 times)
    9. y (to the only y or n question)
    10. reset
  4. Close putty and tftpd.
    If you forget to close them you might get socket errors later when you try to use the ASUS Firmware utility.

Flashing From RedBoot

now enter these commands into your telnet client exactly: [my comments are in square brackets]


ip_address -l 192.168.1.1/24 -h 192.168.1.166 [press enter]

fis init [press enter]

y [press enter]

load -r -b 0x80041000 linux.bin [press enter]

fis create linux [press enter. there won't be any console output until it's done running... took just under 4 minutes for me.]

fconfig [press enter twice]

fis load -l linux [press enter]

exec [press enter exactly 12 times]

y [press enter. it will take about 5 seconds to respond.]

reset [press enter]


At this point the router will reboot. Wait at least 1 minute and 25 seconds and then you should be able to point your browser to http://192.168.1.1/ and access the dd-wrt control panel. (note: it always seems to take about 1 minute and 25 seconds for the router to boot up. In other words, every time you apply power or restart the router, it will take about 1 minute and 25 seconds for the dd-wrt control panel to be accessable.)


Once you're in the dd-wrt control panel, goto Administration/Factory Defaults, click "Yes" and "Apply Settings".


All done!


RT-G32 Router Information Screenshot

RT-G32 System Information Screenshot


Other Links of Interest

DD-WRT Forum: ASUS RT-G32 Support

ASUS RT-G32 Factory Firmware

ASUS RT-G32 Back to Firmware

--Tilex 01:35, 20 January 2010 (CET)