Good evening,
Thank you all for your responses. @RuralRoots special thanks.
Find the answer to your questions below. the md5sum is good.
I tested the ./flash_openwrt.sh script. it still does not work
oot@DELL:/home/dell007/Downloads# md5sum ubnt.bin
5bb23b387defcbd1f6cda5819c7905e5 ubnt.bin
root@DELL:/home/dell007/Downloads#
oot@DELL:/home/dell007/Downloads# ./flash_openwrt.sh
+ IP=192.168.1.20
+ IP_WRT=192.168.1.1
+ HOST=ubnt@192.168.1.20
+ wping 192.168.1.20
+ ping -c 1 -W 1 192.168.1.20
+ sleep 10
+ iscp ubnt.bin ubnt@192.168.1.20:/tmp/
+ sshpass -p ubnt scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=error -oMacs=hmac-sha1 -O ubnt.bin ubnt@192.168.1.20:/tmp/
+ issh ubnt@192.168.1.20 -C fwupdate.real -m /tmp/ubnt.bin
+ sshpass -p ubnt ssh -oMacs=hmac-sha1 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PubkeyAuthentication=no -o LogLevel=error -o ServerAliveInterval=3 -o ServerAliveCountMax=3 ubnt@192.168.1.20 -C fwupdate.real -m /tmp/ubnt.bin
Invalid version 'BZ.qca956x.v3.7.58.6385.170508.0957'
+ wping 192.168.1.20
+ ping -c 1 -W 1 192.168.1.20
+ sleep 10
+ iscp openwrt.bin ubnt@192.168.1.20:/tmp/
+ sshpass -p ubnt scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=error -oMacs=hmac-sha1 -O openwrt.bin ubnt@192.168.1.20:/tmp/
+ issh ubnt@192.168.1.20 mtd write /tmp/openwrt.bin
+ sshpass -p ubnt ssh -oMacs=hmac-sha1 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PubkeyAuthentication=no -o LogLevel=error -o ServerAliveInterval=3 -o ServerAliveCountMax=3 ubnt@192.168.1.20 mtd write /tmp/openwrt.bin
ash: mtd: not found