Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
toh:ubiquiti:airrouter [2013/08/19 14:46] – created, Trunnk razrtoh:ubiquiti:airrouter [2018/05/10 17:38] – Datatables added tmomas
Line 1: Line 1:
 +====== Ubiquiti AirRouter/AirRouterHP ======
  
 +
 +===== Supported Versions =====
 +---- datatable ----
 +cols    : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid
 +headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data
 +align   : c,c,c,c,c,c,c
 +filter  : Model*~AirRouter
 +----
 +
 +
 +===== Hardware Highlights =====
 +---- datatable ----
 +cols    : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4GHz, WLAN 5.0GHz, Ethernet 100M ports_, Ethernet Gbit ports_, Modem, USB ports_
 +header  : Model, Version,SoC,CPU MHz,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB
 +align   : c,c,c,c,c,c,c,c,c,c,c,c,c
 +filter  : Model*~AirRouter
 +----
 +
 +
 +===== Installation =====
 +---- datatable ----
 +cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url
 +headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock
 +align   : l,c,c
 +filter  : Model*~AirRouter
 +----
 +
 +-> [[docs:guide-user:installation:generic.flashing|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 [[http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/|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 ====
 +| **[[wp>Instruction set]]:**               | [[wp>MIPS architecture#MIPS32|MIPS32]] |
 +| **Vendor:**                               | [[wp>Atheros]] |
 +| **[[docs:techref:bootloader]]:**           | [[docs:techref:bootloader:uboot|U-Boot]] |
 +| **[[docs:techref:hardware:soc|System-On-Chip]]:**  | Atheros AR7241 |
 +| **[[docs:techref:hardware:cpu|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 |
 +| **[[docs:techref:hardware:switch]]:**    | Atheros AR7241 |
 +| **Modem:**                      | na |
 +| **USB:**                        | Yes 1 x 2.0 |
 +| **[[docs:techref:hardware:port.serial|Serial]]:**  | yes, internal, 12-pin header, (115200,8,N,1), 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   |
 +
 +===== 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 [[https://www.ubnt.com/download/airmax-legacy/airrouter|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:<code>---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</code><code>---windows---
 +tftp -i 192.168.1.20 put XM.v5.6.2.27929.150716.1201.bin
 +</code>
 +  - 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
 +
 +
 +===== Tags =====
 +[[meta:tags|How to add tags]]
 +{{tag>AR7241 8flash 32ram}}
  • Last modified: 2024/02/12 08:58
  • by 127.0.0.1