EdgeRouter: firmware update

EdgeRouter4のfirmware updateの備忘録。公式からfirmwareをdownloadする。今回は2021/1/30時点で最新の「EdgeRouter ER-4/ER-6P/ER-12/ER-12P: Firmware v2.0.9」を導入する。

EdgeRouter4 (ER300) firmware download

ER-Xなどはstorageが少ないためfirmwareのuploadでエラーが出ることもあるようだが、EdgeRouter4は充分な容量があるのでそれほど心配はいらない。

firmwareのupdateは恐らくコンソールでも可能だが、今回はWEB-UIから行う。

EdgeRouter4 firmware update

[Upgrade System Image]の[Upload a File]からダウンロードしたtarファイルをアップロードすれば自動的にfirmwareの更新が行われる。

EdgeRouterはdebianベースで作られたEdgeOSで動作している。CPUがmips64なことに注意すれば色々出来るはずである。

  _____    _
 | ____|__| | __ _  ___          (c) 2010-2020
 |  _| / _  |/ _  |/ _ \         Ubiquiti Networks, Inc.
 | |__| (_| | (_| |  __/
 |_____\__._|\__. |\___|         https://www.ubnt.com
             |___/

Welcome to EdgeOS

By logging in, accessing, or using the Ubiquiti product, you
acknowledge that you have read and understood the Ubiquiti
License Agreement (available in the Web UI at, by default,
http://192.168.1.1) and agree to be bound by its terms.

Linux ER4 4.9.79-UBNT #1 SMP Wed Oct 28 16:51:13 UTC 2020 mips64
Welcome to EdgeOS
Last login: Sat Jan 30 21:44:30 2021 from 192.168.1.2
user@ER4:~$ show system storage
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.3G    159.6M      3.0G   5% /root.dev
overlay                   3.3G    159.6M      3.0G   5% /
devtmpfs                486.7M         0    486.7M   0% /dev
tmpfs                   486.8M         0    486.8M   0% /dev/shm
tmpfs                   486.8M    416.0K    486.4M   0% /run
tmpfs                     5.0M         0      5.0M   0% /run/lock
tmpfs                   486.8M         0    486.8M   0% /sys/fs/cgroup
tmpfs                   486.8M         0    486.8M   0% /lib/init/rw
tmpfs                   486.8M         0    486.8M   0% /run/shm
tmpfs                   486.8M     72.0K    486.8M   0% /var/log
tmpfs                   486.8M      4.0K    486.8M   0% /tmp
none                    486.8M    308.0K    486.5M   0% /opt/vyatta/config
overlay                 486.8M      4.0K    486.8M   0% /opt/vyatta/config/tmp/new_config_1fe59e100fe94886895cd625c1d3dbfd
tmpfs                    97.4M         0     97.4M   0% /run/user/1000
user@ER4:~$ show system image
The system currently has the following image(s) installed:

v2.0.9.5346345.201028.1647     (running image) (default boot)
v1.10.10.5210357.190714.1229

user@ER4:~$
root@ER4:~# cat /etc/version
EdgeRouter.ER-e300.v2.0.9.5346345.201028.1647
root@ER4:~# cat /etc/debian_version
9.13
root@ER4:~# cat /proc/version
Linux version 4.9.79-UBNT (ubnt@0d0770498b9b) (gcc version 4.7.0 (Cavium Inc. Version: SDK_BUILD build 54) ) #1 SMP Wed Oct 28 16:51:13 UTC 2020
root@ER4:~#