{"id":645,"date":"2020-02-28T22:22:13","date_gmt":"2020-02-29T03:22:13","guid":{"rendered":"https:\/\/increasec.com\/?p=645"},"modified":"2020-03-01T22:46:33","modified_gmt":"2020-03-02T03:46:33","slug":"adopting-a-used-unifi-ap","status":"publish","type":"post","link":"https:\/\/increasec.com\/?p=645","title":{"rendered":"Adopting a Used Unifi AP"},"content":{"rendered":"\n<p>This is kinda confusing so i thought i would write it down.  The AP may also say Managed by Another Network.<\/p>\n\n\n\n<p>Step1: Reset the AP to factory defaults.  Do this by plugging the AP in and immediately holding down the reset button for 10seconds+  The ring led will flash Green\/Amber\/Off.  Let it stew for at least 1 minute.<\/p>\n\n\n\n<p>Step2: If the device was in your Unifi Management Console you will need to Forget it by clicking on; Devices (far left), Click the AP in the middle pane, a right pane will appear, click the Config\/Gear, expand &#8220;Manage Device&#8221; (bottom), and click Forget Device.<\/p>\n\n\n\n<p>Step3: Reboot the AP and wait for 2-3 minutes and it will appear again in the Ubiquiti management console, Devices but this time it will be labeled Pending Adoption.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"614\" height=\"379\" src=\"https:\/\/increasec.com\/wp-content\/uploads\/2020\/02\/image-3.png\" alt=\"\" class=\"wp-image-646\" srcset=\"https:\/\/increasec.com\/wp-content\/uploads\/2020\/02\/image-3.png 614w, https:\/\/increasec.com\/wp-content\/uploads\/2020\/02\/image-3-300x185.png 300w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/figure>\n\n\n\n<p>Step4; select your pending device and click Adopt or Upgrade+Adopt<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>If it still won&#8217;t work you may need to use the <a href=\"https:\/\/help.ubnt.com\/hc\/en-us\/articles\/204910124-UniFi-TFTP-Recovery-for-Bricked-Access-Points\">TFTP method<\/a>.  Be careful as a lot of Ubiquiti gear defaults to 192.168.1.20  I was using a  Ubiquiti tough switch as a poe injector and both devices were trying to claim that  192.168.1.20 IP address.  ping 192.168.1.20 before powering up the AP to verify the address is not in use.   Also my AP did not respond to ping but it did accept the TFTP transfer.  strange.<\/p>\n\n\n\n<p>Gettin real deep:   if the AP still won&#8217;t upgrade, ssh into the AP.  You can get the IP address from your DHCP server, should be easy to find since the MAC address is written on the back of the AP.  logon ubnt passwd ubnt     Find your firmware at the Ubiquiti download page <a href=\"https:\/\/www.ui.com\/download\/unifi\">here<\/a>.  you will eventually get to a page with a button to copy the URL to your clipboard.   You can upgrade by typing upgrade in the ssh session followed by the URL from the firmware download page.  If you get a certificate error replace https:\/\/ with http:\/\/  they both work.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>BZ.v3.2.12# upgrade https:\/\/dl.ui.com\/unifi\/firmware\/BZ2\/3.9.54.9373\/BZ.ar7240.v<br>\n3.9.54.9373.180913.2356.bin<br>\nDownloading firmware from &#8216;https:\/\/dl.ui.com\/unifi\/firmware\/BZ2\/3.9.54.9373\/BZ.ar7240.v3.9.54.9373.180913.2356.bin&#8217;.<\/p>\n\n\n\n<p>&#8211;2020-03-02 00:59:26&#8211;  https:\/\/dl.ui.com\/unifi\/firmware\/BZ2\/3.9.54.9373\/BZ.ar7240.v3.9.54.9373.180913.2356.bin<br>\nResolving dl.ui.com\u2026 13.226.131.172<br>\nConnecting to dl.ui.com|13.226.131.172|:443\u2026 connected.<br>\nERROR: cannot verify dl.ui.com&#8217;s certificate, issued by <code>\/C=US\/O=Amazon\/OU=Server CA 1B\/CN=Amazon':\n  Unable to locally verify the issuer's authority.\nTo connect to dl.ui.com insecurely, use<\/code>&#8211;no-check-certificate&#8217;.<br>\nUnable to establish SSL connection.<br>\nImage short, header truncated.<br>\nInvalid firmware.<\/p>\n\n\n\n<p>BZ.v3.2.12# upgrade http:\/\/dl.ui.com\/unifi\/firmware\/BZ2\/3.9.54.9373\/BZ.ar7240.v3<br>\n.9.54.9373.180913.2356.bin<br>\nDownloading firmware from &#8216;http:\/\/dl.ui.com\/unifi\/firmware\/BZ2\/3.9.54.9373\/BZ.ar7240.v3.9.54.9373.180913.2356.bin&#8217;.<\/p>\n\n\n\n<p>&#8211;2020-03-02 03:31:13&#8211;  http:\/\/dl.ui.com\/unifi\/firmware\/BZ2\/3.9.54.9373\/BZ.ar7240.v3.9.54.9373.180913.2356.bin<br>\nResolving dl.ui.com\u2026 13.225.206.95<br>\nConnecting to dl.ui.com|13.225.206.95|:80\u2026 connected.<br>\nHTTP request sent, awaiting response\u2026 200 OK<br>\nLength: 7459934 (7.1M) [application\/octet-stream]<br>\nSaving to: `\/tmp\/fwupdate.bin&#8217;<\/p>\n\n\n\n<p>100%[======================================&gt;] 7,459,934   1.47M\/s   in 4.9s<\/p>\n\n\n\n<p>2020-03-02 03:31:18 (1.44 MB\/s) &#8211; `\/tmp\/fwupdate.bin&#8217; saved [7459934\/7459934]<\/p>\n\n\n\n<p>Waiting firmware upgrade ..<br> Waiting firmware upgrade ..<br> Waiting firmware upgrade ..<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>more info <a href=\"https:\/\/help.ubnt.com\/hc\/en-us\/articles\/204910064-UniFi-Changing-the-Firmware-of-a-UniFi-Device\">here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is kinda confusing so i thought i would write it down. The AP may also say Managed by Another Network. Step1: Reset the AP to factory defaults. Do this&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[108,6],"class_list":["post-645","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-ubiquiti","tag-wifi"],"_links":{"self":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=645"}],"version-history":[{"count":5,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/645\/revisions"}],"predecessor-version":[{"id":653,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/645\/revisions\/653"}],"wp:attachment":[{"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=645"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}