Ubiquiti AirRouter/AirRouterHP

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.

Install OpenWrt (generic explanation)

This guide works for both the AirRouter and the AirRouterHP models and no additional modifications needs to be made before flashing the image.

  1. Find the latest Barrier Breaker image named openwrt-ar71xx-generic-ubnt-airrouter-squashfs-factory.bin or openwrt-ar71xx-generic-ubnt-airrouter-jffs2-factory.bin
  2. Connect to the router with an ethernet cable, flashing over Wi-Fi is not recommended!
  3. Log in to AirOS on the Router and open the System tab
  4. Flash the open-wrt image you downloaded earlier using the firmware update utility in AirOS (make sure you're flashing the file that ends with -factory.bin or you will probably brick your router)
  5. After a few minutes the router will restart and you can login on your router on 192.168.1.1
Instruction set MIPS32
Vendor Atheros
bootloader U-Boot
System-On-Chip Atheros AR7241
CPU @Frq Atheros AR7241 rev 1 MIPS 24Kc V7.4 @390MHz
Flash size 8MB
Flash Chip Macronix MX25L6406EMI-12G
Flash Chip (HP model) STMicroelectronics 25P64V6P
RAM size 32MB
RAM Chip Mira P2S56D40GTP
RAM Chip (HP model) EtronTech EM6AA160TSA-5G
Wireless Atheros AR9285
Ethernet Atheros AR7241
switch Atheros AR7241
Modem na
USB Yes 1 x 2.0
Serial yes, internal, 12-pin header, JP3

The board has a non-populated pinhead J3 (also labeled as UART) with a TTL (3.3V) level serial port as described:

PIN USE
1 VCC
3 RX
9 TX
11 GND
Serial connection parameters
for Ubiquiti AirRouter/AirRouterHP
115200, 8N1

The name of the button on the Airrouter is “reset”:

config button option button 'reset' option action 'released' option handler 'logger timed pressed: 0-1s' option min '0' option max '1'

Lan Port Mappings for /etc/config/network

Hardware Port Logical port Description
NA 0 CPU port activates/links all ports on Vlan
1 4 Activates the #1 LAN port
2 3 Activates the #2 LAN port
3 2 Activates the #3 LAN port
4 1 Activates the #4 LAN port
WAN NA Activates the WAN/Internet port (eth1)
  1. Download the AirOS firmware, (now under Legacy on the downloads page)
  2. Turn off the device and connect to the device with an ethernet cable to the WAN port of the router
  3. Set the computer to 192.168.1.11 or different but not to 192.168.1.20
  4. Start ping 192.168.1.20 or on windows ping -t 192.168.1.20
  5. Press the reset button while plugging in the power and hold the reset button for at least 30 seconds
  6. The ping responses should start as soon as the LEDs 1&3, then 2&4 start alternating, if you don't see ping responses within a few seconds, repeat previous step again (note for some reason perhaps because of timing it doesn't always start ping even though the LEDs blink 1&3 then 2&4, so just try again a few times)
  7. Upload AirOS using the tftp binary:
    ---linux---
    $ tftp 192.168.1.20
    tftp> mode binary
    tftp> put XM-v5.5.2.build14175.bin flash_update
    Sent 6736122 bytes in 9.4 seconds
    tftp> quit
    ---windows---
    tftp -i 192.168.1.20 put XM.v5.6.2.27929.150716.1201.bin
  8. Wait until the LEDs stop cyloning
  9. Plug computer into one of the LAN ports of the router
  10. Restart the router, by plugging out the power and replug it
  11. Hit http://192.168.1.1 and you should get the airOS web page
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: 2024/02/12 08:58
  • by 127.0.0.1