Ubiquiti to OpenWRT: Difference between revisions

wiki.TerraBase.info
Jump to navigation Jump to search
Created page with "...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 Default SSH Password: ubnt /ubnt Strategy: Ditch the Ubiquiti Firmware and install OpenWRT. Install version 3.7.58 firmware; * scp root@192.168.2.4:/3.7.58.bin /tmp (make sure it has access to a Li..."
 
mNo edit summary
Line 3: Line 3:
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)
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
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
Default SSH Password: ubnt /ubnt
Line 9: Line 9:
Strategy: Ditch the Ubiquiti Firmware and install OpenWRT.
Strategy: Ditch the Ubiquiti Firmware and install OpenWRT.


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


* scp root@192.168.2.4:/3.7.58.bin /tmp (make sure it has access to a Linux device to use SCP)
*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)
*fwupdate.real -m /tmp/3.7.58.bin (the ".real" supposedly updates the boot code)


Install OpenWRT;
Install OpenWRT;


* scp root@192.168.2.4:/OpenWRT_SysUpgrade.bin /tmp (pick your version, ubnt_unifiac-pro-squashfs-sysupgrade.bin in this example)  
*scp root@WhatEverIPAddress:/OpenWRT_SysUpgrade.bin /tmp (pick your version, ubnt_unifiac-pro-squashfs-sysupgrade.bin in this example)
* mtd write OWS.bin kernel0
*mtd write WhatEverOpenWRTFileName.bin kernel0
* <code>dd if=/dev/zero bs=1 count=1 of=/dev/mtd4</code>
*<code>dd if=/dev/zero bs=1 count=1 of=/dev/mtd4</code>
*Reboot the device: reboot
*..."look for it" at 192.168.1.1


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

Revision as of 15:48, 1 August 2023

...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 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