The router is sometimes called Asus WL-500GX or Asus WL-500g Deluxe V. An evolution of the previous WL-500g superseded by the WL-500g Premium.
There is a single hardware release. It's fully supported in White Russian (starting at least in RC4) and in Kamikaze 7.09-8.09 using the brcm-2.4 target. Starting from BackFire 10.03, it works with the brcm47xx target (2.6/3.x kernel and free b43 driver), however, wifi may be slow and unstable depending on your firmware version (see forum).
This is a standard brcm47xx unit, so the usual Broadcom/WRT54GL procedure applies.
The boot_wait NVRAM variable is on by default.
Resetting to factory defaults via reset button or mtd erase nvram is safe on this unit.
The default IP address of this unit (and its bootloader) is 192.168.1.1
The standard openwrt-brcm47xx-squashfs.trx image can be loaded directly from the web interface of the original firmware.
Enable Failure Mode: The WL-500gD has four LEDs on the front (named LAN1 through LAN4). If you press and hold the reset button, so that it's pressed during power-up, these four LEDs become alight right from the power-up. Now pay attention: some two/three seconds after power-up, these four LEDs turn dark. Release the reset button immediately when you observe this. The router should revert to the “Failure mode”. Within a few seconds the PWR LED starts flashing slowly (once second on, one second off). If you keep the button pressed, the Failure mode might not activate.
This also happens automatically if the bootloader finds a corrupted firmware.
You should be able to ping the unit:
ping 192.168.1.1
(192.168.1.1 is the default used by the bootloader. If you changed the LAN ip using the original firmware or OpenWrt White Russian, try that address instead).
If you can’t ping the unit retry enabling Failure Mode, even if the LED is blinking it sometimes does not respond. Turn it off and then on first. You can even do a factory reset.
Send image with TFTP:
tftp 192.168.1.1 tftp> binary tftp> trace tftp> put openwrt-xxx-x.x-xxx.trx
After this, wait for the PWR LED to stop flashing and the device to reboot and you should be set. If the automatic reboot doesn't work, wait 3-4 minutes and toggle the power.
You can use the ASUS Firmware Restoration tool to send an image from a Windows PC to the router (including OpenWrt). The tool is on the supplied CD or available from the ASUS web site (For the WL-HDD: Go to www.asus.com, click on Download, search for WL-HDD, click on Utilities and download the program in the language of your choice. Part of the program is the Firmware Restoration tool)
Before you start the Firmware Restoration tool, disable all interfaces on the PC except for the one connected to the Router. The software seems to pick an interface at random.
Put the Router into Failure Mode and start the Firmware Restoration program. Select the desired firmware and click on Upload. The software will search for the router - the status is Connect to the wireless device, it will do this for about 32 seconds.
The software will only find the router if it is in recovery mode.
The tool provides status as it works:
After this, you should be able to connect to the Router.
If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the mtd command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.
http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/
)cd /tmp/ wget http://downloads.openwrt.org/snapshots/trunk/brcm47xx/openwrt-brcm47xx-squashfs.trx mtd -r write /tmp/openwrt-brcm47xx-squashfs.trx linux
Architecture | MIPS (little endian) |
---|---|
Vendor | Broadcom |
Bootloader | CFE |
System-On-Chip | Broadcom 5365 |
CPU | BCM3302 V0.7 |
CPU Speed | 200 MHz |
Flash-Chip | MX 29LV320ABTC-90 |
Flash size | 4 MiB |
RAM-Chip | 2 x Samsung K4S281632F |
RAM | 32 MiB |
Wireless | Broadcom BCM4306 802.11b/g rev 5 |
Ethernet | Switch in CPU |
USB | 2x 2.0 (VIA VT6212L) |
Serial | Yes, 2 |
JTAG | No |
Model Number
Front:
Photo of front
Back:
Photo of back
Note: This will void your warranty!
The WL-500g Deluxe has 2 serial ports. The pinout is marked on the PCB, so they should be pretty easy to find and use.
UART0 is used for the terminal, by both the bootloader and OpenWrt. It is configured for 115200 baud using 8N1.
For more info, see http://wl500g.info/showthread.php?t=1993
As with most of the routers supported by OpenWrt, these serial ports work at “CMOS” levels (3.3v), so you'll need an adaptor to use them with the standard PC serial ports. See Serial Consolefor more details.
Unfortunately, this device doesn't have a JTAG port. Be careful not to overwrite the bootloader!
The default network configuration is:
Interface Name | Description | Default configuration |
---|---|---|
br-lan | LAN & WiFi | 192.168.1.1/24 |
vlan0 (eth0.0) | LAN ports (1 to 4) | None |
vlan1 (eth0.1) | WAN port | DHCP |
wl0 | WiFi | Disabled |
The switch is configured in /etc/config/switch
On the back of the router, left to right:
Port | Switch port |
---|---|
LAN 4 | 1 |
LAN 3 | 2 |
LAN 2 | 3 |
LAN 1 | 4 |
Internet (WAN) | 0 |
The default configuration places:
If you forgot your password, broken one of the startup scripts, firewalled yourself or corrupted the JFFS2 partition, you can get back in by using OpenWrt's failsafe mode.
NOTE: The root file system in failsafe mode is the SquashFS partition mounted in readonly mode. To switch to the normal writable root file system run mount_root
and make any changes.
passwd
uci get network.lan.ipaddr
ipkg upgrade
or filled up the flash by installing to big packages (clean the JFFS2 partition and start over): mtd -r erase rootfs_data
If you are done with failsafe mode power cycle the router and boot in normal mode.
The WL-500g Deluxe has a single button, named Reset. It can be used at startup to force the bootloader into Failure Mode.
Link to Generic basic config secion
On this unit there is a (very) small risk of corrupting the NVRAM, usually due to sudden loss of power or voltage fluctuations.
In that case, the bootloader won't be able to initialize the switch and will load the firmware anyway. The kernel won't be able to reset the switch (sometimes even the wireless won't work), so the router will not be reachable by the outside world.
It can be usually diagnosed as the router will operate as a 5-port switch (WAN port included), no WLAN, and absolutely no way to reach the IP address of the router.
Failure mode (or the ASUS Firmware Recovery) won't work. The bootloader will also ignore the reset button.
The only way to debrick the router requires a (3.3V !) serial cable, resetting the NVRAM parameters by hand (if you're lucky and have a 2.4 kernel avaliable, “nvram erase” might do the job).
The ASUS firmware contains an (undocumented?) way to recover from this state: keep the reset button pressed for 30 seconds once the system has completed the boot process and it will reset the NVRAM to its default values.
This page has been assebled from a number of different pages from the oldwiki. See them for more (possibily outdated) informations.