{"id":5343,"date":"2016-09-04T16:42:20","date_gmt":"2016-09-04T22:42:20","guid":{"rendered":"http:\/\/gregsowell.com\/?p=5343"},"modified":"2016-09-04T16:42:20","modified_gmt":"2016-09-04T22:42:20","slug":"upgrade-ubiquiti-edgemax-edgerouter-from-cli","status":"publish","type":"post","link":"https:\/\/gregsowell.com\/?p=5343","title":{"rendered":"Upgrade Ubiquiti EdgeMax EdgeRouter From CLI"},"content":{"rendered":"<p>I dusted off my EdgeRouter Lite earlier today, and went to upgrade it, but it turns out my old version of code was buggy and wouldn&#8217;t update from the web GUI.  A quick google shows there is a method via CLI:<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">add system image http:\/\/192.168.1.5\/ER-e100.v1.9.0.4901118.tar<\/code><\/pre>\n<p>I used <a href=\"http:\/\/www.rejetto.com\/hfs\/\">HSF<\/a> to run a quick simple webserver on my laptop to transfer the image.<\/p>\n<p>A cool feature of the EdgeRouters is the fact that it maintains two copies of firmware, new\/old.  This way if the new image fails to boot, it will fall back to the old.  You can show the existing images with:<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">show system image<\/code><\/pre>\n<p>You can find the simple UBNT <a href=\"https:\/\/help.ubnt.com\/hc\/en-us\/articles\/205146110-EdgeMAX-Upgrading-EdgeOS-firmware\">documentation on it here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I dusted off my EdgeRouter Lite earlier today, and went to upgrade it, but it turns out my old version of code was buggy\u2026<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,38],"tags":[],"class_list":["post-5343","post","type-post","status-publish","format-standard","hentry","category-networking","category-ubiquiti"],"_links":{"self":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/5343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5343"}],"version-history":[{"count":1,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/5343\/revisions"}],"predecessor-version":[{"id":5344,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/5343\/revisions\/5344"}],"wp:attachment":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}