LoginSignup
3
5

More than 5 years have passed since last update.

EdgeRoute Xの購入とファームウェアアップデート

Last updated at Posted at 2017-11-03

Edge RouterXを購入

海外からの輸入も考えたけれど、送料とか色々考えるとamazon.co.jpで買っても値段はそんなに変わらないため、amazonでポチッと。

初期設定

ER-Xのeth0にLANケーブルを接続する。
初期はDHCPが無効なためclientの端末のIPアドレスを手動で変更する。
今回だと下記で設定した。ちなみにER-Xの初期IPは192.168.1.1/24

IP: 192.168.1.10
netmask: 255.255.255.0
gateway: なし

edgegrouterにsshでアクセスする。
先程書いたとおり、edge routerの初期IPは192.168.1.1/24でuser,passともにubnt

~ » ssh ubnt@192.168.1.1                                         onodes@Capser2
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.

ubnt@192.168.1.1's password:
Linux ubnt 3.10.14-UBNT #1 SMP Mon Nov 2 16:45:25 PST 2015 mips
Welcome to EdgeOS
ubnt@ubnt:~$

Firmware update

届いたEdgeRouterがv1.7.1だったので、最新にupdateする。せっかくなのでCLIで実施

公式サイトから最新版のfirmwareをダウンロードする。tarファイルになってるけど、特に解凍せずにそのままscpでERに送りつける。
送りつけた後は、EdgeRouterの中で適用を行う。

Linux ubnt 3.10.14-UBNT #1 SMP Mon Nov 2 16:45:25 PST 2015 mips
Welcome to EdgeOS
Last login: Thu Jan  1 01:17:03 2015 from 192.168.1.10
ubnt@ubnt:~$ ls
ER-e50.v1.9.7+hotfix.4.5024279.tar (←このファイルが送ったやつ)

実際に適用する

ubnt@ubnt:~$ add system image ER-e50.v1.9.7+hotfix.4.5024279.tar
Checking upgrade image...Done
Preparing to upgrade...Done
Copying upgrade image...Done
Removing old image...Done
Checking upgrade image...Done
Copying config data...Done
Finishing upgrade...Done
Upgrade completed

適用後system imageを確認する。

ubnt@ubnt:~$ show system image
The system currently has the following image(s) installed:

v1.9.7+hotfix.4.5024279.171006.0255 (default boot)
v1.7.1.4821926.151103.1114     (running image)

A reboot is needed to boot default image

rebootすれば、1.9.7がで立ち上がるとのことなので、rebootする。

ubnt@ubnt:~$ reboot
Proceed with reboot? [confirm]y

Broadcast message from root@ubnt (pts/0) (Thu Jan  1 01:22:49 2015):

The system is going down for reboot NOW!
ubnt@ubnt:~$
ubnt@ubnt:~$ packet_write_wait: Connection to 192.168.1.1 port 22: Broken pipe

再起動後再びER-Xにログインする。

ubnt@192.168.1.1's password:
Linux ubnt 3.10.14-UBNT #1 SMP Wed Aug 30 02:34:16 PDT 2017 mips
Welcome to EdgeOS
ubnt@ubnt:~$ show system image
The system currently has the following image(s) installed:

v1.9.7+hotfix.4.5024279.171006.0255 (running image) (default boot)
v1.7.1.4821926.151103.1114

running imageがv1.9.7に変わっていることがわかる。

3
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
5