{"id":1183,"date":"2017-11-04T00:45:29","date_gmt":"2017-11-04T00:45:29","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=1183"},"modified":"2024-08-12T17:27:24","modified_gmt":"2024-08-12T22:27:24","slug":"upgrade-firmware-on-ubiquiti-airmax-equipment-from-the-command-linessh","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/upgrade-firmware-on-ubiquiti-airmax-equipment-from-the-command-linessh\/","title":{"rendered":"Upgrade Firmware on Ubiquiti Airmax Equipment from the Command Line\/SSH"},"content":{"rendered":"<p>Upgrading the firmware via the command line is super easy.\u00a0 Basic steps are<\/p>\n<ol>\n<li>Upload firmware file to radio using ftp, scp, or download directly to radio using wget<\/li>\n<li>Move the firmware the \/tmp and rename to fwupdate.bin<\/li>\n<li>Upgrade the firmware by running<\/li>\n<\/ol>\n<pre>ubntbox fwupdate.real -m fwupdate.bin<\/pre>\n<h1><\/h1>\n<h1>More Detail explanation<\/h1>\n<h2>Downloading Firmware to Radio<\/h2>\n<p>There are a couple of ways to get the firmware uploaded to the radio<\/p>\n<ol>\n<li>Download from Ubiquiti&#8217;s website and upload via ftp, scp, filezilla or like<\/li>\n<li>Download directly to the radio using wget<\/li>\n<\/ol>\n<h4><em><strong>Using wget<\/strong><\/em><\/h4>\n<p>ssh into the radio.\u00a0 Change username and ip address as needed.<\/p>\n<pre>ssh ubnt@192.168.1.20<\/pre>\n<p>cd to the \/tmp directory<\/p>\n<pre>cd \/tmp<\/pre>\n<p>Find the firmware file on Ubiquiti&#8217;s website, accept the terms, copy the link and paste the link in the terminal after wget.\u00a0 Replace the below link with the appropriate firmware link.<\/p>\n<pre>wget https:\/\/dl.ubnt.com\/firmwares\/XC-fw\/v8.4.2\/WA.v8.4.2.35930.171017.1722.bin<\/pre>\n<p>If you run into issues with wget, try using curl.<\/p>\n<pre>curl -k -o fwupdate.bin -L https:\/\/ui.com\/downloads\/firmwares\/XC-fw\/v8.7.13\/WA.v8.7.13.47729.240606.1144.bin<\/pre>\n<p>Here is what the options mean:<br \/>\n-k mean insecure, which allows us to download via https.\u00a0 There is a certificate error if not used.<br \/>\n-o fwupdate.bin, saves the output file as fwupdate.bin<br \/>\n-L means follow redirects<\/p>\n<h2>Installing Firmware<\/h2>\n<p>Rename firmware<\/p>\n<pre>mv *.bin fwupdate.bin<\/pre>\n<p>Start the upgrade<\/p>\n<pre>ubntbox fwupdate.real -m fwupdate.bin<\/pre>\n<p>The radio will now upgrade and reboot<\/p>\n<h1>Another Method.\u00a0 Using the ubntmod.sh script<\/h1>\n<p>Another way to upgrade a radios firmware from the command line is to use the UBNTMOD tool.\u00a0 More info on the UBNTMOD script is available <a href=\"https:\/\/www.incredigeek.com\/home\/ubntmod\/\">here.<\/a><\/p>\n<p>Make sure you have the firmware downloaded to your computer and run ubntmod.sh with the &#8220;-U&#8221; upgrade option.<\/p>\n<p>Example,<\/p>\n<pre>bob@localhost:~$ .\/ubntmod.sh -i 192.168.1.20 -U WA.v8.4.2.35930.171017.1722.bin<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Upgrading the firmware via the command line is super easy.\u00a0 Basic steps are Upload firmware file to radio using ftp, scp, or download directly to radio using wget Move the firmware the \/tmp and rename to fwupdate.bin Upgrade the firmware &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/upgrade-firmware-on-ubiquiti-airmax-equipment-from-the-command-linessh\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,129],"tags":[528,8,364,221,131,132,361,362,363],"class_list":["post-1183","post","type-post","status-publish","format-standard","hentry","category-command-line","category-linux","category-ubiquiti","tag-airmax","tag-command-line-2","tag-firmware","tag-ssh","tag-ubiquiti-2","tag-ubnt","tag-ubntmod","tag-ubntmod-sh","tag-upgrade"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=1183"}],"version-history":[{"count":13,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1183\/revisions"}],"predecessor-version":[{"id":5863,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1183\/revisions\/5863"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=1183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=1183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=1183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}