Difference between revisions of "Ubiquiti UAP AC Mesh"

Jump to navigation Jump to search
(Added picture of back.)
(Updated instructions to match format of Nanostation, and focus on our latest firmware instead of LiMe.)
Line 11: Line 11:
 
[https://github.com/MassMesh/meta-imagebuilder-artifacts/blob/master/massmesh/meshradio/ubnt_unifiac-mesh/openwrt-massmesh-meshradio-ath79-generic-ubnt_unifiac-mesh-squashfs-sysupgrade.bin Mass Mesh Firmware (sysupgrade)]
 
[https://github.com/MassMesh/meta-imagebuilder-artifacts/blob/master/massmesh/meshradio/ubnt_unifiac-mesh/openwrt-massmesh-meshradio-ath79-generic-ubnt_unifiac-mesh-squashfs-sysupgrade.bin Mass Mesh Firmware (sysupgrade)]
  
== Downgrading ==
+
= Flashing =
 +
 
 +
== From OpenWRT ==
 +
If you're already using OpenWRT, you can use Luci to install the Mass Mesh firmware.
 +
# Download the latest [https://github.com/MassMesh/meta-imagebuilder-artifacts/blob/master/massmesh/meshradio/ubnt_unifiac-mesh/openwrt-massmesh-meshradio-ath79-generic-ubnt_unifiac-mesh-squashfs-sysupgrade.bin MassMesh sysupgrade firmware.]
 +
# Connect to the Nanostation and enter its IP address into your favorite web browser.
 +
## If you are using another version of OpenWrt, please refer to its documentation for details about its IP address.
 +
# Navigate to System → Backup / Flash Firmware → Actions: '''Flash new firmware image.'''
 +
# Choose the sysupgrade file previously downloaded and click '''Flash'''
 +
# Wait for the device to complete and reboot (This can take up to 5 minutes.)
 +
 
 +
== From Stock Firmware (Ubiquiti AirOS) ==
  
 
If your device shipped with the latest firmware, or if you upgraded to version <code>3.8.xx.xxxx</code> or higher, you need to downgrade the device before you can flash it due to the <code>mtd</code> utility being missing in later versions. Simply download any <code>3.7.xx.xxxx</code> firmware image from [https://dl.ui.com/unifi/firmware/U7PG2/3.7.58.6385/BZ.qca956x.v3.7.58.6385.170508.0957.bin Ubiquiti Downloads] and proceed with the recovery instructions.
 
If your device shipped with the latest firmware, or if you upgraded to version <code>3.8.xx.xxxx</code> or higher, you need to downgrade the device before you can flash it due to the <code>mtd</code> utility being missing in later versions. Simply download any <code>3.7.xx.xxxx</code> firmware image from [https://dl.ui.com/unifi/firmware/U7PG2/3.7.58.6385/BZ.qca956x.v3.7.58.6385.170508.0957.bin Ubiquiti Downloads] and proceed with the recovery instructions.
  
== Aparcar's meta-imagebuilder ==
+
=== Downgrade Ubiquiti AirOS ===
First clone the repo from opensource.piratemesh.net (hyperboria or yggdrasil-network) or from https://github.com/MassMesh/meta-imagebuilder
 
Once checked out of the repo, call the massmesh script with these parameters `./build massmesh meshradio ubnt_unifiac-mesh`
 
The mesh firmware is built in /dev/shm (tmpfs) but the imagebuilder variable can be changed, please use the `build` script as you see fit.
 
  
== Compiling for LiMe ==
+
To recover the UAP AC Mesh from a bad flash, or to upgrade or downgrade the stock firmware, you will need to put the device in recovery mode and send a stock firmware using TFTP.
 
 
Clone the Libremesh source code with <code>git clone https://github.com/libremesh/lime-sdk.git</code><br>
 
If stuck, detailed information can be found here: (https://libremesh.org/getit.html)[https://libremesh.org/getit.html]<br> 
 
The following steps should produce the `sysupgrade` firmware.<br>
 
  
 +
# Obtain a stock firmware to flash by going to the [https://www.ubnt.com/download/unifi/unifi-mesh/uap-ac-m Ubiquiti Downloads Page] for this device and clicking "See Past Firmware" - <code>3.7.xx.xxxx</code> is recommended if you wish to flash something else afterwards
 +
# Rename the firmware file to <code>firmware.bin</code>, as the device will look for this file name
 +
# To enter recovery mode, hold the reset button located next to the ethernet port while plugging in the power. Hold the reset button until the side LED alternates white, blue, off.
 +
# Assign your computer a static IP such as <code>192.168.1.25</code>, with net mask of <code>255.255.255.0</code> or <code>/24</code>
 +
# Connect your computer's ethernet port to the device
 +
# Run TFTP and enter the following commands:
 
<pre>
 
<pre>
./cooker -d ar71xx/generic
+
tftp> connect 192.168.1.20
./cooker -b ar71xx/generic
+
tftp> binary
./cooker -c ar71xx/generic --flavor=lime_default --profile=ubnt-unifiac-lite --community=massmesh/common
+
tftp> rexmt 1
 +
tftp> timeout 60
 +
tftp> put firmware.bin
 +
Sent x bytes in x seconds
 
</pre>
 
</pre>
 +
The LED will flash at varying speeds, then it will turn solid when complete.
  
The filename of the sysupgrade firmware may change. The examples below may differ than the binary produced from the steps above. <br>
+
===  Install The Mass Mesh OpenWrt Image ===
In the case you are building the latest development firmware, the output directory may generate a firmware named <br>
 
<code>openwrt-18.06.1-massmesh-common-ar71xx-generic-ubnt-unifiac-mesh-squashfs-sysupgrade.bin</code>
 
 
 
== Flashing ==
 
 
 
 
Get the firmware [https://github.com/MassMesh/meta-imagebuilder-artifacts/tree/master/massmesh/meshradio/ubnt_unifiac-mesh here.]
 
Get the firmware [https://github.com/MassMesh/meta-imagebuilder-artifacts/tree/master/massmesh/meshradio/ubnt_unifiac-mesh here.]
  
Line 63: Line 72:
 
</ol>
 
</ol>
  
After writing the firmware and giving the radio a <code>reboot</code> please wait upwards of 5+ minutes during this "first boot" process. Soon you'll be able to access to device over WiFi (or Ethernet) in order to set a new admin password here: http://thisnode.info
+
After writing the firmware and giving the radio a <code>reboot</code> please wait upwards of 5+ minutes during this "first boot" process. Soon you'll be able to access to device over WiFi (or Ethernet) in order to set a new admin password. (192.168.2.1)
 
 
== Recovery ==
 
 
 
To recover the UAP AC Mesh from a bad flash, or to upgrade or downgrade the stock firmware, you will need to put the device in recovery mode and send a stock firmware using TFTP.
 
 
 
# Obtain a stock firmware to flash by going to the [https://www.ubnt.com/download/unifi/unifi-mesh/uap-ac-m Ubiquiti Downloads Page] for this device and clicking "See Past Firmware" - <code>3.7.xx.xxxx</code> is recommended if you wish to flash something else afterwards
 
# Rename the firmware file to <code>firmware.bin</code>, as the device will look for this file name
 
# To enter recovery mode, hold the reset button located next to the ethernet port while plugging in the power. Hold the reset button until the side LED alternates white, blue, off.
 
# Assign your computer a static IP such as <code>192.168.1.25</code>, with net mask of <code>255.255.255.0</code> or <code>/24</code>
 
# Connect your computer's ethernet port to the device
 
# Run TFTP and enter the following commands:
 
<pre>
 
tftp> connect 192.168.1.20
 
tftp> binary
 
tftp> rexmt 1
 
tftp> timeout 60
 
tftp> put firmware.bin
 
Sent x bytes in x seconds
 
</pre>
 
The LED will flash at varying speeds, then it will turn solid when complete.
 

Revision as of 19:30, 8 March 2020

UAP AC Mesh -- Front
UAP AC Mesh -- Back

The UAP AC Mesh is a PoE powered access point that is weather resistant and omnidirectional.

Files

Ubiquiti Firmware (Downgrade to 3.7.xx)

Mass Mesh Firmware (sysupgrade)

Flashing

From OpenWRT

If you're already using OpenWRT, you can use Luci to install the Mass Mesh firmware.

  1. Download the latest MassMesh sysupgrade firmware.
  2. Connect to the Nanostation and enter its IP address into your favorite web browser.
    1. If you are using another version of OpenWrt, please refer to its documentation for details about its IP address.
  3. Navigate to System → Backup / Flash Firmware → Actions: Flash new firmware image.
  4. Choose the sysupgrade file previously downloaded and click Flash
  5. Wait for the device to complete and reboot (This can take up to 5 minutes.)

From Stock Firmware (Ubiquiti AirOS)

If your device shipped with the latest firmware, or if you upgraded to version 3.8.xx.xxxx or higher, you need to downgrade the device before you can flash it due to the mtd utility being missing in later versions. Simply download any 3.7.xx.xxxx firmware image from Ubiquiti Downloads and proceed with the recovery instructions.

Downgrade Ubiquiti AirOS

To recover the UAP AC Mesh from a bad flash, or to upgrade or downgrade the stock firmware, you will need to put the device in recovery mode and send a stock firmware using TFTP.

  1. Obtain a stock firmware to flash by going to the Ubiquiti Downloads Page for this device and clicking "See Past Firmware" - 3.7.xx.xxxx is recommended if you wish to flash something else afterwards
  2. Rename the firmware file to firmware.bin, as the device will look for this file name
  3. To enter recovery mode, hold the reset button located next to the ethernet port while plugging in the power. Hold the reset button until the side LED alternates white, blue, off.
  4. Assign your computer a static IP such as 192.168.1.25, with net mask of 255.255.255.0 or /24
  5. Connect your computer's ethernet port to the device
  6. Run TFTP and enter the following commands:
tftp> connect 192.168.1.20
tftp> binary
tftp> rexmt 1
tftp> timeout 60
tftp> put firmware.bin
Sent x bytes in x seconds

The LED will flash at varying speeds, then it will turn solid when complete.

Install The Mass Mesh OpenWrt Image

Get the firmware here.

In the stock firmware, the access point will have the default user/pass ubnt / ubnt. If there is no DHCP server, it will assign itself the IP address 192.168.1.20.

  1. Statically assign your computer the IP address 192.168.1.25
  2. Power on the device and plug it into your computer's ethernet port
  3. Copy the firmware you want to flash to the device:
  4. scp openwrt-ar71xx-generic-ubnt-unifiac-lite-squashfs-sysupgrade.bin ubnt@192.168.1.20:/tmp/
  5. SSH into the device and log in with the default username and password ubnt / ubnt
  6. ssh ubnt@192.168.1.20
  7. Then write the firmware to kernel0 and kernel1
  8. BZ.v3.7.40# mtd write /tmp/openwrt-ar71xx-generic-ubnt-unifiac-lite-squashfs-sysupgrade.bin kernel0
    Unlocking kernel0 ...
    Erasing kernel0 ...
    Writing from /tmp/openwrt-ar71xx-generic-ubnt-unifiac-lite-squashfs-sysupgrade.bin to kernel0 ...  [e/w]
    
    BZ.v3.7.40# mtd -r write /tmp/openwrt-ar71xx-generic-ubnt-unifiac-lite-squashfs-sysupgrade.bin kernel1
    Unlocking kernel1 ...
    Erasing kernel1 ...
    Writing from /tmp/openwrt-ar71xx-generic-ubnt-unifiac-lite-squashfs-sysupgrade.bin to kernel1 ...  [e/w]
    

After writing the firmware and giving the radio a reboot please wait upwards of 5+ minutes during this "first boot" process. Soon you'll be able to access to device over WiFi (or Ethernet) in order to set a new admin password. (192.168.2.1)