I wanted to install OpenWrt in a d-link dir-2640 so I followed the instructions in recovery gui also I tried using curl but without any luck.
I am wondering If anyone knows something extra to install it using curl, I am using ubuntu 20.10 I am not sure if it's because of the version of curl or my device is just locked. (which is strange because I bought it on amazon 7 months ago)
1 download the snapshot: openwrt-ramips-mt7621-dlink_dir-2640-a1-squashfs-factory.bin
2 change my ethernet interface to 192.168.0.2 / 255.255.255.0
3 poweroff the router, press reset, without keep pressing I connected the router to power and wait until the led start to blink orange
4 enter to http://192.168.0.1
5 select the bin and try to upload, that just timeout
1,2,3, steps
4 enter to http://192.168.0.1
5 select firmaware
6 poweroff router, press reset, keep it , power on, until orange blink
7 press upload button in the gui recovery page,
result: firmware upload failed