The Buffalo WBMR-HP-G300H is a little beast of a modem/router, based on the Lantiq AR9 SoC family, and built on the following hardware:
|CPU||Lantiq XWAY ARX168 PSB 50810 EL||MIPS 34Kc @ 333MHz|
|RAM||Samsung K4H511638F-LCCC||64MB @ 166MHz|
|Switch||Atheros AR8316 ?|
|WiFi||Atheros AR9223||IEEE 802.11 b/g/n|
The modem officially supports DD-WRT but we will be installing OpenWrt Barrier Breaker.
There are two ways of getting OpenWrt on the WBMR-HP-G300H. You can either install OpenWrt through DD-WRT (provided, of course, you’ve installed DD-WRT first) or you can talk to the modem’s bootloader via TFTP and upload an OpenWrt image. In this post I’ll be taking the DD-WRT route, which is really simple. Let’s begin.
Step 1: Install DD-WRT
If DD-WRT is not already installed on the modem (i.e. the modem is running the official Buffalo firmware), you need to install it. Download buffalo_to_dd-wrt_MULTI.enc from DD-WRT’s website and save it on your hard-drive. Turn on the modem and connect to 192.168.11.1. The default username is root, the password is blank. (Note: use IE or Opera, otherwise the pages won’t render properly). Now navigate to Admin Config/Update. Choose the file you just downloaded from DD-WRT’s website and press Update Firmware.
After you press Update Firmware you need to wait for about 6-7 minutes. A progress bar will be displayed in the browser to let you know how far along the process has got. Once the update is complete you should renew your ethernet connection. The new router ip will be 192.168.1.1.
Step 2: Flash OpenWrt
With DD-WRT installed we can proceed to flashing OpenWrt. From OpenWrt’s website download openwrt-lantiq-xway-WBMR-squashfs.image and save it on a USB stick (formatted either as ext2/3 or FAT32). Login to the DD-WRT admin page at 192.168.1.1 (on first access you will be prompted to set a new password) and navigate to Services/USB. We will enable USB support in order to copy the OpenWrt image from the USB stick to the modem’s internal storage. To do so, enable Core USB Support, USB Storage Support and Automatic Drive Mount, as pictured below, and apply settings.
With USB support enabled, plug-in your USB stick to the modem. Telnet to the modem at 192.168.1.1 and login with username root (even if you have changed the username!) and the password you previously set. You can see below that, in my case, my USB stick has been mounted on /tmp/mnt/sda_part1.
We are now ready to flash OpenWrt. Change to the directory where the stick is mounted and issue the following command:
mtd -r write openwrt-lantiq-xway-WBMR-squashfs.image linux
This will write OpenWrt to the modem’s flash storage.
The telnet connection will be closed once the write is complete. At this point you have to wait while the modem boots OpenWrt for the first time. Do not turn off the modem. Once the modem is ready you will be able to ping it and telnet to it at 192.168.1.1 again.
Congratulations, OpenWrt Barrier Breaker is now installed.
If you have any questions or if you spotted any errors or omissions, please leave me a comment.