Ok I deleted all the files on the USB, and followed the update guide. I started to write the firmware and got this:
root@piratebox:~# cd /mnt/usb
root@piratebox:/mnt/usb# mtd write -r openwrt-ar71xx-generic-tl-mr3020-v1-squash
fs-factory.bin firmware
Unlocking firmware ...
Writing from openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin to firmware ...
Rebooting ...
Write failed: Broken pipe
I was then kicked out of ssh and when I try to re-connect I get this:
txt-MacBook-Pro:~ txt$ ssh root@192.168.1.1
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
73:91:67:9a:cf:18:3b:6c:00:d3:0e:da:cd:a7:15:60.
Please contact your system administrator.
Add correct host key in /Users/txt/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/txt/.ssh/known_hosts:12
RSA host key for 192.168.1.1 has changed and you have requested strict checking.
Host key verification failed.
root@piratebox:~# cd /mnt/usb
root@piratebox:/mnt/usb# mtd write -r openwrt-ar71xx-generic-tl-mr3020-v1-squash
fs-factory.bin firmware
Unlocking firmware ...
Writing from openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin to firmware ...
Rebooting ...
Write failed: Broken pipe
I was then kicked out of ssh and when I try to re-connect I get this:
txt-MacBook-Pro:~ txt$ ssh root@192.168.1.1
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
73:91:67:9a:cf:18:3b:6c:00:d3:0e:da:cd:a7:15:60.
Please contact your system administrator.
Add correct host key in /Users/txt/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/txt/.ssh/known_hosts:12
RSA host key for 192.168.1.1 has changed and you have requested strict checking.
Host key verification failed.