The device is supported in OpenWrt since Kamikaze 8.09. But WP54g type is not supported in the newest version 12.09. (Device do not boot and diagnostic led flashing - probably some kernel panic error)
|System-On-Chip:||ADM5120 (Little Endian)|
|CPU Speed:||175 Mhz|
|Flash size:||4 MiB|
|RAM:||16 MiB SDRAM|
|Wireless:||1x Type III miniPCI slot, usually with Compex WLM54G or WLM54AG card|
|Ethernet:||2 x 10/100 Base-TX Ethernet Ports (with Auto MDI/MDIX)|
If you want to upload firmware to router by tftp, you will have to turn your device to this mode. The procedure is following:
- Turn off the device.
- Press and hold the reset button.
- Plug the device (still hold the button).
- Wait until the Diagnostic LED (second from the left) starts flashing quickly. (This will happen almost immediately.)
- Now release the reset button. Your router is in Restore mode.
Set your ethernet interface into static mode (IP address 192.168.168.10, netmask 255.255.255.0, default gateway 192.168.168.1), put your router into Restore mode and upload the firmware by TFTP using the following commands (replace XXXXXX with wp54g or wp54ag):
$ tftp 192.168.168.1 tftp> binary tftp> trace tftp> put openwrt-adm5120-router_le-XXXXXX-squashfs.bin
Diagnostic LED will now stop blinking for a while; if the flashing procedure is successfully done, it will start blinking slowly. Now reboot your router manually (turn off - turn on) and OpenWrt will boot.
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.
- Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ (LuCI Upgrade URL)
- Upload TRX file to LuCI
- Wait for reboot
- Login as root via SSH on 192.168.1.1
- Use the following commands to upgrade.
cd /tmp # XXXXXX is wp54g or wp54ag wget http://downloads.openwrt.org/**path-to-latest-release**/adm5120_router_le/openwrt-adm5120-router_le-XXXXXX-squashfs.bin sysupgrade /tmp/openwrt-adm5120-router_le-XXXXXX-squashfs.bin
Atheros-based card are supported. The device doesn't work with Broadcom cards, since kmod-ssb causes kernel panic at startup.
Both madwifi and ath5k work well with WLM54(A)G cards. You will need some wireless authenticator and/or supplicant (wpad-mini/wpad/wpa-supplicant/hostpad/hostapd-mini).
Madwifi doesn't support MAC changes through UCI on this architecture. If you want to change of wireless MAC, see this.
This page has been assebled from a number of different pages from the oldwiki and current wiki. See them for more (possibily outdated) informations.
toh/compex/wp54.txt · Last modified: 2013/07/30 14:04 by kaklik