User Tools

Site Tools


toh:ubiquiti:uappro

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:ubiquiti:uappro [2014/08/20 11:38]
jack78 poprawki
toh:ubiquiti:uappro [2016/01/06 22:00] (current)
tmomas Put some emphasis on actual testing before confirming support
Line 1: Line 1:
 +====== Ubiquiti UniFi AP PRO ======
  
 +===== Status =====
 +Since [[https://​dev.openwrt.org/​changeset/​34730|r34730]] this device is supported in trunk and in future stable release.\\
 +Currently available as snapshot.
 +
 +<WRAP box center 80%> {{:​meta:​icons:​tango:​48px-emblem-question.svg.png }} If you can **confirm** that OpenWrt is running on this device (i.e. you or someone else has **tested** it), please update the data accordingly. -> Click //View/Edit data//
 +/* Special style definitions for the various Tables of Hardware. ​           */
 +{{page>​meta:​infobox:​tohstyles&​noheader&​nofooter&​noeditbtn&​inline&​indent&​link}}
 +---- datatable ----
 +cols    : Model, Versions, Supported Since Rev_url, Supported Since Rel, Supported Current Rel, Device Techdata_pageid
 +align   : l,c,l,c,c,c
 +filter ​ : Model=UniFi AP PRO
 +----</​WRAP>​
 +
 +===== Hardware =====
 +| **Architecture:​** ​    | MIPS                    |
 +| **Vendor:​** ​          | Atheros ​                |
 +| **Bootloader:​** ​      | U-boot ​                 |
 +| **System-On-Chip:​** ​  | Atheros (AR9344 rev2)   |
 +| **CPU Speed:​** ​       | 560MHz ​                 |
 +| **Flash size:​** ​      | 16MB                    |
 +| **RAM:​** ​             | 128 MiB DDR - 400MHz ​   |
 +| **Wireless:​** ​        | AR9580 ​                 |
 +| **Switch:​** ​          | AR8327 rev4             |
 +| **Ethernet ports:​** ​  | 2x Gigabit, 802.3af POE capable ​  |
 +| **USB:​** ​             | No ((but [[https://​forum.openwrt.org/​viewtopic.php?​pid=109825#​p109825|hackable]])) |
 +| **Serial:​** ​          | [[:​doc:​hardware:​port.serial.cables|Yes]],​ [[#​serial|settings]] |
 +| **JTAG:​** ​            | [[:​doc:​hardware:​port.jtag.cables|Yes]] |
 +
 +==== Photos ====
 +{{:​media:​ubiquiti:​unifi_ap_pro_back.jpg?​400|}}
 +
 +===== Installing a new firmware image =====
 +
 +  - Device get IP address from DHCP. If no DHCP, device will default to 192.168.1.20
 +  - Login inside the AP with ssh ubnt@ip_address (password ubnt)
 +  - Find the image like "​openwrt-ar71xx-generic-ubnt-uap-pro-*-factory.bin"​ on openwrt binary repository and download inside /tmp.
 +  - Rename the firmware image to fwupdate.bin
 +  - Use the Ubiquiti fwupgrade utils to reflash it: <​code>​
 +syswrapper.sh upgrade2
 +</​code>​
 +
 +Proceed to [[:​doc:​howto::​firstlogin|First Login]]
 +
 +===== Updating Firmware Image =====
 +
 +  * Hold in the reset button whilst powering on the device. ​ Wait until the ring alternately flashes between blue and white constantly
 +  * The device will default to 192.168.1.20 listening for TFTP connections
 +  * From a TFTP client transfer the openwrt image to 192.168.1.20
 +  * Once the transfer is complete wait for the device to reboot
 +
 +===== Specific Configuration =====
 +The UniFi AP PRO led can be white or blue. 
 +
 +Static and flashing can be configured as follows.
 +
 +  - static, use 1 for on, 0 for off: <code shell>
 +echo 1 > /​sys/​class/​leds/​ubnt\:​white\:​dome/​brightness
 +echo 1 > /​sys/​class/​leds/​ubnt\:​blue\:​dome/​brightness
 +echo 0 > /​sys/​class/​leds/​ubnt\:​white\:​dome/​brightness
 +echo 0 > /​sys/​class/​leds/​ubnt\:​blue\:​dome/​brightness</​code>​
 +  - blinking
 +    - blinking on, interval 1000ms, orange led: <code shell>​echo timer > /​sys/​class/​leds/​ubnt\:​white\:​dome/​trigger
 +echo 1000 > /​sys/​class/​leds/​ubnt\:​blue\:​dome/​delay_on
 +echo 1000 > /​sys/​class/​leds/​ubnt\:​blue\:​dome/​delay_off
 +</​code>​
 +    - blinking off: <code shell>​echo 0 > /​sys/​class/​leds/​ubnt\:​orange\:​dome/​delay_off</​code>​
 +    - configure in /​etc/​config/​system:​ <code shell>
 +config '​led'​
 + option '​sysfs'​ '​ubnt:​white:​dome'​
 + option '​default'​ 0
 +</​code>​
 +
 +
 +See the UniFi page for how to flash the led based on network traffic.
 +
 +===== Tags =====
 +[[meta:​tags|How to add tags]]
 +{{tag>​16Flash 128RAM}}