Ubiquiti AirRouter/AirRouterHP
Supported Versions
Hardware Highlights
Installation
→ 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.
- Find the latest Barrier Breaker image named openwrt-ar71xx-generic-ubnt-airrouter-squashfs-factory.bin or openwrt-ar71xx-generic-ubnt-airrouter-jffs2-factory.bin
- Connect to the router with an ethernet cable, flashing over Wi-Fi is not recommended!
- Log in to AirOS on the Router and open the System tab
- 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)
- After a few minutes the router will restart and you can login on your router on 192.168.1.1
Hardware
Info
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 |
Serial Port
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 |
---|
Button
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
'
Ports
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) |
Reverting to AirOS
- Download the AirOS firmware, (now under Legacy on the downloads page)
- Turn off the device and connect to the device with an ethernet cable to the WAN port of the router
- Set the computer to 192.168.1.11 or different but not to 192.168.1.20
- Start ping 192.168.1.20 or on windows ping -t 192.168.1.20
- Press the reset button while plugging in the power and hold the reset button for at least 30 seconds
- 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)
- 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
- Wait until the LEDs stop cyloning
- Plug computer into one of the LAN ports of the router
- Restart the router, by plugging out the power and replug it
- Hit http://192.168.1.1 and you should get the airOS web page