EdgeRouter X



    1. Set-up static ip adress and gateway (see below)
    2. Connect on eth port 0
    3. Access (ubiquiti web interface)

    Note: default user ubnt, default password ubnt


    Install OpenWRT

    Through ssh, see below for the user/password

    Installing OpenWrt on these devices requires two steps: first to install a minimal “factory” image (filename includes initramfs-factory), then from that using the standard OpenWrt “sysupgrade” facility to install a full-fledged OpenWrt image (filename includes squashfs-sysupgrade).

    • flash the .tar and reboot: add system image /tmp/openwrt-ramips-mt7621-ubnt-erx-initramfs-factory.tar
    • change ethernet port from eth0 to eth1, now user is root and no ubnt
    • flash sysupgrade -n /tmp/openwrt-19.07.8-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.bin note, weirdly I had to reset (~10 second pushing) the openwrt to be able to run the sysupgrade command.


    Note: If at any point you soft-brick your router, you can recover it with the EdgeOS image following instructions here. See also revert to stock firmware.


    Note: To upgrade to the latest 21.02, I used the forcing upgrade sysupgrade -v -F -n /tmp/openwrt-21.02.0-ramips-mt7621-ubnt_edgerouter-x-squashfs-sysupgrade.bin from an OpenWRT installation, else it would not go because it was uncapable to migrate the configuration. Careful if you already have some configurtion it will be lost ! Then I had to run in failsafe (push reset button approx 5 seconds and release, then access it in ssh and run first_boot, then reboot).

    Hash: SHA256
    bdbc39358555d861f9442f54c10e0b026314247b6faa8176d79e037c72112b80  openwrt-19.07.8-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.bin
    7c530d990b83d045edbbe77c9447976f7d7bdadcfde70ba96ebc25f814c4c521  openwrt-21.02.0-ramips-mt7621-ubnt_edgerouter-x-squashfs-sysupgrade.bin
    1862167e0edddd198d3c811762774272474f82474996c32b72f4c70fb945f0dd  openwrt-ramips-mt7621-ubnt-erx-initramfs-factory.tar
    -----END PGP SIGNATURE-----

    Brick device

    It happened once... no way to boot on failsafe.

    1. you reset 30 seconds
    2. with tftp, you flash to through port 0
    tftp> connect
    tftp> binary
    tftp> put ER-e50.recovery.v2.0.6.5208541.190708.0508.16de5fdde.img.signed
    1. wait a little bit (3 to 5 minutes), to my case I had eth 0 led on for a while
    2. then follow "Install OpenWRT" part, you will have to go through 19.07 version FIRST then 21.02 (21.02 does not work first)