Compex WP54

This device is NOT RECOMMENDED for future use with OpenWrt due to low flash/ram.
DO NOT BUY DEVICES WITH 4MB FLASH / 32MB RAM if you intend to flash an up-to-date and secure OpenWrt version onto it! See 4/32 warning for details.

1) This device does not have sufficient resources (flash and/or RAM) to provide secure and reliable operation.
This means that even setting a password or changing simple network settings might not be possible any more, rendering the device effectively useless. See OpenWrt on 4/32 devices what you can do now.

2) OpenWrt support for this device has ended in 2022.
19.07.10 was the last official build for 4/32 devices.

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)

Architecture MIPS
Vendor ADMtek (Infineon)
Bootloader CFE
System-On-Chip ADM5120 (Little Endian)
CPU Speed 175 Mhz
Flash size 4 MiB
Wireless 1 × Type III miniPCI slot, usually with Compex WLM54G or WLM54AG card
Ethernet 2 × 10/100 Base-TX Ethernet Ports (with Auto MDI/MDIX)
USB no
Serial yes
JTAG yes

If you want to upload firmware to router by tftp, you will have to turn your device to this mode. The procedure is following:

  1. Turn off the device.
  2. Press and hold the reset button.
  3. Plug the device (still hold the button).
  4. Wait until the Diagnostic LED (second from the left) starts flashing quickly. (This will happen almost immediately.)
  5. Now release the reset button. Your router is in Restore mode.

Set your ethernet interface into static mode (IP address, netmask, default gateway, put your router into Restore mode and upload the firmware by TFTP using the following commands (replace XXXXXX with wp54g or wp54ag):

$ tftp
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.

LuCI Web Upgrade Process

Terminal Upgrade Process

  • Login as root via SSH on
  • Use the following commands to upgrade.
$ cd /tmp
$ # XXXXXX is wp54g or wp54ag
$ wget**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.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2019/02/12 21:55
  • by tmomas