Fandom

InfoDepot Wiki

Asus WL-520gU

1,124pages on
this wiki
Add New Page
Talk0 Share

Your here: Home / Network / Hardware Specific / Asus / WL-520GU


Asus WL-520GU
Asus WL-520GUa

Homepage

Asus WL-520GU

Wikipedia

Asus Routers

dd-wrt

Asus WL-520GU

OpenWRT

Asus Routers

Tomato

?

TomatoUSB

Support Chart at Bottom

Gargoyle

?

WARNING: It is recommended to use ASUS Firmware restoration tool for ASUS routers initial flash
(use *.TRX file)

NOTE: During configuration or flashing a device, the only that should be hooked to the device is the computer and power.

SpecsEdit

Fixme This section is in need of cleanup!

Platform

Serial Num. = ?
FCC ID = MSQWL520GUGC
CPU Type = Broadcom BCM5354KFBG (BCM5354 SoC)
MIPS Rev = R1
CPU Speed = 240MHz
Bus = ?
Flash Type = Parallel
Flash Chip = MX T081521 29LV320BTC
Flash Size = 4MB
Max Firmware Size = 3801088 bytes
RAM Size = 16MB
RAM Chip = Samsung 704 K4S2816321-UC60
nvram Size = ?
Switch = Broadcom BCM5354KFBG (BCM5354 SoC)
Port-based vlan = Yes
802.1q vlan = Yes
Ethernet Port Count = 1-10/100-WAN 4-10/100-LAN
Wired Standard = IEEE 802.3/3u/3x
boot_wait = on
bootloader = CFE
Flash Card Socket/Type = No
SD/MMC Mod Support = No
MiniPCI slots = No
PoE = No
Power = 5V/2A 
Color of LEDs = ?
Size = ?
USB = 1x USB 2.0
Serial Port = Yes
JTAG Port = No
Supported by TJTAG 3.02 = No
Supported by dd-wrt as of = v24 micro build 8257
dd-wrt K2.4 Support = Yes
dd-wrt K2.6 Support = ?
Special Features = 1x USB 2.0

Radio (wl0)

Wireless Radio = Broadcom BCM5354KFBG (BCM5354 SoC)
WLAN DSP processor = ?
Antenna Connector Type = RP-SMA
Wireless Standard = IEEE 802.11b/g
WiFi Operating Frequency = 2.4GHz - 2.5GHz
 802.11g = 6, 9, 12, 18, 24, 36, 48, 54Mbps
 802.11b = 1, 2, 5.5, 11Mbps
Radio cor_rev = wl0=13
Radio Capabilities = ?

Links of InterestEdit

Fixme This section is in need of cleanup!

FlashingEdit

DD-WRTEdit

IntroductionEdit

The WL-520GU WRT has been supported as of DD-WRT v.24 RC7. USB (e.g. external storage or printer). As of DD-WRT v24 Final Release you are able to use the web-GUI to enable, setup and configure USB support. You MUST use builds that are tagged mini-usb or mini-usb-ftp to do this. Due to the lack of the units flash size (4MB) these builds may not offer the same Web GUI features of the standard builds. Some memory hungry features like Xbox-KAID have been removed in order to provide sufficient space for the USB drivers/modules and FTP functions.

It is also worthy to note that the USB 2.0 aspect of this router is very temperamental. If you bought this router in hopes of using USB 2.0, then you may experience problems with certain applications; albeit those mainly include resource intensive Optware programs like Bittorrent transmission.

The only remedy for this (as of now) is to use the USB 1.1 drivers instead.

PrerequisitesEdit

  1. Windows Client (TFTP firmware upload techniques when booting the WL-520GU will also work for non-Windows users, but use of the ASUS Firmware Restoration Utility on a Windows client is by far the easiest way to flash the WL-520GU)
  2. ASUS Firmware Restoration Utility
    • Installed as part of the "ASUS WL-520gU wireless router utility program" and is available under "Utilities"
  3. DD-WRT v.24 TNG (not VINT builds) Link: [1]
    • Build suggestions (see File Versions for more information on selecting a version):
      • dd-wrt.v24_mini_asus.trx (For intial flash) REQUIRED
      • dd-wrt.v24_mini_generic.bin (Recommended if you want to manually add USB support, or need additional JFFS storage space)
      • dd-wrt.v24_generic_nokaid.bin (if you want standard features but don't require X-Box Kai Console Gaming)
      • dd-wrt.v24_std_generic.bin
      • mini_usb.bin (Built in USB support)
      • mini_usb_ftp.bin (Built in USB and FTP support)

Note: The mini_asus.trx build is supposed to be designed to be uploaded as a firmware upgrade through the ASUS stock firmware's web interface. The stock ASUS firmware rejected this build in the author's attempt to do this. For Windows use the Firmware Restoration utility provided with your router to do the initial mini-asus.trx flash. For Vista users, Administrative permissions are required. For Windows 7 users, changing the main executables (.exe) file to Windows XP sp2 compatibility mode is required. For 64bit versions of Windows, make sure the installation path is set to Program Files (x86).

New Wiki Install MaterialEdit

There is a lot of info in this wiki that is seriously out of date. Some people find the Asus Firmware Upgrade Utility to be a complete pain in the arse to download and install, and is useless for Apple and Linux OS users. However, it does come on the disk with a new Asus router and can be used instead of the tftp.exe program if you wish. See Firmware Restoration Utility for the simple Windows OS users.

TFTP Method:

  1. Read the Peacock Announcement, found here: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486
  2. Download this program to flash from Windows: http://www.dd-wrt.com/dd-wrtv2/downloads/others/tornado/Windows-TFTP/tftp.exe If you need to flash with Linux, you can use this file: ftp://dd-wrt.com/others/tornado/Linux_Linksys_Tftp/linksys-tftp.tar.bz2, or [advanced users] can use the tftp utility available through most package managers.
  3. Download this file for initial flashing: ftp://dd-wrt.com/others/eko/V24_TNG/svn12548/dd-wrt.v24-12548_NEWD_mini_asus.trx Also download this file for LATER flashing: http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/BrainSlayer-V24-preSP2/02-23-10-r13972/broadcom/dd-wrt.v24_usb_generic.bin
  4. Do a proper HARD reset on the router in accordance with note 1 of the peacock. That will be a 30-30-30 reset, followed by a power cycle. Do not confuse the Red 'EZ Setup' button with the RECESSED reset button.
  5. Do a second 30-30-30 reset, but do not power cycle it at the end. This puts the router into restoration mode. Plug a cable in the LAN port of the router, and the ethernet port of your computer. Make sure antivirus and wireless are off in the computer, and nothing else is connected to the computer or the router.
  6. Set your computer to a static IP address of 192.168.1.7 with a subnet mask of 255.255.255.0.
  7. Start the tftp.exe and follow the instructions in note 11 of the peacock announcement. Set the server to 192.168.1.1, leave the password blank, set retries to 20, and choose the dd-wrt.v24-12548_NEWD_mini_asus.trx file you downloaded earlier. Hit upgrade, and the file should upgrade immediately.
  8. Wait. Set a timer for FIVE FULL EARTH minutes. If you screw this up you could damage your router. WAIT!
  9. The LAN port will remain lit after the upgrade, but no other lights will light. There is no sign that your firmware has flashed, so you HAVE TO TIME IT.
  10. Once the time is up, power cycle the router.
  11. Navigate to 192.168.1.1 and refresh until the router webgui shows up
  12. Type a username and password in the opening page.
  13. Power cycle the router
  14. When you can log back in to the webgui at 192.168.1.1, do ANOTHER hard reset on the router (30-30-30 followed by a power cycle)
  15. Login to the router and enter a username and password. The router can be used at this point.
  16. Download this file if you have not already: http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/BrainSlayer-V24-preSP2/02-23-10-r13972/broadcom/dd-wrt.v24_usb_generic.bin
  17. Under the Administration > Firmware Upgrade tab, choose "Reset to default configuration", and pick the dd-wrt.v24_usb_generic.bin file to upgrade the firmware.
  18. Hit "Upgrade" and wait five full earth minutes.
    1. If uploading via the web does not work for you (it did not for me), you can upload your file with tftp again. I uploaded the dd-wrt.v24_voip_generic.bin this was successfully. I did have to increase the timeout for the voip file for it to work.
  19. Type a username and password in the opening page.
  20. Power cycle the router
  21. When you can log back in to the webgui at 192.168.1.1, do ANOTHER hard reset on the router (30-30-30 followed by a power cycle)
  22. Login to the router and enter a username and password.
  23. Configure your router
  24. Set your computer back to auto IP and autoDNS

Resetting DefaultsEdit

There are several ways the WL-520GU's NVRAM can be reset.

  1. Using the Administration -> Factory Defaults web interface.
  2. Selecting the option to reset to Default Settings when upgrading the firmware through the Administration -> Firmware Upgrade web interface.
  3. Pressing the reset button while booting (see the Reset Button section below for ASUS reset button quirks).
  4. Using telnet enter erase nvram command
  5. Download this file pack which includes the necessary tools required for the procedure and unrar it. The File pack contains both wl500g-clear-nvram.trx and the wl500g-recover.trx utilities.

If using the #5 procedure, do the following:

  1. Using the Firmware Restoration utility or TFTP, first put the device into restore mode by pressing and holding the black reset button WHILE plugging the power in. The power LED should continuously flash.
  2. Set your network adapter to a static IP of 192.168.1.10 and subnet mask of 255.255.255.0
  3. Upload wl500g-clear-nvram.trx and wait for the transfer to complete. Unplug the power.
  4. Put the device into restore mode once again by pressing and holding the black reset button WHILE plugging the power in.
  5. Upload wl500g-recover.trx and wait for the transfer to complete, then unplug.
  6. Put the device into restore mode once again by pressing and holding the black reset button WHILE plugging the power in.
  7. Upload the either the stock firmware (which is found on the Asus website) or uploadmini_asus.trx file if you want to continue using DD-WRT. Wait for file transfer completion.
  8. Unplug the power, but this time do NOT press the blackreset button. Just plug the power back into the unit and you're back in business
  • Last resort when the unit won't boot due to a bad setting -- see this forum post.

Reset ButtonEdit

The ASUS "firmware restoration" mode requires a change to the standard Linksys "hold reset button for 30 seconds" procedure for resetting the WL-520GU to its defaults. The following is how the reset button works on the WL-520GU:

When the WL-520GU is powered on


* Holding the reset button for 15-20 seconds will cause the WL-520GU to reboot.* Upon reboot, a pressed reset button causes the WL-520GU to go into firmware restoration mode. This does NOT reset the defaults (see the section below for more information on the firmware restoration mode).* Since there is little to no warning of the exact instant the WL-520GU will reboot when holding the reset button, chances are extremely good that the reset button will still be depressed and cause the WL-520GU to go into firmware restoration mode. Hard booting the WL-520GU will get the WL-520GU back, but settings will NOT be reset.
When the WL-520GU is booting


* Holding the reset button during the boot sequence will reset the unit to its defaults.* Care must be taken to press the reset button right after the power light turns off immediately after powering on the WL-520GU and not before, to avoid going into firmware restoration mode.
Based on the above, it should be fairly self-evident that the following procedure is recommended for using the reset button on the WL-520GU.


# Unplug the WL-520GU# Plug in the WL-520GU# The power light will blink# As soon as the power light turns off, press and hold the reset button# Hold the reset button until the power and wireless buttons glow green.# The WL-520GU should now be reset to its defaults
== Hardware Notes ==

This section covers observations made about working with the ASUS WL-520GU hardware. Certain behaviors of this device are different than other WRTs (especially the Linksys).

Using TFTP on WindowsEdit

Windows TFTP client may be downloaded from here. Then all you need to do is to call following command: tftp.exe -i -v 192.168.1.1 PUT dd-wrt.v24_mini_asus.trx

Using TFTP on LinuxEdit

Linux TFTP client may be downloaded using yum or apt-get. Then all you need to do is to call following command: tftp -m binary 192.168.1.1 -c dd-wrt.v24_mini_asus.trx

External LinksEdit

TomatoUSBEdit

Fixme This section is in need of cleanup!

UpgradingEdit

If dd-wrt is already on the router follow these instructions. If stock firmware is on the router follow the flashing instructions.

  1. Check for recommended builds here first.
  2. Set your computer to a static IP of 192.168.1.7. (or to whatever subnet the router is on) Disable all firewalls and security. Disable wireless on your computer and only have the router connected to the flashing computer by the ethernet cable between the two.
  3. Hard reset or 30/30/30 (If the router supports it, if not, reset to defults in the GUI) prior to flashing. Wait. Check for password page on re-login and change password.
  4. Flash firmware. You can use the webgui except if you have a belkin router. (For belkin use tftp.exe to flash)
  5. Wait...at least three minutes. Lights should return to normal. See important2, below. Failing to wait is how most people brick their routers.
  6. Do a power cycle of the router. (Unplug the cord, count to 30 and plug it back in.)
  7. Wait for the lights to return to normal usually about 2 minutes.
  8. Hard reset or 30/30/30 again (If the router supports it, if not, reset to defults in the GUI). Wait. Check for the password page and re-login to change the password. Then you can reconfigure your settings manually.
  9. Once configured set your computer back to autoIP and autoDNS.

Important1: This Hard reset or 30/30/30 works fine for Asus router, but you do have to power cycle after the reset.

Important2: After you flash the firmware, and before you do the hard reset, the router will be building some nvram settings. YOU MUST WAIT FOR THIS TO FINISH PRIOR TO DOING ANYTHING WITH THE ROUTER INCLUDING A HARD RESET. Usually, you can tell when this process is completed by the WAN light coming on, but it does take several minutes. Go have a beer. There are starting to be more and more people who BRICK their routers by not waiting until the nvram is rebuilt, PRIOR to doing a hard reset. YOU NEED TO WAIT!

RevertingEdit

Firmware Restoration ModeEdit

Many Asus WLs have a special pre-boot state that makes it extremely easy to upload new firmware images, even when the current firmware is corrupt (in fact the WL-520GU automatically drops into this mode when a corrupt firmware is detected during boot). Either applying a new firmware through the Asus Firmware Restoration Utility (see section below) or a hard reboot (removing the power) is required to exit this state (Note that entering this state does not negatively effect the current settings or firmware so it is not especially dangerous to accidentally enter firmware restoration mode -- although it does get in the way of performing a "reset button" based reset of the WL-520GUs settings as noted in the section above).

Asus Firmware Restoration UtilityEdit

The Asus Firmware Restoration Utility is available from the Asus support site under "Utilities" (installed as part of the ASUS WL-520GU Utility). This is the preferred utility for uploading new firmware distributions since many firmwares reject a different distribution's firmware if one attempts to use the web interface.

The Asus Recovery Utility can ONLY be used with Windows


  • Under Vista and Win7 this utility must be run as administrator by Right-clicking on the .exe and selecting the option.
  • In case you have multiple network interfaces, disable all but the one that is connected to your router (i.e your LAN connection).
  • You should also turn off your Windows firewall, in order to allow the Asus Recovery Utility to be able to connect and send data from your PC to the Router.

Steps:

1. You will need to manually set the address of your PC's Network LAN card to 192.168.1.10 and subnet mask 255.255.255.0. Also make sure all other adapters on your PC, except for the main LAN connection are disabled.

2. Remove the power connector of the WL series router.

3. While holding the BLACK reset button down, plug the power connector back in.

4. When the power LED flashes, release the reset button. The router is now in recovery mode.

5. Use the Asus recovery utility to upload the DD-WRT mini-asus.trx file.

6. After the upgrade, the Utility will ask for a router reboot. Give it about a minute to be on the safe side before removing the power. Once plugged back in, you will be able to access the web interface.

7. Return your Net adapter properties to "Automatically Obtain IP"

8. DO NOT use Firefox for upgrading builds! Use Internet Explorer!!!!

9. Type 192.168.1.1 into your browser and set your username as root and pick a password.

10. Navigate to Administration->Firmware Upgrade and upload either the recommended build provided on the main page of the site, or another of your choice.

JTAG/Serial InfoEdit

JTAGEdit

JTAG PinoutsEdit
Fixme This section is in need of cleanup!
JTAG RecoveryEdit
Fixme This section is in need JTAG Recovery Instructions!

SerialEdit

Serial PinoutsEdit
Fixme This section is in need of cleanup!
Hyper terminal Setup in Windows XPEdit
In Windows XP, Click Start Button - All Programs - Accessories - 
   Communication - HyperTerminal
Enter a name for the connection, Click ok
Choose com port you adapter is plugged into, Click ok
Set:
 Bits per second = 115200
 Data Bits = 8
 Parity = none
 Stop bits = 1
 Flow control = none
Click ok
Click File - Save As, and select a place to save it to so you 
             don't have to enter the settings again.
Putty Setup in Windows XPEdit
After installing putty, run it
 Serial line = The COM port your using for serial (ie. COM3)
 Speed = 115200
Click on Serial under Connection
 Serial line to connect to = same as above (Serial line)
 Speed (baud) = 115200
 Data bits = 8
 Stop bits = 1
 Parity = None
 Flow control = None
Click Session
 Enter a name for your connection under saved sessions
Click Save
Click Open
Serial RecoveryEdit
Fixme This section is in need of Serial Recovery Instructions!

USB InfoEdit

Fixme This section is in need of cleanup!

vlan InfoEdit

Confirmed working with the Asus WL-500gP v2. Before and after pics included. After moving port 3 into WAN port it of course no longer functioned like a LAN port.

1 2 3 4 | Case labels
3 2 1 0 | NVRAM ports

PicturesEdit

Asus WL-520GUb Asus WL-520GUc Asus WL-520GUd

Asus WL-520GUe

FCC PicturesEdit

NotesEdit

Hardware ModificationEdit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.