Install EdgeRouter X firmware to EdgeRouter X SFP

Same

ubnt@ubnt:/tmp$ add system image lede-17.01.4-ramips-mt7621-ubnt-erx-initramfs-kernel.bin
Checking upgrade image...Upgrade image does not support the device. Upgrade failed.

Maybe change it to *.tar so it gonna be like in guide https://openwrt.org/toh/ubiquiti/ubiquiti_edgerouter_x_er-x_ka#backup_the_original_firmware or something else
Or only way is Serial installation with TFTP ?

I doubt it would help.
UART works for sure

Here https://openwrt.org/toh/ubiquiti/ubiquiti_edgerouter_x_er-x_ka only Serial installation with TFTP and Factory firmware installation method are documented.

UART=Serial

Some guy gave me a link to oid factory.tar and I add system image and all was okay.

But now I'm getting this when I try to connect to router

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!

Is this okay and I need to rm ~/.ssh/known_hosts ? or it's a real man-in-the-middle attack ?

That is regular warning as ssh public key has changed.
Simply remove the line from known_hosts

1 Like

Seems the image I add "lede-ramips-mt7621-ubnt-erx-initramfs-factory.tar" is for ERX with no SFP, because when I try to sysupgrade i get this

sysupgrade openwrt-18.06.0-rc1-ramips-mt7621-ubnt-erx-sfp-squash
fs-sysupgrade.tar
Device ubnt-erx not supported by this image
Supported devices: ubnt-erx-sfp
Image check 'fwtool_check_image' failed.

Can you please help me to get *.tar image for ubnt-erx-sfp

Simply force it with -F

Strange stuff.
I tried to connect to 192.168.1.1 and I can't it's not pinging, also I tried eth0 and eth1.
If I reset it using reset button it will be EdgeOS or the lede image ?

This is why using UART is preffered.
Simply attach UART and flash using it

Do you think it's bricked already ?
Should I give a try and reset it ?
This is https://www.ebay.com/itm/USB-2-0-to-TTL-UART-6PIN-CP2102-Module-Serial-Converter-T1/252583963023 what I should buy ?

Its not hard bricked, you can easily recover from bootloader.
That one should work as its 3.3 and 5V logic level.

Reset button don't help
It should be 3.3 and/or 5V ?
Gonna go to a local shop maybe I will find something. It will be too long to wait it from ebay.
As I understood I can't buy a random UART

You mostly want 3.3V

This https://www.ebay.com/itm/Metal-case-USB2-0-to-TTL-UART-5PIN-Module-Serial-Converter-CP2102-STC-PRGMR/222503843286?epid=1250535213 will be okay too ?

Should be fine,CH341-s work fine too

1 Like

I find one more, it's from my local shop.
USB To TTL Adapter FTDI FT232RL, jumper 3.3v-5v
Will it work ?Or it should be CP2102 ?

Yeah,that one works.
I use a lot of those

I tried using UART and I just get a blank(empty) putty window. I tried speed 9600 and 155200, all is connected as in guide. I don't know what can be the problem

Baud rate is 115200