User Tools

Site Tools


toh:asus:wl500gp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
toh:asus:wl500gp [2012/12/14 14:17]
toh:asus:wl500gp [2016/02/04 19:10] (current)
tmomas dead link removed
Line 1: Line 1:
 +====== ASUS WL-500g Premium ======
  
 +The ASUS WL-500gP was a top of the line Linux based router. It featured plenty of RAM and Flash, USB 2.0 ports, and a fast CPU. It also featured a miniPCI slot that allowed to change the wireless card.
 +
 +Later it got updated by using a newer SoC which integrates most components, but retained most features of the first version except the replacable wireless, which also got integrated into the SoC.
 +
 +===== Supported Versions =====
 +^ Version/​Model ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
 +| v1 | - | Backfire 10.03 | wireless in miniPCI slot, replacable;​\\ antenna on the **left** (from the front view) |
 +| v2 | - | Backfire 10.03 | most features integrated in SoC;\\ antenna on the **right** (from the front view) |
 +
 +**Note:** The wireless in the v2 is a low power wireless PHY, which currently isn't really supported by b43, therefore 2.4 is still recommended for the v2.
 +
 +**Note:** As of r18801 in the 8.09 (kamikaze) branch, the wireless in v2 works fine even with the 2.6 kernel at least in the client mode - so if you do not need AP mode and need 2.6 kernel, v2 should be usable now. Other wireless modes were not tested.
 +
 +**Note:** As of Backfire 10.03.1-rc4,​ the wireless in v2 somehow works with the 2.6 kernel in AP mode.  WPA2-PSK and No Encryption modes were tested. ​ However, the recommendation to avoid 2.6 kernels still applies: wireless stops working now and then, needing b43/​b43legacy module(s) reload to recover.
 +
 +**Note:** As of **Attitude Adjustment 12.09-beta2 the v2 seems to work well**, including the wireless.
 +
 +**Note:** with the default factory firmware, it is possible to know what version you have by
 +  * going to http://​192.168.1.1/​Main_AdmStatus_Content.asp (Firmware upgrade needed if page is empty)
 +  * typing "cat /​proc/​cpuinfo"​ in the "​System Command:"​ text box
 +  * checking your "​system type"
 +    * BCM4704/​BCM4780 means V1
 +    * BCM5354 means V2
 +
 +===== Hardware Highlights =====
 +^ version ^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^
 +| v1 | Broadcom BCM4704@264Mhz | 32MiB | 8MiB | 4 x 1 | 2x 2.0 | Yes | No |
 +| v2 | Broadcom BCM5354@240Mhz | 32MiB | 8MiB | 4 x 1 | 2x 2.0 | Yes | No |
 +
 +===== Installation =====
 +
 +This section details what is required to install and upgrade OpenWrt. ​ First we link to software that you should download before you start reading the instructions on how to install.
 +
 +==== Choosing the right image ===
 +=== Backfire (10.03.1) ===
 +The WL-500gP is supported by two targets:
 +  *[[http://​downloads.openwrt.org/​backfire/​10.03/​brcm-2.4/​openwrt-brcm-2.4-squashfs.trx|brcm-2.4]]
 +    * Uses an older 2.4 kernel
 +    * Uses the binary only broadcom driver, which supports the wireless in the v2.
 +    * **Recommended for v2**
 +  *[[http://​downloads.openwrt.org/​backfire/​10.03/​brcm47xx/​openwrt-brcm47xx-squashfs.trx|brcm47xx]]
 +    * Uses a 2.6 kernel, it is faster and has more features
 +    * Uses the open source b43 wireless driver, which currently does not work with the wireless in the v2
 +    * **Recommended for v1**
 +    * Upgrade with [[http://​downloads.openwrt.org/​backfire/​10.03.1/​brcm47xx/​openwrt-brcm47xx-squashfs.trx|brcm47xx Backfire 10.03.1]] works seamlessy on V.1, with restored config from 10.03
 +=== Attitude adjustment (12.09) ===
 +  *[[http://​downloads.openwrt.org/​attitude_adjustment/​12.09/​brcm47xx/​generic/​|brcm47xx/​53xx]]
 +    * Uses the kernel 3.3.8
 +    * Faster than previous versions but it consumes more RAM memory, more features available
 +    * It can use either open source b43 wireless driver or wl broadcom binary driver.
 +=== Barrier Breaker (14.07) ===
 +  *[[http://​downloads.openwrt.org/​barrier_breaker/​14.07/​brcm47xx/​generic/​openwrt-brcm47xx-generic-squashfs.trx|brcm47xx trx image]]
 +    * Uses the kernel 3.10.49
 +    * Tested 2015-07-25 on v1 (basic tests), installation over latest factory firmware using tftp method decribed below.
 +
 +=== Chaos Calmer (15.05) ===
 +  *[[https://​downloads.openwrt.org/​chaos_calmer/​15.05/​brcm47xx/​generic/​openwrt-15.05-brcm47xx-generic-squashfs.trx | brcm47xx trx image]]
 +    * Uses the kernel 3.18.20
 +    * Tested 2015-09-15 on v1, installation via sysupgrade from 14.07 works.
 +    * Installed 2015-12-15 on v2 via tftp, contrary to above claims that wireless will not work, wireless seems to be working fine. I'll try and report back in a week or so if I have any problems.
 +    * Installed 2016-01-16 on v2 via tftp. 
 +      * <​del>​Everything seems to be working out of the box.</​del>​ There is probably problem with WiFi connection when high system load (scp of 500MB file in my case?). Problem si probably reported ​ [[https://​dev.openwrt.org/​ticket/​7552|here]]. ​
 +      * Wifi network configured through LuCI.
 +
 +==== OEM easy installation ====
 +Does not work yet. The TRX utility needs a rewrite (Sep. 1st 2007, confirmed by nbd on IRC).
 +
 +FIXME does this still apply? --- //​KanjiMonster 2010/04/11 13:13//
 +
 +TEST STILL FAILS on WL-500g Premium V2 with newest ASUS Firmware version 3.0.4.4 --- //porter 2011/04/28 00:18//
 +
 +TEST STILL FAILS on ASUS WL-500g Premium V1 with ASUS Firmware (not sure about the version) ​ --- //sup 2012/05/05 20:22//
 +
 +==== OEM installation using the TFTP method ====
 +
 +To install OpenWrt using TFTP or the ASUS firmware restoration tool you have to put the router in diag mode. 
 +
 +**Note:** In diag mode, the router takes the address stored in nvram, usually 192.168.1.1,​ but if you changed the router'​s IP address in its original firmware or in the previously installed OpenWrt, it will use that. Once the installation is complete, the router'​s IP address will always be 192.168.1.1. In the further sections 192.168.1.1 is assumed.
 +
 +To put the router in the diag mode, do this:
 +
 +  * Unplug the router'​s power cord.
 +  * Confirm your PC is configured to use a fixed IP in the 192.168.1.0/​24 range (do not use .1).
 +  * Connect the router'​s LAN1 port directly to your PC.
 +  * Push the black RESTORE button using a pen or such, and keep the button pushed down.
 +  * Plug the power on while keeping the RESTORE button pushed for few seconds.
 +  * When you see a slowly blinking power light, you are in diag mode.
 +  * Now the router should accept an image via TFTP or via the ASUS firmware restoration tool.
 +
 + It responds to ping, so you can confirm that it is in diag mode and ready for the tftp by using "ping 192.168.1.1"​.
 +
 +== TFTP ==
 +
 +It is possible to install OpenWrt using a TFTP client when the router is in diag mode.
 +
 +  * Execute the TFTP commands below:
 +    * Linux (or Mac OS X)
 + <​code>​
 +tftp 192.168.1.1 (replace it with its real ip address)
 +tftp> binary
 +tftp> trace
 +tftp> put openwrt-brcm-2.4-squashfs.trx</​code>​
 +    * Windows
 +    <​code>​tftp -i 192.168.1.1 PUT openwrt-brcm-2.4-squashfs.trx</​code>​
 +
 +  * After the TFTP upload is complete, wait at least six minutes. The firmware is first loaded into the RAM, and then flashed. This process takes a little time, and to ensure that the router is not bricked you should wait six minutes.
 +  * The router will reboot itself automatically after the upgrade is complete. Rebooting may take a while. It might be the case that the router does not reboot by itself; if this happens it should be safe to wait for the period mentioned and then to do a manual reboot (pull the power-cord).
 +  * You are done! You should be able to telnet to your router (IP address: 192.168.1.1 - even if you were using another one previously) and start configuring.
 +**NOTES:**
 +  * Windows 7 does not install its tftp client as default, you have to manually add it. Earlier version do include it in their default installations.
 +  * Netkit'​s tftp doesn'​t work quite often; use atftp.
 +  * After TFTP upload is complete, DON'T reboot (replug) too early! It might brick your router.
 +
 +== Automated Ping and TFTP Script ==
 +  * See: https://​gist.github.com/​3748339
 +  * Requires atftp
 +  <​code>​./​ping_atftp 192.168.1.1 openwrt-brcm-2.4-squashfs.trx</​code>​
 +
 +== ASUS firmware restoration tool (Windows only) ==
 +
 +If you are on Windows it is recommended to use the ASUS firmware restoration tool to install OpenWrt. The ASUS firmware restoration tool can be found on the CD. Make sure the router is in diag mode.
 +
 +  * Browse the .trx file (openwrt-brcm-2.4-squashfs.trx).
 +  * Press Upload. The router will reboot itself automatically after the upgrade is complete. Rebooting may take a while.
 +  * You are done! You should be able to telnet to your router (IP address: 192.168.1.1) and start configuring.
 +If the firmware restoration tool can't seem find your router even though you are certain that it is in diag mode, it may be because the restoration tool is not very smart about which network interface to use. Disable all network interfaces except for the correct (LAN) network interface and try again.
 +
 +===== Upgrading OpenWrt =====
 +
 +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.
 +
 +== LuCI Web Upgrade Process ==
 +
 +FIXME use correct URL
 +  *Browse to http://​192.168.1.1/​cgi-bin/​luci/​mini/​system/​upgrade/​ LuCI Upgrade URL
 +  *Upload TRX file to LuCI
 +  *Wait for reboot (be patient!)
 +
 +== Terminal Upgrade Process ==
 +
 +  *Login as root via SSH on 192.168.1.1
 +  *Use the following commands to upgrade.
 +
 +<​code>​
 +cd /tmp/
 +wget http://​downloads.openwrt.org/​latest/​brcm-2.4/​openwrt-brcm-2.4-squashfs.trx
 +sysupgrade /​tmp/​openwrt-brcm-2.4-squashfs.trx</​code>​
 +
 +If this does not work (reboot without change) try using mdt. Make sure "​linux"​ is the correct mtd target! (cat /proc/mtd). Tested with v1 models.
 +<​code>​
 +cd /tmp/
 +wget [link to image]
 +mtd -r write /​tmp/​[image].trx linux
 +</​code>​
 +
 +
 +
 +
 +
 +===== Hardware =====
 +==== Info ====
 +| **Version:​** | v1 | v2 |
 +| **[[wp>​Instruction set|Architecture]]:​** ​   | [[wp>​MIPS architecture|MIPS]] | [[wp>​MIPS architecture|MIPS]] |
 +| **Vendor:​** ​         | [[wp>​Broadcom]] | [[wp>​Broadcom]] |
 +| **[[doc:​techref:​Bootloader]]:​** ​    | [[doc:​techref:​bootloader:​CFE]] | [[doc:​techref:​bootloader:​CFE]] |
 +| **[[doc:​hardware:​soc|System-On-Chip]]:​** ​ | Broadcom BCM4704 | Broadcom BCM5354 |
 +| **[[doc:​hardware:​cpu|CPU]]/​Speed** ​ | BMIPS3300 V0.6 / 264 MHz | BCM3302 V2.9 / 240 MHz |
 +| **Flash-Chip:​** | EON EN29LV302B-70TCP\\ Spansion S29GL064A90TFIR7 | Macronix MX29LV640EBTI-70G |
 +| **Flash size:** | 8 MiB | 8 MiB |
 +| **RAM-Chips:​** | HY5DU281622FTP-5 / DDR-400 | W9425G6JH-5 / DDR-400 |
 +| **RAM size:** | 32* MiB | 32 MiB |
 +| **Wireless:​** | Broadcom BCM4318 802.11b/g (miniPCI) | Broadcom BCM43xx 802.11b/g (integrated) |
 +| **Ethernet:​** | Robo switch {{:​media:​datasheets:​bcm5325_pinout.png?​linkonly|BCM5325E}} | Switch in CPU |
 +| **USB:** | 2x 2.0 [[http://​www.via.com.tw/​en/​products/​peripherals/​usb/​vt6212l/​|Via VT6212L]]| 2x 2.0 |
 +| **Power adapter** | 5V DC 2.5 A / UMEC UP0181B-05PE | 5V DC 2.5 A / UMEC UP0181B-05PE |
 +| **[[doc:​hardware:​port.serial|Serial]]:​** | [[#​Serial|Yes]] | [[#​Serial|Yes]] | 
 +| **[[doc:​hardware:​port.jtag|JTAG]]:​** | No | Yes (pinout same as wrt54G) |
 +
 +* some older models have only 16 MiB enabled.
 +
 +==== Photos ====
 +
 +[[:​oldwiki:​openwrtdocs:​hardware:​asus/​wl500gp/​img_0007|{{oldwiki:​openwrtdocs:​hardware:​asus:​wl500gp:​img_0007.jpg?​320}}]]\\ ​ With a Atheros Wistron CM9\\  MiniPCI WiFi card
 +
 +[[:​oldwiki:​openwrtdocs:​hardware:​asus/​wl500gp/​img_3505|{{oldwiki:​openwrtdocs:​hardware:​asus:​wl500gp:​img_3505.jpg?​320}}]]\\ ​ With a Gigabyte GN-WIAG02 (168c:​0013)\\ 802.11abg MiniPCI WiFi card (Atheros AR5212) and 2nd antenna
 +
 +==== Opening the case ====
 +
 +**Note:** This will void your warranty!
 +
 +Remove the 4 nubs under the case, now you can see some screws. Unscrew them. You're done. When you're finished you can put the rubbers back into the gadgets. They'​ll stick alone.
 +
 +==== Serial ====
 +=== V1 ===
 +
 +Serial is located on pin soldering points (ready for soldering of 8-pin connector for use with detachable cable) on the centre of the right upper side (viewing from front panel) under ventilation holes. At right from these points, you can see printed pin descriptions (V1):
 +| RESET |  | 
 +| GND | 3.3V_OUT | 
 +| UART_TX1 | UART_TX0 | 
 +| UART_RX1 | UART_RX0 | 
 +Pin 1 (with the square solder pad) is RX0.
 +
 +{{media:​asus:​wl500gpv1_serial.jpg?​500x250|}}
 +=== V2 ===
 +For (V2) tts/0 is on the J4 connector:
 +| 3.3V_OUT |
 +| UART_RX0 |
 +| UART_TX0 |
 +| GND |
 +3.3V_OUT is next to the label J4 for the connector which is the closest pin to the word ASUS printed on the board. ​ Transmit (UART_TX0) was confirmed with an oscilloscope. ​ Transmit was also connected to Receive (UART_RX0) and data was read back to ensure it was actual the receive pin.  Data can be written to tts/1, but the pins have not been identified.
 +
 +These serial ports use CMOS levels. You need an additional voltage converter to get a standard serial port. The parameters are 115200 baud and 8-n-1.
 +
 +While connect serial to V2, the VCC pin is not needed. TX from serial converter to the UART_RX0 pin, RX from serial converter to the UART_TX0 pin. Here's the boot log while running
 + /​backfire/​10.03.1/​brcm47xx/​openwrt-brcm47xx-squashfs.trx
 +
 +
 +==== Buttons ====
 +The ASUS WL-500g Premium has two buttons. They are RESTORE and EZSETUP. The buttons can be used with hotplug events. E. g. [#​wifitoggle WiFi toggle].
 +^ BUTTON ^ Event ^
 +| RESTORE | reset | 
 +| EZSETUP | ses | 
 +
 +**Note:** In Chaos Calmer 15.05 EZSETUP button triggers the "​wps"​ hotplug event.
 +
 +ACTION: released or pressed
 +
 +
 +===== Replacing the Wireless miniPCI Card =====
 +
 +**Note:** This applies to v1 models only!
 +
 +The standard wireless LAN controller is the BCM4318 on a MiniPCI card. Some people have replaced this with an Atheros MiniPCI card. The advantage is that the Atheros card has an open source driver and is supported by the 2.6 kernel version of OpenWrt. Atheros-based wireless cards that have been known to work include the Wistron CM9 (though some people say that signal quality is poor), and various Tp-Link cards such as the TL-WN560G (signal quality reported to be the same as with the original Broadcom controller).
 +
 +In order to replace the Broadcom controller with an Atheros one, open the case (instructions above), carefully disconnect the antenna cable from the card, press out the two latches on the sides, and pull the card out of the socket. In some cases the card is glued to a supporting sponge on the main board, so you might have to apply a certain measure of force to get it out. Re-assemble the case, and install packages kmod-madwifi and hostapd-mini to get the new wireless controller to work. Change your /​etc/​config/​wireless to include the following:
 +
 +| ''​config '​wifi-device'​ '​wifi0'​
 +        option '​type'​ '​atheros'​
 +
 +config '​wifi-iface'​
 +        option '​device'​ '​wifi0'''​ |
 +
 +Go [[http://​sr.uz/​index.php?​p=223&​more=1&​c=1&​tb=1&​pb=1|here]] for more info and an example configuration.
 +
 +After installation of kmod-madwifi package you can automatically generate a standard /​etc/​config/​wireless file for Atheros:
 +
 +<​code>​
 +opkg update
 +opkg install kmod-madwifi wpad-mini
 +rm -f /​etc/​config/​wireless
 +wifi detect > /​etc/​config/​wireless
 +</​code>​
 +
 +
 +===== Specific Configuration =====
 +==== Interfaces ====
 +The default network configuration is:
 +^ Interface Name ^ Description ^ Default configuration ^
 +| br-lan | LAN & WiFi | 192.168.1.1/​24 | 
 +| vlan0 | LAN ports (1 to 4) |  | 
 +| vlan1 | WAN port | DHCP | 
 +| wl0/ath0 | WiFi | Disabled by default | 
 +
 +
 +LAN and WiFi is bridged to br-lan. WiFi is disabled by default for security reasons (to prevent an open access point).
 +
 +=== Note about wireless modes ===
 +
 +== client mode: attitude_adjustment 12.09 (final) ==
 +Further investigation shown that the wireless is able to provide an AP
 +if connected to whatever interface defined in ''/​etc/​config/​network'',​
 +while for '​sta'​ mode (a wifi client) it is possible to obtain it only if
 +the interface connected to the wireless configuration is __not using the ''​bridge''​ option nor having a relation to a switch with more than one port__ (for example if with eth0 we define a switch over multiple ports) ​ Note: //would be better to check this statement more thoroughly//​.
 +
 +For example this works as wifi client:
 +<​file>​
 +#/​etc/​config/​wireless
 +config wifi-device ​ radio0
 +        option type     ​mac80211
 +        option macaddr ​ 48:​5b:​39:​e7:​e6:​81
 +        option hwmode ​  11g
 +        option disabled 0
 +        option channel ​ 9
 +        option txpower ​ 13
 +        option country ​ DE
 +
 +config wifi-iface
 +        option device ​          '​radio0'​
 +        option mode             '​sta'​
 +        option ssid             '​wifi ssid'
 +        option network ​         wlan_br
 +        option encryption ​      '​psk2'​
 +        option key              'wifi pwd'
 +        ​
 +#/​etc/​config/​network
 +....
 +#### LAN configuration
 +config interface lan
 +        option type     ​bridge
 +        option ifname ​  "​eth0.0"​
 +        option proto    static
 +        option ipaddr ​  ​192.168.12.1
 +        option netmask ​ 255.255.255.0
 +
 +config interface lan_alias1
 +        option ifname ​  "​br-wan"​
 +        option proto    "​dhcp"​
 +
 +config interface wlan_br
 +        option proto dhcp
 +
 +#### WAN configuration
 +config interface ​       wan
 +        option ifname ​  "​eth0.1"​
 +        option proto    dhcp
 +</​file>​
 +===== Switch Ports (for VLANs) =====
 +Please note that the link between the physical ports and switch ports is different for v1 and v2 routers (see table below). ​
 +
 +^ Port ^ Switch port (v1) ^ Switch port (v2) ^
 +| Internet (WAN) | 0 | 4 | 
 +| LAN 1 | 1 | 3 | 
 +| LAN 2 | 2 | 2 | 
 +| LAN 3 | 3 | 1 | 
 +| LAN 4 | 4 | 0 | 
 +| Internal connection | 5 | 5 | 
 +
 +5 is the internal connection to the router itself. Don't be fooled: Port 1 on the v2 unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on. For v1 unit, WAN is switch port 0. LAN ports are switch ports 1,​2,​3,​4. ​ And LAN ports map exactly to switch ports.
 +
 +==== Example configuration,​ every port "​autonomous"​ ====
 +<​file>​
 +config '​switch'​ '​eth0'​
 + option '​enable'​ '​1'​
 +
 +
 +config '​switch_vlan'​ '​eth0_0'​
 + option '​device'​ '​eth0'​
 + option '​vlan'​ '​0'​
 + option '​ports'​ '4 5' #wan
 +
 +config '​switch_vlan'​ '​eth0_1'​
 + option '​device'​ '​eth0'​
 + option '​vlan'​ '​1'​
 + option '​ports'​ '3 5' #lan 1
 +
 +config '​switch_vlan'​ '​eth0_2'​
 + option '​device'​ '​eth0'​
 + option '​vlan'​ '​2'​
 + option '​ports'​ '2 5' #lan2
 +
 +config '​switch_vlan'​ '​eth0_3'​
 + option '​device'​ '​eth0'​
 + option '​vlan'​ '​3'​
 + option '​ports'​ '1 5' #lan3
 +
 +config '​switch_vlan'​ '​eth0_4'​
 + option '​device'​ '​eth0'​
 + option '​vlan'​ '​4'​
 + option '​ports'​ '0 5' #lan4
 +</​file>​
 +
 +===== Failsafe mode =====
 +
 +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 [[doc:​howto:​generic.failsafe|failsafe mode]].
 +
 +==== Boot into failsafe mode ====
 +  * Unplug the router'​s power cord.
 +  * Connect the router'​s LAN1 port directly to your PC.
 +  * Configure your PC with a static IP address between 192.168.1.2 and 192.168.1.254. E. g. 192.168.1.2 (gateway and DNS is not required).
 +  * Plug the power on and wait for the power LED to switch off
 +  * While the power LED is off press any button (RESTORE and EZSETUP will work) a few times
 +  * Power LED goes fast-blinking (about 1 time per second)
 +  * You should be able to telnet to the router at 192.168.1.1 now (no username and password)
 +
 +
 +===== Enabling all RAM =====
 +Note:
 +  * This applies only to earlier WL-500gP v1 models.
 +
 +On newer ASUS WL-500g Premium router'​s all RAM is enabled by default. If you look at "dmesg | grep Memory"​ command'​s output, you will probably see that there'​s only 16MiB of RAM. Specs says there should be 32MiB. To enable 32MiB change the sdram_init and sdram_ncdl NVRAM variables as showed:
 +
 +<​code>​
 +nvram set sdram_init=0x0009
 +nvram set sdram_ncdl=0x10308
 +nvram commit
 +reboot
 +</​code>​
 +Note:
 +  * this is not needed in 10.03.1 with V1 (BCM4704) - maybe it is needed only for BCM4780? ​ --- //sup 2012/05/05 21:02//
 +  * using a "​attitude_adjustment"​ (beta or trunk) brcm47xx image it looks required. Otherwise you may get a memory dump while executing opkg install ... (just a "​Killed"​). -- ''​validom 2012/​11/​14''​
 +
 +
 +===== Basic configuration =====
 +Since this part is identical for all devices, see [[doc:​howto:​basic.config|Basic configuration]].
 +
 +===== Connect stuff to the USB port =====
 +To connect stuff to the USB port, please see [[doc:​howto:​usb.overview|Connect stuff to the USB port]], the package **kmod-usb2** is needed. For some devices the package kmod-usb-uhci-iv might also be needed.
 +
 +Note:
 +  * To enable the VIA USB 2.0 chip (high-speed) on BB 14.07 you must install the **kmod-usb2-pci** package.
 +
 +==== An experience: pivot overlay ====
 +Action did to let the system see a 4GB usb stick, plus [[doc:​howto:​extroot|pivot overlay]].
 +<​code>​
 +#on openwrt 12.09 final
 +opkg update #fresh list of available packages
 +#from http://​wiki.openwrt.org/​doc/​howto/​usb.storage
 +opkg install kmod-usb-storage
 +opkg install kmod-fs-ext4 #for ext4
 +opkg install e2fsprogs # ext2, ext3
 +opkg install kmod-usb-storage-extras
 +opkg install block-mount
 +opkg install kmod-scsi-generic
 +opkg install fdisk
 +
 +fdisk -l 
 +  #to check if the usb storage is seen
 +  #won't work because some packages are missing
 +
 +opkg install kmod-usb2 ​
 +  #now we will see the external storage
 +
 +fdisk -l 
 +  #to locate the usb disk dev point, in my case /dev/sda1
 +
 +dd if=/​dev/​zero of=/dev/sda bs=1M count=10
 +  #to clear any partition table on the usb stick
 +
 +fdisk /dev/sda << PARTITION
 +n
 +p
 +
 +
 ++1G
 +n
 +p
 +
 +
 ++512M
 +n
 +p
 +
 +
 +
 +w
 +PARTITION
 +  #n new
 +  #p primary
 +  #empty line - partition number
 +  #empty line - first sector
 +  #+1G size
 +  #w write partition table
 +
 +fdisk -l
 +  #output like this:
 +  #Disk /dev/sda: 4051 MB, 4051697664 bytes
 +  #[...]
 +  #
 +  #   ​Device Boot      Start         ​End ​     Blocks ​  ​Id ​ System
 +  #/​dev/​sda1 ​           2048     ​2099199 ​    ​1048576 ​  ​83 ​ Linux
 +  #/​dev/​sda2 ​        ​2099200 ​    ​3147775 ​     524288 ​  ​83 ​ Linux
 +  #/​dev/​sda3 ​        ​3147776 ​    ​7913471 ​    ​2382848 ​  ​83 ​ Linux
 +
 +mkdir -p /​mnt/​sda1-overlay
 +  #won't be used afterwards, just as reminder
 +mkdir -p /​mnt/​sda2-swap
 +  #won't be used afterwards, just as reminder
 +mkdir -p /​mnt/​sda3-data
 +
 +mkswap /dev/sda2
 +
 +# http://​wiki.openwrt.org/​doc/​howto/​storage
 +opkg install e2fsprogs
 +mkfs.ext2 /dev/sda1
 +mkfs.ext2 /dev/sda3
 +
 +#now pivot overlay
 +#​http://​wiki.openwrt.org/​doc/​howto/​extroot
 +mount /dev/sda1 /​mnt/​sda1-overlay/​
 +mount /dev/sda3 /​mnt/​sda3-data/​
 +
 +mount
 +  #to check
 +
 +#​http://​wiki.openwrt.org/​doc/​uci/​fstab
 +cat - << FSTAB > /​etc/​config/​fstab
 +config global automount
 +        option from_fstab 1
 +        option anon_mount 0
 +
 +config global autoswap
 +        option from_fstab 1
 +        option anon_swap 0
 +
 +config mount
 +        option target ​  /​overlay
 +        option device ​  /​dev/​sda1
 +        option enabled ​ 1
 +        option enabled_fsck 0
 +
 +config mount
 +        option target ​  /​mnt/​sda3-data
 +        option device ​  /​dev/​sda3
 +        option enabled ​ 1
 +        option enabled_fsck 0
 +
 +config swap
 +        option device ​  /​dev/​sda2
 +        option enabled ​ 1
 +FSTAB
 +
 +tar -C /overlay -cvf - . | tar -C /​mnt/​sda1-overlay/​ -xf -
 +  #copy the overlay
 +
 +/​etc/​init.d/​fstab enable
 +  #enable fstab at boot (warning, it takes a bit of time to boot)
 +
 +reboot
 +  #cross your fingers!
 +
 +#Problems
 +# Well i was lucky and i got no problems, if they appear, just
 +# report them here.
 +</​code>​
 +
 +
 +===== Hardware Mods =====
 +Most mods are possible for WL500GP v1 only, because WL500GP v2 uses different SoC and this SoC got most features (wi-fi radio, usb) integraded, making V2 much less interesting in terms of modding. On other hand V1 gives plenty room for hardware upgrades and modding.
 +
 +==== Overclock ====
 +<​html>​
 +<table class="​inline"​ style="​width:​70%;​ margin-left:​15%">​
 +  <tr>
 +    <td style="​border-left:​6px solid #cd0505; vertical-align:​middle">​
 +      <img src="/​_media/​meta/​icons/​tango/​48px-dialog-warning.svg.png"​ alt=""​ style="​float:​left;​ margin-right:​0.5em"​ />
 +      <​strong>​Warning!</​strong><​br />
 +      Entering wrong values can <​b>​BRICK</​b>​ your device, making it unbootable! <br />
 +      This instruction for WL500G Premium V1 (based on BRCM4704 SoC) <​b>​ONLY</​b>​. Check it twice! ​ <br />
 +    </td>
 +  </tr>
 +</​table>​
 +</​html>​
 +You can overclock WL500G Premium V1 from 264 to 300 MHz. In fact some routers based on BRCM4704 SoC are running on 300MHz by default, so BRCM 4704 SoC itself is designed to operate at this frequency. However, it is recommended to install heatsink to ensure system stability, because higher frequency means more heat. This will give you about 12% extra CPU horsepower with minimal efforts.
 +
 +You'll need nvram package (included in default images).\\
 +To set 300MHz CPU frequency, execute as root the following commands:
 +<​code>​
 +nvram set clkfreq=300,​150
 +nvram commit
 +reboot
 +</​code>​
 +
 +This tells boot loader to use 300MHz frequency instead.\\
 +Once your device has rebooted, you can check it runs with higher clocks:
 +<​code>​cat /​proc/​cpuinfo</​code>​
 +
 +Make sure it contains something like:\\
 +BogoMIPS : 298.01
 +
 +(original value close to 264)
 +
 +==== Wi-Fi radio replacement ====
 +In case of WL500G Premium V1 you can easily replace wi-fi radio with some better wireless card (which should be in MiniPCI form factor), thanks to MiniPCI slot. This way you can get 802.11n support, higher TX power, etc. For high-speed 802.11n cards you'll usually need to mod case, installing 1 or 2 extra RP-SMA plugs and antennas, usually with u.FL pigtail, because 300Mbps cards usually require 2 or 3 antennas. So you'll have to get some extra RP-SMA plugs with uFL pigtails. These pigtails are quite common in shops selling wireless equipment and only cost some few bucks. Installation depends on card and number of antennas. At very least, Atheros-based cards supported by ath9k driver are known to work with WL500G Premium V1. You may need to install extra kernel modules, because default image not supposes WL500GP boots with Atheros card. While 500GP CPU is weak and would not allow routing at full speed of 300Mbps card, wireless performance improvement over .g is noteworthy anyway.
 +
 +TODO: add pictures with example of such mod?
 +
 +==== Extra USB ports ====
 +<​html>​
 +<table class="​inline"​ style="​width:​70%;​ margin-left:​15%">​
 +  <tr>
 +    <td style="​border-left:​6px solid #cd0505; vertical-align:​middle">​
 +      <img src="/​_media/​meta/​icons/​tango/​48px-dialog-warning.svg.png"​ alt=""​ style="​float:​left;​ margin-right:​0.5em"​ />
 +      <​strong>​Warning!</​strong><​br />
 +      This mod requires advanced soldering skills and knowledge of electronics. Improper soldering can cause permanent damage to your device. ​
 +    </td>
 +  </tr>
 +</​table>​
 +</​html>​
 +{{page>​meta:​infobox:​construction&​noheader&​nofooter&​noeditbtn}}
 +VT6212 USB 2.0 Host Controller IC contains 4 USB 2.0 high-speed ports. In case of WL500G Premium V1, two ports are not soldered (and lack PCB traces). It is possible to get up to 2 extra USB ports, useful for internal devices like built-in HDD. Mod implies soldering D+ and D- lines of USB directly to apropriate VT6212 pins, which is somewhat tricky thanks to TQFP package, so it requires small soldering iron and decent soldering skills. You should also install resistors to adhere USB specs. Example of such mod can be found [[https://​forum.openwrt.org/​viewtopic.php?​id=26207|here on OpenWRT forum]]. Some [[http://​www.vslinux.net/​openwrt/​asushacks/​|photos]] are published.
 +
 +==== 128MiB mod ====
 +{{page>​meta:​infobox:​construction&​noheader&​nofooter&​noeditbtn}}
 +WL500GP comes with 2x16MiB SDRAM ICs, giving 32MiB in total. It is possible to find compatible SDRAM ICs up to 64MiB per IC, giving 128MiB total, 4 times more than it comes from factory. This would allow larger conntrack table or would allow running more programs. See [[https://​forum.openwrt.org/​viewtopic.php?​id=26207m|thread]] for more information.
 +
 +===== Bootlogs =====
 +
 +==== V1 Attitude Adjustment bootlog ====
 +<WRAP bootlog>
 +<​nowiki>​root@OpenWrt:/#​ dmesg 
 +[    0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Mar 23 16:01:31 UTC 2013
 +[    0.000000] CPU revision is: 00029006 (Broadcom BMIPS3300)
 +[    0.000000] bcm47xx: using ssb bus
 +[    0.000000] ssb: Found chip with id 0x4704, rev 0x09 and package 0x00
 +[    0.000000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x03, vendor 0x4243)
 +[    0.000000] ssb: Core 1 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
 +[    0.000000] ssb: Core 2 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
 +[    0.000000] ssb: Core 3 found: USB 1.1 Hostdev (cc 0x808, rev 0x03, vendor 0x4243)
 +[    0.000000] ssb: Core 4 found: PCI (cc 0x804, rev 0x08, vendor 0x4243)
 +[    0.000000] ssb: Core 5 found: MIPS 3302 (cc 0x816, rev 0x03, vendor 0x4243)
 +[    0.000000] ssb: Core 6 found: V90 (cc 0x807, rev 0x02, vendor 0x4243)
 +[    0.000000] ssb: Core 7 found: IPSEC (cc 0x80B, rev 0x00, vendor 0x4243)
 +[    0.000000] ssb: Core 8 found: MEMC SDRAM (cc 0x80F, rev 0x02, vendor 0x4243)
 +[    0.000000] ssb: chipcommon status is 0x0
 +[    0.000000] ssb: Initializing MIPS core...
 +[    0.000000] ssb: set_irq: core 0x0806, irq 4 => 4
 +[    0.000000] ssb: set_irq: core 0x0806, irq 5 => 5
 +[    0.000000] ssb: set_irq: core 0x0808, irq 6 => 2
 +[    0.000000] ssb: set_irq: core 0x0804, irq 2 => 6
 +[    0.000000] ssb: after irq reconfiguration
 +[    0.000000] ssb: core 0x0800, irq : 2(S)  3* 4  5  6  D  I 
 +[    0.000000] ssb: core 0x0806, irq : 2(S)  3  4* 5  6  D  I 
 +[    0.000000] ssb: core 0x0806, irq : 2(S)  3  4  5* 6  D  I 
 +[    0.000000] ssb: core 0x0808, irq : 2(S)* 3  4  5  6  D  I 
 +[    0.000000] ssb: core 0x0804, irq : 2(S)  3  4  5  6* D  I 
 +[    0.000000] ssb: core 0x0816, irq : 2(S)* 3  4  5  6  D  I 
 +[    0.000000] ssb: core 0x0807, irq : 2(S)* 3  4  5  6  D  I 
 +[    0.000000] ssb: core 0x080b, irq : 2(S)* 3  4  5  6  D  I 
 +[    0.000000] ssb: core 0x080f, irq : 2(S)  3  4  5  6  D  I*
 +[    0.000000] found parallel flash.
 +[    0.000000] Unsupported SPROM revision 0 detected. Will extract v1
 +[    0.000000] ssb: Sonics Silicon Backplane found at address 0x18000000
 +[    0.000000] Serial init done.
 +[    0.000000] gpiochip_add:​ registered GPIOs 0 to 15 on device: bcm47xx
 +[    0.000000] Determined physical RAM map:
 +[    0.000000] ​ memory: 02000000 @ 00000000 (usable)
 +[    0.000000] Initrd not found or empty - disabling initrd
 +[    0.000000] Zone PFN ranges:
 +[    0.000000] ​  ​Normal ​  ​0x00000000 -> 0x00002000
 +[    0.000000] Movable zone start PFN for each node
 +[    0.000000] Early memory PFN ranges
 +[    0.000000] ​    0: 0x00000000 -> 0x00002000
 +[    0.000000] On node 0 totalpages: 8192
 +[    0.000000] free_area_init_node:​ node 0, pgdat 802da6d0, node_mem_map 81000000
 +[    0.000000] ​  ​Normal zone: 64 pages used for memmap
 +[    0.000000] ​  ​Normal zone: 0 pages reserved
 +[    0.000000] ​  ​Normal zone: 8128 pages, LIFO batch:0
 +[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
 +[    0.000000] pcpu-alloc: [0] 0 
 +[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
 +[    0.000000] Kernel command line:  root=/​dev/​mtdblock2 rootfstype=squashfs,​jffs2 noinitrd console=ttyS0,​115200
 +[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
 +[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
 +[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
 +[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
 +[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
 +[    0.000000] Memory: 29100k/​32768k available (2540k kernel code, 3668k reserved, 379k data, 168k init, 0k highmem)
 +[    0.000000] NR_IRQS:128
 +[    0.000000] console [ttyS0] enabled
 +[    0.004000] Calibrating delay loop... 262.14 BogoMIPS (lpj=524288)
 +[    0.048000] pid_max: default: 32768 minimum: 301
 +[    0.052000] Mount-cache hash table entries: 512
 +[    0.060000] NET: Registered protocol family 16
 +[    0.096000] bio: create slab <​bio-0>​ at 0
 +[    0.108000] Switching to clocksource MIPS
 +[    0.124000] ssb: PCIcore in host mode found
 +[    0.432000] PCI host bridge to bus 0000:00
 +[    0.436000] pci_bus 0000:00: root bus resource [mem 0x40000000-0x7fffffff]
 +[    0.444000] pci_bus 0000:00: root bus resource [io  0x0100-0x07ff]
 +[    0.448000] pci 0000:​00:​00.0:​ [14e4:4704] type 0 class 0x000600
 +[    0.448000] PCI: Fixing up bridge 0000:​00:​00.0
 +[    0.452000] pci 0000:​00:​00.0:​ setting latency timer to 64
 +[    0.452000] PCI: Fixing up device 0000:​00:​00.0
 +[    0.456000] PCI: Fixing latency timer of device 0000:​00:​00.0 to 168
 +[    0.464000] pci 0000:​00:​00.0:​ reg 10: [mem 0x00000000-0x00001fff]
 +[    0.464000] pci 0000:​00:​00.0:​ reg 14: [mem 0x00000000-0x07ffffff pref]
 +[    0.464000] pci 0000:​00:​02.0:​ [14e4:4318] type 0 class 0x000280
 +[    0.464000] pci 0000:​00:​02.0:​ reg 10: [mem 0x00000000-0x00001fff]
 +[    0.464000] pci 0000:​00:​03.0:​ [1106:3038] type 0 class 0x000c03
 +[    0.464000] pci 0000:​00:​03.0:​ reg 20: [io  0xfce0-0xfcff]
 +[    0.464000] pci 0000:​00:​03.0:​ supports D1 D2
 +[    0.464000] pci 0000:​00:​03.0:​ PME# supported from D0 D1 D2 D3hot
 +[    0.464000] pci 0000:​00:​03.1:​ [1106:3038] type 0 class 0x000c03
 +[    0.464000] pci 0000:​00:​03.1:​ reg 20: [io  0xfce0-0xfcff]
 +[    0.464000] pci 0000:​00:​03.1:​ supports D1 D2
 +[    0.464000] pci 0000:​00:​03.1:​ PME# supported from D0 D1 D2 D3hot
 +[    0.464000] pci 0000:​00:​03.2:​ [1106:3104] type 0 class 0x000c03
 +[    0.468000] pci 0000:​00:​03.2:​ reg 10: [mem 0x00000000-0x000000ff]
 +[    0.468000] pci 0000:​00:​03.2:​ supports D1 D2
 +[    0.468000] pci 0000:​00:​03.2:​ PME# supported from D0 D1 D2 D3hot
 +[    0.472000] pci 0000:​00:​02.0:​ BAR 0: assigned [mem 0x40000000-0x40001fff]
 +[    0.480000] pci 0000:​00:​03.2:​ BAR 0: assigned [mem 0x40002000-0x400020ff]
 +[    0.488000] pci 0000:​00:​03.0:​ BAR 4: assigned [io  0x0400-0x041f]
 +[    0.492000] pci 0000:​00:​03.1:​ BAR 4: assigned [io  0x0420-0x043f]
 +[    0.504000] PCI: Enabling device 0000:​00:​02.0 (0000 -> 0002)
 +[    0.512000] PCI: Fixing up device 0000:​00:​02.0
 +[    0.516000] b43-pci-bridge 0000:​00:​02.0:​ setting latency timer to 64
 +[    0.536000] ssb: Found chip with id 0x4318, rev 0x02 and package 0x02
 +[    0.540000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243)
 +[    0.540000] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243)
 +[    0.540000] ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243)
 +[    0.540000] ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243)
 +[    0.560000] ssb: chipcommon status is 0x0
 +[    0.564000] ssb: SPROM offset is 0x1000
 +[    0.568000] ssb: SPROM revision 2 detected.
 +[    0.588000] ssb: Sonics Silicon Backplane found on PCI device 0000:​00:​02.0
 +[    0.600000] NET: Registered protocol family 2
 +[    0.604000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
 +[    0.612000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
 +[    0.620000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 +[    0.624000] TCP: Hash tables configured (established 1024 bind 1024)
 +[    0.632000] TCP reno registered
 +[    0.636000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 +[    0.640000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 +[    0.648000] NET: Registered protocol family 1
 +[    0.652000] PCI: CLS 0 bytes, default 16
 +[    0.664000] squashfs: version 4.0 (2009/​01/​31) Phillip Lougher
 +[    0.668000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 +[    0.680000] msgmni has been set to 56
 +[    0.684000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
 +[    0.692000] io scheduler noop registered
 +[    0.696000] io scheduler deadline registered (default)
 +[    0.704000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
 +[    0.732000] serial8250: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A
 +[    0.760000] serial8250: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A
 +[    0.804000] serial8250.0:​ ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A
 +[    0.832000] serial8250.0:​ ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A
 +[    0.844000] bcm47xx_pflash:​ flash init: 0x1c000000 0x02000000
 +[    0.852000] Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001301
 +[    0.860000] Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
 +[    0.864000] Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
 +[    0.864000] Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
 +[    0.864000] Amd/Fujitsu Extended Query Table at 0x0040
 +[    0.868000] ​  ​Amd/​Fujitsu Extended Query version 1.3.
 +[    0.872000] number of CFI chips: 1
 +[    0.876000] bcm47xx_pflash:​ Flash device: 0x2000000 at 0x1fc00000
 +[    0.884000] bcm47xx_part:​ bootloader size: 262144
 +[    0.892000] bcm47xx_part:​ Looking for dual image
 +[    0.900000] bcm47xx_part:​ TRX offset : 0
 +[    0.904000] 4 bcm47xx partitions found on MTD device Physically mapped flash
 +[    0.912000] Creating 4 MTD partitions on "​Physically mapped flash":​
 +[    0.920000] 0x000000000000-0x000000040000 : "​cfe"​
 +[    0.932000] 0x000000040000-0x0000007f0000 : "​linux"​
 +[    0.940000] 0x000000133c00-0x0000007f0000 : "​rootfs"​
 +[    0.944000] mtd: partition "​rootfs"​ must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
 +[    0.964000] mtd: partition "​rootfs"​ set to be root filesystem
 +[    0.968000] mtd: partition "​rootfs_data"​ created automatically,​ ofs=310000, len=4E0000 ​
 +[    0.976000] 0x000000310000-0x0000007f0000 : "​rootfs_data"​
 +[    0.988000] 0x0000007f0000-0x000000800000 : "​nvram"​
 +[    1.000000] bcm47xx_sflash:​ error registering platform driver: -19
 +[    1.008000] bcm47xx_nflash:​ error registering platform driver: -19
 +[    1.016000] b44: Broadcom 44xx/47xx 10/100 PCI ethernet driver version 2.0
 +[    1.028000] b44 ssb0:0: eth0: Broadcom 44xx/47xx 10/100 PCI ethernet driver 00:​1e:​8c:​02:​35:​7f
 +[    1.044000] b44 ssb0:1: eth1: PHY Reset would not complete
 +[    1.048000] b44 ssb0:1: eth1: Broadcom 44xx/47xx 10/100 PCI ethernet driver 40:​10:​18:​00:​00:​2d
 +[    1.060000] BCM47xx Watchdog Timer enabled (30 seconds, nowayout)
 +[    1.068000] TCP cubic registered
 +[    1.072000] NET: Registered protocol family 17
 +[    1.076000] Bridge firewalling registered
 +[    1.080000] 8021q: 802.1Q VLAN Support v1.8
 +[    1.096000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
 +[    1.104000] Freeing unused kernel memory: 168k freed
 +[    4.320000] diag: Detected 'ASUS WL-500g Premium'​
 +[    4.376000] b44 ssb0:0: eth0: Link is up at 100 Mbps, full duplex
 +[    4.384000] b44 ssb0:0: eth0: Flow control is off for TX and off for RX
 +[    5.520000] roboswitch: Probing device eth0: found a 5325! It's a 5350.
 +[   ​12.808000] JFFS2 notice: (351) jffs2_build_xattr_subsystem:​ complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 6 of xref (0 dead, 2 orphan) found.
 +[   ​13.204000] b44 ssb0:0: eth0: powering down PHY
 +[   ​17.316000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
 +[   ​17.324000] Backport based on wireless-testing.git master-2012-09-07
 +[   ​17.332000] compat.git: wireless-testing.git
 +[   ​17.392000] cfg80211: Calling CRDA to update world regulatory domain
 +[   ​17.396000] cfg80211: World regulatory domain updated:
 +[   ​17.404000] cfg80211: ​  ​(start_freq - end_freq @ bandwidth), (max_antenna_gain,​ max_eirp)
 +[   ​17.412000] cfg80211: ​  ​(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +[   ​17.420000] cfg80211: ​  ​(2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
 +[   ​17.428000] cfg80211: ​  ​(2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
 +[   ​17.436000] cfg80211: ​  ​(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +[   ​17.444000] cfg80211: ​  ​(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +[   ​18.304000] b43-phy0: Broadcom 4318 WLAN found (core revision 9)
 +[   ​18.352000] b43-phy0: Found PHY: Analog 3, Type 2 (G), Revision 7
 +[   ​18.380000] Broadcom 43xx driver loaded [ Features: PNL ]
 +[   ​18.460000] Broadcom 43xx-legacy driver loaded [ Features: PLID ]
 +[   ​18.888000] PPP generic driver version 2.4.2
 +[   ​19.388000] ieee80211 phy0: Selected rate control algorithm '​minstrel_ht'​
 +[   ​19.392000] Registered led device: b43-phy0::​tx
 +[   ​19.392000] Registered led device: b43-phy0::​rx
 +[   ​19.392000] Registered led device: b43-phy0::​assoc
 +[   ​19.392000] Registered led device: b43-phy0::​radio
 +[   ​19.420000] ip_tables: (C) 2000-2006 Netfilter Core Team
 +[   ​19.696000] NET: Registered protocol family 24
 +[   ​19.740000] nf_conntrack version 0.5.0 (457 buckets, 1828 max)
 +[   ​23.816000] b44 ssb0:0: eth0: Link is up at 100 Mbps, full duplex
 +[   ​23.820000] b44 ssb0:0: eth0: Flow control is off for TX and off for RX
 +[   ​27.124000] b44 ssb0:0: eth0: powering down PHY
 +[   ​27.148000] b44 ssb0:0: eth0: Link is up at 100 Mbps, full duplex
 +[   ​27.152000] b44 ssb0:0: eth0: Flow control is off for TX and off for RX
 +[   ​27.184000] device eth0.0 entered promiscuous mode
 +[   ​27.188000] device eth0 entered promiscuous mode
 +[   ​27.200000] br-lan: port 1(eth0.0) entered forwarding state
 +[   ​27.204000] br-lan: port 1(eth0.0) entered forwarding state
 +[   ​29.208000] br-lan: port 1(eth0.0) entered forwarding state</​nowiki>​
 +</​WRAP>​\\
 +
 +==== V2 Backfire bootlog ====
 +<WRAP bootlog>
 +<​nowiki>​Decompressing..........done
 +
 +
 +CFE version 1.0.37 for BCM947XX (32bit,​SP,​LE)
 +Build Date: Mon Apr 16 14:41:05 CST 2007 (root@localhost.localdomain)
 +Copyright (C) 2000,​2001,​2002,​2003 Broadcom Corporation.
 +
 +Initializing Arena
 +Initializing Devices.
 +Boot partition size = 131072(0x20000)
 +et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.130.23.0
 +CPU type 0x29029: 240MHz
 +Total memory: 32768 KBytes
 +
 +Total memory used by CFE:  0x80400000 - 0x8049A790 (632720)
 +Initialized Data:          0x80430720 - 0x80432D10 (9712)
 +BSS Area:                  0x80432D10 - 0x80434790 (6784)
 +Local Heap:                0x80434790 - 0x80498790 (409600)
 +Stack Area:                0x80498790 - 0x8049A790 (8192)
 +Text (code) segment: ​      ​0x80400000 - 0x80430720 (198432)
 +Boot area (physical): ​     0x0049B000 - 0x004DB000
 +Relocation Factor: ​        ​I:​00000000 - D:00000000
 +
 +Device eth0:  hwaddr 00-1F-XX-XX-XX-XX,​ ipaddr 192.168.1.1,​ mask 255.255.255.0
 +        gateway not set, nameserver not set
 +Null Rescue Flag.
 +Loader:raw Filesys:​tftp Dev:eth0 File:: Options:​(null)
 +Loading: TFTP Server.
 +Failed.
 +Could not load :: Timeout occured
 +Loader:raw Filesys:raw Dev:​flash0.os File: Options:​(null)
 +Loading: .. 4092 bytes read
 +Entry at 0x80001000
 +Closing network.
 +Starting program at 0x80001000
 +Linux version 2.6.32.27 (jow@nd-build-02.linux-appliance.net) (gcc version 4.3.3 (GCC) ) #5 Wed Dec 21 05:56:26 CET 2011
 +CPU revision is: 00029029 (Broadcom BCM3302)
 +ssb: chipcommon status is 0x0
 +ssb: Initializing MIPS core...
 +ssb: set_irq: core 0x0806, irq 4 => 4
 +ssb: set_irq: core 0x0816, irq 5 => 2
 +ssb: set_irq: core 0x0812, irq 2 => 5
 +ssb: after irq reconfiguration
 +ssb: core 0x0800, irq : 2(S)  3* 4  5  6  D  I
 +ssb: core 0x0806, irq : 2(S)  3  4* 5  6  D  I
 +ssb: core 0x0816, irq : 2(S)* 3  4  5  6  D  I
 +ssb: core 0x0819, irq : 2(S)  3  4  5  6* D  I
 +ssb: core 0x080f, irq : 2(S)  3  4  5  6  D  I*
 +ssb: core 0x0812, irq : 2(S)  3  4  5* 6  D  I
 +ssb: core 0x081c, irq : 2(S)  3  4  5  6  D  I*
 +ssb: Sonics Silicon Backplane found at address 0x18000000
 +Serial init done.
 +Determined physical RAM map:
 + ​memory:​ 02000000 @ 00000000 (usable)
 +Initrd not found or empty - disabling initrd
 +Zone PFN ranges:
 +  Normal ​  ​0x00000000 -> 0x00002000
 +Movable zone start PFN for each node
 +early_node_map[1] active PFN ranges
 +    0: 0x00000000 -> 0x00002000
 +Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
 +Kernel command line: root=/​dev/​mtdblock2 rootfstype=squashfs,​jffs2 noinitrd console=ttyS0,​115200
 +PID hash table entries: 128 (order: -3, 512 bytes)
 +Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
 +Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
 +Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
 +Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
 +Memory: 29496k/​32768k available (2332k kernel code, 3272k reserved, 355k data, 136k init, 0k highmem)
 +Hierarchical RCU implementation.
 +NR_IRQS:128
 +console [ttyS0] enabled
 +Calibrating delay loop... 239.61 BogoMIPS (lpj=479232)
 +Mount-cache hash table entries: 512
 +NET: Registered protocol family 16
 +bio: create slab <​bio-0>​ at 0
 +Switching to clocksource MIPS
 +NET: Registered protocol family 2
 +IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
 +TCP established hash table entries: 1024 (order: 1, 8192 bytes)
 +TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 +TCP: Hash tables configured (established 1024 bind 1024)
 +TCP reno registered
 +NET: Registered protocol family 1
 +squashfs: version 4.0 (2009/​01/​31) Phillip Lougher
 +Registering mini_fo version $Id$
 +JFFS2 version 2.2. (NAND) (SUMMARY) ​ ?? 2001-2006 Red Hat, Inc.
 +msgmni has been set to 57
 +io scheduler noop registered
 +io scheduler deadline registered (default)
 +Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
 +serial8250: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A
 +serial8250: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A
 +serial8250.0:​ ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A
 +serial8250.0:​ ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A
 +flash init: 0x1c000000 0x02000000
 +Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
 + CFI mfr 0x000000c2
 + CFI id  0x000022cb
 + ​Amd/​Fujitsu Extended Query Table at 0x0040
 +  Amd/Fujitsu Extended Query version 1.1.
 +number of CFI chips: 1
 +cfi_cmdset_0002:​ Disabling erase-suspend-program due to code brokenness.
 +Flash device: 0x800000 at 0x1fc00000
 +bootloader size: 131072
 +Creating 4 MTD partitions on "​Physically mapped flash":​
 +0x000000000000-0x000000020000 : "​cfe"​
 +0x000000020000-0x0000007f0000 : "​linux"​
 +0x0000000fb000-0x0000007f0000 : "​rootfs"​
 +mtd: partition "​rootfs"​ must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
 +mtd: partition "​rootfs"​ set to be root filesystem
 +mtd: partition "​rootfs_data"​ created automatically,​ ofs=2E0000, len=510000
 +0x0000002e0000-0x0000007f0000 : "​rootfs_data"​
 +0x0000007f0000-0x000000800000 : "​nvram"​
 +b44.c:v2.0
 +eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:​1f:​xx:​xx:​xx:​xx
 +BCM47xx Watchdog Timer enabled (30 seconds, nowayout)
 +TCP westwood registered
 +NET: Registered protocol family 17
 +802.1Q VLAN Support v1.8 Ben Greear <​@candelatech.com>​
 +All bugs added by David S. Miller <​@redhat.com>​
 +VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
 +Freeing unused kernel memory: 136k freed
 +Please be patient, while OpenWrt loads ...
 +diag: Detected 'ASUS WL-500g Premium V2'
 +b44: eth0: Link is up at 100 Mbps, full duplex.
 +b44: eth0: Flow control is off for TX and off for RX.
 +roboswitch: Probing device eth0: found a 5325! It's a 5350.
 +- preinit -
 +Press the [f] key and hit [enter] to enter failsafe mode
 +- regular preinit -
 +switching to jffs2
 +mini_fo: using base directory: /
 +mini_fo: using storage directory: /overlay
 +- init -
 +b44: eth0: powering down PHY
 +
 +Please press Enter to activate this console. b44: eth0: Link is up at 100 Mbps, full duplex.
 +b44: eth0: Flow control is off for TX and off for RX.
 +device eth0.0 entered promiscuous mode
 +device eth0 entered promiscuous mode
 +br-lan: port 1(eth0.0) entering forwarding state
 +Compat-wireless backport release: compat-wireless-2011-11-08-1-g4ab9b62
 +Backport based on wireless-testing.git master-2011-11-15
 +cfg80211: Calling CRDA to update world regulatory domain
 +PPP generic driver version 2.4.2
 +NET: Registered protocol family 24
 +b43-phy0: Broadcom 5354 WLAN found (core revision 13)
 +Registered led device: b43-phy0::​tx
 +Registered led device: b43-phy0::​rx
 +Broadcom 43xx driver loaded [ Features: PL ]
 +Broadcom 43xx-legacy driver loaded [ Features: PLID ]
 +ip_tables: (C) 2000-2006 Netfilter Core Team
 +nf_conntrack version 0.5.0 (463 buckets, 1852 max)
 +CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
 +nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
 +sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
 +cfg80211: World regulatory domain updated:
 +cfg80211: ​    ​(start_freq - end_freq @ bandwidth), (max_antenna_gain,​ max_eirp)
 +cfg80211: ​    ​(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +cfg80211: ​    ​(2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
 +cfg80211: ​    ​(2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
 +cfg80211: ​    ​(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +cfg80211: ​    ​(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +xt_time: kernel timezone is -0000</​nowiki>​
 +</​WRAP>​\\
 +
 +
 +===== External Links =====
 +==== Tutorials ====
 +  * [[http://​wl500g.info/​showthread.php?​t=12962|RAM Upgrade]]
 +  * [[http://​www.marcusbrutus.soho.on.net/​blog/?​p=67|Adding a Bluetooth PAN]] by Marcus Brown
 +  * [[http://​aurora-ndut.com|http://​aurora-ndut.com]] by Josephone ​
 +  * [[http://​sr.uz/​index.php?​p=223&​more=1&​c=1&​tb=1&​pb=1|Example configuration for the Atheros MiniPCI card on wl-500gP (translated from Russian)]] ​ and [[http://​sr.uz/​index.php?​p=220&​more=1&​c=1&​tb=1&​pb=1|The original Russian text]]
 +  * [[http://​josefsson.org/​openwrt/​wlan.html|Setting up WDS/PSK2 on two Asus WL-500gP]] by Simon Josefsson
 +  * [[http://​josefsson.org/​openwrt/​dongle.html|Using Huawei E220 with Asus WL-500gP]] by Simon Josefsson
 +
 +==== Product Info Pages ====
 +  * FCC ID: MSQWL500GP [[https://​gullfoss2.fcc.gov/​prod/​oet/​forms/​blobs/​retrieve.cgi?​attachment_id=640814&​native_or_pdf=pdf|FCC pictures]]
 +  * [[http://​www.xbitlabs.com/​articles/​other/​display/​asus-wl500g-premium.html|Review of the 500gP (pictures starting on page 3)]]
 +  * [[doc:​hardware:​cryptographic.hardware.accelerators|Cryptographic Hardware Accelerators]]
 +  * official ASUS website: [[http://​usa.asus.com/​Networks/​Wireless_Routers/​WL500g_Premium/​|v1]],​ [[http://​usa.asus.com/​Networks/​Wireless_Routers/​WL500gP_V2/​|v2]]
 +  * [[http://​www.broadcom.com/​products/​Wireless-LAN/​802.11-Wireless-LAN-Solutions/​BCM94704|Broadcom BCM94704 Reference SoC]]
 +  * [[http://​www.broadcom.com/​products/​BCM5325|Broadcom BCM5325 Ethernet Switch]]
 +  * [[http://​www.spansion.com/​products/​S29GL064M.html|Spansion S29GL064M90 Flash Memory Module]]
 +  * [[http://​www.hynix.com/​datasheet/​pdf/​dram/​HY5DU284(8,​16)22ETP(Rev0.3).pdf|Hynix HY5DU281622ETP-K SDRAM Datasheet]]
 +  * [[http://​www.via.com.tw/​en/​products/​peripherals/​usb/​vt6212l/​|VIA Vectro VT6212L USB 2.0 Host Controller]]
 +  * [[http://​www.delta.com.tw/​product/​cp/​telecom/​networking/​download/​pdf/​LF8258_and_more.pdf|Delta Electronics LF8731 Ethernet PHY Datasheet]]
 +  * [[http://​www.delta.com.tw/​product/​cp/​telecom/​networking/​download/​pdf/​LF8275%208504%208505%208508.pdf|Delta Electronics LF8505 Ethernet PHY Datasheet]]
 +
 +==== Forum Threads ====
 +  * [[http://​wl500g.info/​forumdisplay.php?​f=61|Dedicated Forum]]
 +  * [[http://​forum.openwrt.org/​viewtopic.php?​id=6090|Problems with WLAN encryption]]
 +  * [[http://​forum.openwrt.org/​viewtopic.php?​id=6071|CPU Power]]
 +  * [[http://​forum.openwrt.org/​viewtopic.php?​id=5688|OpenWRT compatibility information]]
 +  * [[http://​forum.openwrt.org/​viewtopic.php?​id=6362|How-to configure WAN-interface]]
 +
 +===== Tags =====
 +{{tag>​bcm47xx bcm53xx bcm4704 bcm5354 FastEthernet 1NIC 1WNIC 5Port hwVLAN USB 2USB 802.11bg integrated MiniPCI 1Ant DetachableAntenna 32RAM 8Flash MIPS}}