Differences

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

toh:asus:wl500gp [2012/11/14 17:27]
toh:asus:wl500gp [2013/12/18 17:42] (current)
Line 15: Line 15:
**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 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 **Note:** with the default factory firmware, it is possible to know what version you have by
Line 23: Line 25:
    * BCM5354 means V2     * BCM5354 means V2
-====== Hardware Highlights ======+===== Hardware Highlights =====
^ version ^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^ ^ version ^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^
| v1 | Broadcom BCM4704@264Mhz | 32MiB | 8MiB | 4 x 1 | 2x 2.0 | Yes | No | | 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 | | v2 | Broadcom BCM5354@240Mhz | 32MiB | 8MiB | 4 x 1 | 2x 2.0 | Yes | No |
-====== Installation ======+===== 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. 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 ==+==== Choosing the right image === 
 +=== Backfire (10.03.1) ===
The WL-500gP is supported by two targets: 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]]   *[[http://downloads.openwrt.org/backfire/10.03/brcm-2.4/openwrt-brcm-2.4-squashfs.trx|brcm-2.4]]
Line 39: Line 42:
    * **Recommended for v2**     * **Recommended for v2**
  *[[http://downloads.openwrt.org/backfire/10.03/brcm47xx/openwrt-brcm47xx-squashfs.trx|brcm47xx]]   *[[http://downloads.openwrt.org/backfire/10.03/brcm47xx/openwrt-brcm47xx-squashfs.trx|brcm47xx]]
-    * Uses a current 2.6 kernel, it is faster and has more features+    * 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     * Uses the open source b43 wireless driver, which currently does not work with the wireless in the v2
    * **Recommended for v1**     * **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.
-===== OEM easy installation =====+==== OEM easy installation ====
Does not work yet. The TRX utility needs a rewrite (Sep. 1st 2007, confirmed by nbd on IRC). Does not work yet. The TRX utility needs a rewrite (Sep. 1st 2007, confirmed by nbd on IRC).
Line 52: Line 61:
TEST STILL FAILS on ASUS WL-500g Premium V1 with ASUS Firmware (not sure about the version)  --- //sup 2012/05/05 20:22// 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 =====+==== 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. To install OpenWrt using TFTP or the ASUS firmware restoration tool you have to put the router in diag mode.
Line 138: Line 147:
-====== Hardware ====== +===== Hardware ===== 
-===== Info =====+==== Info ====
| **Version:** | v1 | v2 | | **Version:** | v1 | v2 |
-| **Architecture:** | MIPS | MIPS | +| **[[wp>Instruction set|Architecture]]:**   | [[wp>MIPS architecture|MIPS]] | [[wp>MIPS architecture|MIPS]]
-| **Vendor:** | Broadcom | Broadcom | +| **Vendor:**         | [[wp>Broadcom]] | [[wp>Broadcom]]
-| **Bootloader:** | CFE | CFE | +| **[[doc:techref:Bootloader]]:**     | [[doc:techref:bootloader:CFE]] | [[doc:techref:bootloader:CFE]]
-| **System-On-Chip:** | Broadcom BCM4704 | Broadcom BCM5354 | +| **[[doc:hardware:soc|System-On-Chip]]:** | Broadcom BCM4704 | Broadcom BCM5354 | 
-| **CPU Speed:** | 264 Mhz | 240 Mhz +| **[[doc:hardware:cpu|CPU]]/Speed** | BMIPS3300 V0.6 / 264 MHz | :?: / 240 MHz
-| **Flash-Chip:** | EON EN29LV302B-70TCP | Macronix 29LV640DB |+| **Flash-Chip:** | EON EN29LV302B-70TCP\\ Spansion S29GL064A90TFIR7 | Macronix 29LV640DB |
| **Flash size:** | 8 MiB | 8 MiB | | **Flash size:** | 8 MiB | 8 MiB |
-| **RAM:** | 32* MiB | 32 MiB |+| **RAM-Chips:** | HY5DU281622FTP-5 / DDR-400 | :?: | 
 +| **RAM size:** | 32* MiB | 32 MiB |
| **Wireless:** | Broadcom BCM4318 802.11b/g (miniPCI) | Broadcom BCM43xx 802.11b/g (integrated) | | **Wireless:** | Broadcom BCM4318 802.11b/g (miniPCI) | Broadcom BCM43xx 802.11b/g (integrated) |
-| **Ethernet:** | Robo switch BCM5325 | Switch in CPU | +| **Ethernet:** | Robo switch [[http://wiki.openwrt.org/_media/toh/bcm5325_pinout.png|BCM5325E]] | Switch in CPU | 
-| **USB:** | 2x 2.0 | 2x 2.0 | +| **USB:** | 2x 2.0 [[http://www.via.com.tw/en/products/peripherals/usb/vt6212l/|Via VT6212L]]| 2x 2.0 | 
-| **Serial:** | [[#Serial|Yes]] | [[#Serial|Yes]] |  +| **Power adapter** | 5V DC 2.5 A / UMEC UP0181B-05PE | :?: | 
-| **JTAG:** | No | Yes (pinout same as wrt54G) |+| **[[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. * some older models have only 16 MiB enabled.
-===== Photos =====+==== Photos ====
[[http://wiki.openwrt.org/oldwiki/openwrtdocs/hardware/asus/wl500gp/img_0007|{{oldwiki:openwrtdocs:hardware:asus:wl500gp:img_0007.jpg?320}}]]\\  With a Atheros Wistron CM9\\  MiniPCI WiFi card [[http://wiki.openwrt.org/oldwiki/openwrtdocs/hardware/asus/wl500gp/img_0007|{{oldwiki:openwrtdocs:hardware:asus:wl500gp:img_0007.jpg?320}}]]\\  With a Atheros Wistron CM9\\  MiniPCI WiFi card
Line 163: Line 174:
[[http://wiki.openwrt.org/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 [[http://wiki.openwrt.org/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 =====+==== Opening the case ====
**Note:** This will void your warranty! **Note:** This will void your warranty!
Line 169: Line 180:
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. 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 =====+==== 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): 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 |  | | RESET |  |
Line 176: Line 189:
| UART_RX1 | UART_RX0 | | UART_RX1 | UART_RX0 |
Pin 1 (with the square solder pad) is RX0. Pin 1 (with the square solder pad) is RX0.
-\\ \\ \\+ 
 +{{:media:toh:asus:wl500gpv1-serial.jpg?500x250|}} 
 +=== V2 ===
For (V2) tts/0 is on the J4 connector: For (V2) tts/0 is on the J4 connector:
| 3.3V_OUT | | 3.3V_OUT |
Line 188: Line 203:
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 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 /backfire/10.03.1/brcm47xx/openwrt-brcm47xx-squashfs.trx
-==== Openwrt bootlog ====+ 
 + 
 +==== 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 |  
 + 
 +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). 
 +===== 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. 
 + 
 +===== 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. 
 + 
 +===== Hardware Mods ===== 
 +nothing? 
 +===== Bootlogs ===== 
 +==== V1 Attitude Adjustment bootlog ==== 
 +<HTML> 
 +<p style="padding: 10px;border:1px solid grey;height:600px;font:10px/14px Georgia, Garamond, Serif;overflow:Auto;background-color:#FFFFFF"> 
 +<code>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 
 +</code> 
 +</p> 
 +</HTML> 
 +==== V2 Backfire bootlog ====
<HTML> <HTML>
<p style="padding: 10px;border:1px solid grey;height:600px;font:10px/14px Georgia, Garamond, Serif;overflow:Auto;background-color:#FFFFFF"> <p style="padding: 10px;border:1px solid grey;height:600px;font:10px/14px Georgia, Garamond, Serif;overflow:Auto;background-color:#FFFFFF">
Line 359: Line 683:
</HTML> </HTML>
-===== 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). 
-===== 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. 
- 
-==== 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) 
- 
-==== 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 |  
- 
-ACTION: released or pressed 
- 
-===== 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]]. 
- 
-===== Hardware Mods ===== 
-nothing? 
-====== ASUS WL-500g Premium info ====== 
-  * 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)]] 
-  * [[oldwiki:hardwareacceleratedcrypto|HardwareAcceleratedCrypto]] 
---- ----
- 
===== External Links ===== ===== External Links =====
==== Tutorials ==== ==== Tutorials ====
Line 467: Line 693:
  * [[http://josefsson.org/openwrt/dongle.html|Using Huawei E220 with 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 ==== ==== 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)]]
 +  * [[oldwiki:hardwareacceleratedcrypto|HardwareAcceleratedCrypto]]
  * official ASUS website: [[http://usa.asus.com/Networks/Wireless_Routers/WL500g_Premium/|v1]], [[http://usa.asus.com/Networks/Wireless_Routers/WL500gP_V2/|v2]]   * 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/Wireless-LAN/802.11-Wireless-LAN-Solutions/BCM94704|Broadcom BCM94704 Reference SoC]]
Line 482: Line 711:
  * [[http://forum.openwrt.org/viewtopic.php?id=5688|OpenWRT compatibility information]]   * [[http://forum.openwrt.org/viewtopic.php?id=5688|OpenWRT compatibility information]]
  * [[http://forum.openwrt.org/viewtopic.php?id=6362|How-to configure WAN-interface]]   * [[http://forum.openwrt.org/viewtopic.php?id=6362|How-to configure WAN-interface]]
----- 
-  * [[oldwiki:categorymodel|CategoryModel]] 
-{{tag>FastEthernet 5Port hwVLAN USB 2USB 802.11bg integrated MiniPCI 1Radio 1Ant DetachableAntenna 32RAM 8Flash MIPS}}+===== Tags ===== 
 +{{tag>bcm47xx bcm53xx bcm4704 bcm5354 FastEthernet 1NIC 1WNIC 5Port hwVLAN USB 2USB 802.11bg integrated MiniPCI 1Ant DetachableAntenna 32RAM 8Flash MIPS}}

Back to top

toh/asus/wl500gp.1352910477.txt.bz2 · Last modified: 2012/11/14 17:27 (external edit)