Ubiquiti to OpenWRT

Wiki.TerraBase.info
Revision as of 08:54, 1 August 2023 by Root (talk | contribs)
Jump to navigation Jump to search

...just some rough notes on accessing a Ubiquiti device (not Ubiquity)

Device: Ubiquity UniFi AP AC Pro Generation 2 (with system board that says Generation 2, but doesn't match any other picture on the internet for a Generation 2 device)

Default IP Address: 192.168.1.20 (but watch out, if a DHCP server is available, it will obtain an IP from that pool)

Default SSH Password: ubnt /ubnt

Strategy: Ditch the Ubiquiti Firmware and install OpenWRT.

Install version 3.7.58 firmware (the below assumes the file is renamed to 3.7.58.bin);

  • scp root@WhatEverIPAddress:/3.7.58.bin /tmp (make sure it has access to a Linux device to use SCP)
  • fwupdate.real -m /tmp/3.7.58.bin (the ".real" supposedly updates the boot code)

Install OpenWRT;

  • scp root@WhatEverIPAddress:/OpenWRT_SysUpgrade.bin /tmp (pick your version, ubnt_unifiac-pro-squashfs-sysupgrade.bin in this example)
  • mtd write WhatEverOpenWRTFileName.bin kernel0
  • dd if=/dev/zero bs=1 count=1 of=/dev/mtd4
  • Reboot the device: reboot
  • ..."look for it" at 192.168.1.1
  • And then head on over to: AC Series Recommended Software and Utilities - Wiki.TerraBase.info, and install some utilities that will allow for connecting a USB Flash drive so some real software can be installed on the little guy (not enough internal storage). Hint: Use the "minimal install".

...and if that don't work, break out the soldering iron and attach some pins for JTAG / Serial.

Websites;

https://openwrt.org/toh/ubiquiti/unifi_ap_pro

https://openwrt.org/toh/ubiquiti/unifiac