summaryrefslogtreecommitdiffstats
path: root/content/posts/upgrading-ubiquiti-routers-over-ssh.md
diff options
context:
space:
mode:
authorbreadcat2020-06-19 12:23:15 +0100
committerbreadcat2020-06-19 12:23:15 +0100
commit70bb5d5a801428b0fb390abf79f19ffcf5e29c67 (patch)
treeb9fd7990156bd58bc38d58f91829c05933215102 /content/posts/upgrading-ubiquiti-routers-over-ssh.md
parent0f9a31348079c0a061bcc194912e75cc1c07bc1f (diff)
downloadblog.minskio.co.uk-70bb5d5a801428b0fb390abf79f19ffcf5e29c67.tar.gz
blog.minskio.co.uk-70bb5d5a801428b0fb390abf79f19ffcf5e29c67.tar.bz2
blog.minskio.co.uk-70bb5d5a801428b0fb390abf79f19ffcf5e29c67.zip
Simple migration of existing posts to hugo format
Diffstat (limited to 'content/posts/upgrading-ubiquiti-routers-over-ssh.md')
-rw-r--r--content/posts/upgrading-ubiquiti-routers-over-ssh.md42
1 files changed, 42 insertions, 0 deletions
diff --git a/content/posts/upgrading-ubiquiti-routers-over-ssh.md b/content/posts/upgrading-ubiquiti-routers-over-ssh.md
new file mode 100644
index 0000000..cf274f5
--- /dev/null
+++ b/content/posts/upgrading-ubiquiti-routers-over-ssh.md
@@ -0,0 +1,42 @@
+---
+title: "Upgrading Ubiquiti Routers Over SSH"
+date: 2019-03-27T14:55:00
+tags: ["guides", "hardware", "linux", "networks", "servers", "software"]
+---
+
+In the past, I usually check for ubiquiti router firmware updates via [RSS feed](https://community.ubnt.com/ubnt/rss/board?board.id=Blog_EdgeMAX), and to apply them I open a reverse SSH tunnel to the web interface and upload the file over this tunnel.
+This is somewhat inefficient however as you're uploading firmware over a few additional links in a chain that aren't really required.
+
+
+This guide is a simple repurposing of the [following help article](https://help.ubnt.com/hc/en-us/articles/205146110-EdgeRouter-How-to-Upgrade-the-EdgeOS-Firmware#3), albeit somewhat abridged.
+
+To solve this (and speed up the process in general) you can do the full upgrde via SSH.
+
+Firstly, you'll want to SSH into your router:
+```
+ssh username@routerip
+```
+The default username and password are both `ubnt`, but it's highly recommended you change this.
+
+Then check the currently running firmware version via:
+```
+show version
+```
+
+Then upload the image
+```
+add system image https://dl.ubnt.com/firmwares/edgemax/v2.0.x/ER-e100.v2.0.1.5174691.tar
+```
+Verify the firmware is the correct version for the model of router you're using.
+
+Then check the image is installed and will be booted from:
+```
+show system image
+```
+
+Lastly, reboot the router to apply the image:
+```
+reboot
+```
+
+And you're done. \ No newline at end of file