yonydouna (OP)
Newbie
Offline
Activity: 15
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 23, 2018, 10:11:55 PM |
|
I have a D3 that some time ago I installed the latest version of blissz firmware and it went great, recently I had to reinstall the original bitmain firmware for maintenance issues and when I'm going to reinstall the Blissz firmware I get a message that says "Cannot find Signature !!!", does anyone know how to fix it?
It is urgent for me to have Blissz's firmware since bitmain has a lot of problems, thanks. Cry Cry
|
|
|
|
BitMaxz
Legendary
Offline
Activity: 3374
Merit: 3094
BTC price road to $80k
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 23, 2018, 10:42:21 PM |
|
Have you tried to check the firmware first if its compatible with your D3 it might be incompatible that is why it shows "cannot find Signature"
You must flash your miner with a correct firmware if you flash it with incompatible firmware it might brick your miner or it may cause more errors.
I suggest you to always use the firmware from bitmain for safety purposes.
|
|
|
|
yonydouna (OP)
Newbie
Offline
Activity: 15
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 23, 2018, 11:12:47 PM |
|
Have you tried to check the firmware first if its compatible with your D3 it might be incompatible that is why it shows "cannot find Signature"
You must flash your miner with a correct firmware if you flash it with incompatible firmware it might brick your miner or it may cause more errors.
I suggest you to always use the firmware from bitmain for safety purposes.
I'm sure it's compatible because that firmware I had previously installed in the ASIC and I was mining with it for almost 3 months, only for maintenance issues I had to install the previous one and now when I try to reinstall the Blissz version, I get with this message
|
|
|
|
mikeywith
Legendary
Offline
Activity: 2352
Merit: 6514
be constructive or S.T.F.U
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2018, 03:28:24 AM |
|
this happened because you installed the the latest D3 firmware which has the signature check function which the current blissz you trying to flush doesn't match with.
you have 3 solutions for this, i will start with the easiest.
1- hard reset your miner " not through the web" but with by pressing the reset bottom for 5 seconds
2-find an older/different version of the D3 firmware, flush it, and then flush blissz
3- long story but 100% guaranteed to work.
modify the current firmware on your miner by using putty SSH.
get to the upgrade.cgi file and you will find a function related to md5 check ,which checks the signature before installing it, you need to either delete it or comment it, if you don't know how to do it,send the code and i'll modify it for you.
*edit > please move your topic to the mining support. you will get more people trying to help there. you can do so by using clicking the "move topic" bottom found on the bottom left side .
|
|
|
|
yonydouna (OP)
Newbie
Offline
Activity: 15
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2018, 07:09:12 AM |
|
this happened because you installed the the latest D3 firmware which has the signature check function which the current blissz you trying to flush doesn't match with.
you have 3 solutions for this, i will start with the easiest.
1- hard reset your miner " not through the web" but with by pressing the reset bottom for 5 seconds
2-find an older/different version of the D3 firmware, flush it, and then flush blissz
3- long story but 100% guaranteed to work.
modify the current firmware on your miner by using putty SSH.
get to the upgrade.cgi file and you will find a function related to md5 check ,which checks the signature before installing it, you need to either delete it or comment it, if you don't know how to do it,send the code and i'll modify it for you.
*edit > please move your topic to the mining support. you will get more people trying to help there. you can do so by using clicking the "move topic" bottom found on the bottom left side .
Ok, I already moved it, I'm new in this forum, sorry I'm going for the second option, any idea of where I can get an old version of the D3 firmware? since in the official page only the last version appears.
|
|
|
|
|
yonydouna (OP)
Newbie
Offline
Activity: 15
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2018, 03:36:43 PM |
|
It does not work, I get the same message "Cannot find Signature!!!", it's really annoying ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) Any suggestions?
|
|
|
|
thierry4wd
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2018, 05:02:33 PM |
|
A thank you can be already, and hello to the first post? and mikeywith has already given solutions to explore ...
|
|
|
|
yonydouna (OP)
Newbie
Offline
Activity: 15
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2018, 07:00:18 PM |
|
A thank you can be already, and hello to the first post? and mikeywith has already given solutions to explore ...
Hi, I really planned to thank everyone once I explored all the solutions and closed the post, you have been a good Samaritan in passing me that firmware and I thank you very much, the reason why I ask for any suggestion is because I already try The first 2 solutions of mikeywith no success ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) , the firmware seems to be resicted even to its own older versions and also manually reset the D3 but the firmware remains the same (Tue Nov 13 11:46:56 CST 2018) , the third option of mikeywith seems to be the most suitable but I have no idea how to do it, I will write to the private one to see if you can help me more closely, or if you or someone else here knows how to do with the third solution. BTW: Sorry for my bad English, it's not my first language but I do my best ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
|
|
|
|
mikeywith
Legendary
Offline
Activity: 2352
Merit: 6514
be constructive or S.T.F.U
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2018, 10:10:59 PM |
|
ok first thing first here is a link the contains 4 different firmware for D3, mixed between bitmain and blissz , try each and everyone of them * please scan for virus before you download, just to be safe. https://ufile.io/oxzkc------------------------------------------- if everything fails then as i mentioned you need to modify the current firmware on your miner to force it to allow you a different firmware. you will need to use a ssh tool like putty. type the ip address of the miner in putty , keep port 22 * if message pop up > click Yes username :root password:admin then you will be inside the miner. copy paste this line > hit enter like this ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2F8R2WCDt.jpg&t=665&c=l9XVfwjbYYQmGA) then type this you will get something like this ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FveCdS0V.jpg&t=665&c=Z98z-GsWkuy7qA) but yours will be different, there will be something like If sign *** signature not found
else sh runme.sh you need to copy paste the code for me here to modify it, if you don't understand programming. if you do, then it would be easy, just remove the IF statment. -------------- and if you speak russian you can visit the website > the solutation i am propsoing is actually taken from this Russian website https://forum.bits.media/index.php?/topic/65678-%D1%81%D1%82%D0%BE%D1%80%D0%BE%D0%BD%D0%BD%D1%8F%D1%8F-%D0%BF%D1%80%D0%BE%D1%88%D0%B8%D0%B2%D0%BA%D0%B0-%D0%B4%D0%BB%D1%8F-antminer-l3-%D0%BE%D1%82-blissz/&page=5&tab=comments#comment-1703686even if you don't understand russian, you can follow my directions and then look for the picture for the upgrade file, it's in english and could be exactly like yours, if it is, just follow the picture, if it is not, just paste the code here i will modifiy it for you. also keep in mind the default upgrade file will be locked ,you cant modify, only view. you need to click 'I' to modify it. -------------- let us know how it goes.
|
|
|
|
yonydouna (OP)
Newbie
Offline
Activity: 15
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2018, 10:34:03 PM |
|
ok first thing first here is a link the contains 4 different firmware for D3, mixed between bitmain and blissz , try each and everyone of them * please scan for virus before you download, just to be safe. https://ufile.io/oxzkc------------------------------------------- if everything fails then as i mentioned you need to modify the current firmware on your miner to force it to allow you a different firmware. you will need to use a ssh tool like putty. type the ip address of the miner in putty , keep port 22 * if message pop up > click Yes username :root password:admin then you will be inside the miner. copy paste this line > hit enter like this https://i.imgur.com/8R2WCDt.jpgthen type this you will get something like this https://i.imgur.com/veCdS0V.jpgbut yours will be different, there will be something like If sign *** signature not found
else sh runme.sh you need to copy paste the code for me here to modify it, if you don't understand programming. if you do, then it would be easy, just remove the IF statment. -------------- and if you speak russian you can visit the website > the solutation i am propsoing is actually taken from this Russian website https://forum.bits.media/index.php?/topic/65678-%D1%81%D1%82%D0%BE%D1%80%D0%BE%D0%BD%D0%BD%D1%8F%D1%8F-%D0%BF%D1%80%D0%BE%D1%88%D0%B8%D0%B2%D0%BA%D0%B0-%D0%B4%D0%BB%D1%8F-antminer-l3-%D0%BE%D1%82-blissz/&page=5&tab=comments#comment-1703686even if you don't understand russian, you can follow my directions and then look for the picture for the upgrade file, it's in english and could be exactly like yours, if it is, just follow the picture, if it is not, just paste the code here i will modifiy it for you. also keep in mind the default upgrade file will be locked ,you cant modify, only view. you need to click 'I' to modify it. -------------- let us know how it goes. Thanks bro, I will be reporting between tomorrow and Wednesday (since today is a holiday), Merry Christmas ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
yonydouna (OP)
Newbie
Offline
Activity: 15
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 25, 2018, 07:56:10 PM |
|
ok first thing first here is a link the contains 4 different firmware for D3, mixed between bitmain and blissz , try each and everyone of them * please scan for virus before you download, just to be safe. https://ufile.io/oxzkc------------------------------------------- if everything fails then as i mentioned you need to modify the current firmware on your miner to force it to allow you a different firmware. you will need to use a ssh tool like putty. type the ip address of the miner in putty , keep port 22 * if message pop up > click Yes username :root password:admin then you will be inside the miner. copy paste this line > hit enter like this https://i.imgur.com/8R2WCDt.jpgthen type this you will get something like this https://i.imgur.com/veCdS0V.jpgbut yours will be different, there will be something like If sign *** signature not found
else sh runme.sh you need to copy paste the code for me here to modify it, if you don't understand programming. if you do, then it would be easy, just remove the IF statment. -------------- and if you speak russian you can visit the website > the solutation i am propsoing is actually taken from this Russian website https://forum.bits.media/index.php?/topic/65678-%D1%81%D1%82%D0%BE%D1%80%D0%BE%D0%BD%D0%BD%D1%8F%D1%8F-%D0%BF%D1%80%D0%BE%D1%88%D0%B8%D0%B2%D0%BA%D0%B0-%D0%B4%D0%BB%D1%8F-antminer-l3-%D0%BE%D1%82-blissz/&page=5&tab=comments#comment-1703686even if you don't understand russian, you can follow my directions and then look for the picture for the upgrade file, it's in english and could be exactly like yours, if it is, just follow the picture, if it is not, just paste the code here i will modifiy it for you. also keep in mind the default upgrade file will be locked ,you cant modify, only view. you need to click 'I' to modify it. -------------- let us know how it goes. Hello mikeywith, I hope you have spent a happy Christmas, I inform you that I have done so far. First, I tried testing with the frimware that I had and as expected by me, they did not work, in fact some like the "NoFee" had already tested them before. ------------------------------------------------- Given this, I started with the program of PuTTY with my IP and I made step by step what you indicated to me, - Loging, placing the password (So far everything went the same as the images you placed) and I had this result: login as: root root@192.168.0.6's password: root@antMiner:~# cd /www/pages/cgi-bin root@antMiner:/www/pages/cgi-bin# vi upgrade.cgi #!/bin/sh -e
# POST upload format: # Content-Disposition: form-data; name="file1"; filename="..."^M # Content-Type: application/octet-stream^M # file contents # file contents # file contents
file=/tmp/$$
trap atexit 0
atexit() { rm -rf $file #umount $file.boot 2>/dev/null || true #rmdir $file.boot 2>/dev/null || true sync if [ ! $ok ]; then print "<h1>System upgrade failed</h1>" fi }
- upgrade.cgi 1/219 0% I leave the code so I wait for the next step and how to modify the file since I am not an expert in programming (I dedicate myself more to the Hardware part ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) )
|
|
|
|
mikeywith
Legendary
Offline
Activity: 2352
Merit: 6514
be constructive or S.T.F.U
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 26, 2018, 03:47:53 PM |
|
ok you donig good so far, but the code is incomplete, you need to scroll down use the "down arrow" on the keyboard there will be more code. you see this it means you are now at Line no 1 out if 219 lines. you need to click the down arrow a few times until you find a part like this
|
|
|
|
yonydouna (OP)
Newbie
Offline
Activity: 15
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 26, 2018, 06:33:17 PM Last edit: December 26, 2018, 07:37:05 PM by yonydouna |
|
ok you donig good so far, but the code is incomplete, you need to scroll down use the "down arrow" on the keyboard there will be more code. you see this it means you are now at Line no 1 out if 219 lines. you need to click the down arrow a few times until you find a part like this You mean this code? #if [ -f runme.sh ]; then # sh runme.sh #else # echo "Incorrect firmware!!!!" >> /tmp/upgrade_result #fi
# # if [ -e /dev/mmcblk0p3 ]; then # mkdir $file.boot # mount /dev/mmcblk0p1 $file.boot # cp -rf * $file.boot/ # umount $file.boot # sync # fi # if [ -e /dev/mtd8 ]; then # if [ -e initramfs.bin.SD ]; then # echo "flash romfs" # flash_eraseall /dev/mtd8 >/dev/null 2>&1 # nandwrite -p /dev/mtd8 initramfs.bin.SD >/dev/null 2>&1 # fi # # if [ -e uImage.bin ]; then # echo "flash kernel" # flash_eraseall /dev/mtd7 2>/dev/null # nandwrite -p /dev/mtd7 uImage.bin 2>/dev/null # fi # fi #fi
ant_result=`cat /tmp/upgrade_result`
# CGI output must start with at least empty line (or headers) BTW/EDIT: I started to "read" what I could understand the Russian server and I leave you the code that I saw on the page, I do not know if it is this or the one above that needs to be modified: if [ ! -f runme.sh.sig ]; then echo "Cannot Find Signature!!!" >> /tmp/upgrade_result else openssl dgst -sha256 -verify /etc/bitmain-pub.pem -signature runme.sh.sig runme.sh >/dev/null 2>&1 res=$? if [ $res -eq 1 ]; then echo "Installer Not Signtured!!!" >> /tmp/upgrade_result else if [ -f runme.sh ]; then sh runme.sh else echo "Incorrect firmware!!!!" >> /tmp/upgrade_result fi fi fi
#if [ -f runme.sh ]; then # sh runme.sh #else # echo "Incorrect firmware!!!!" >> /tmp/upgrade_result #fi
|
|
|
|
mikeywith
Legendary
Offline
Activity: 2352
Merit: 6514
be constructive or S.T.F.U
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 26, 2018, 07:41:07 PM |
|
no you went too far down, search around line line no 40. refer to the image i gave you from the Russian website > ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fforum.bits.media%2Fuploads%2Fmonthly_2018_12%2F176069530_2018-12-0419_48_19.png.a447fba7e31d74b4d083a1a9dc1cbd56.png&t=665&c=N8wq9gd8cHhaRQ) you need to find these lines that he put blue rectangular, you need to find those 2 part of codes and delete them. they are usually around line no 40, but could be different , you just need to scroll until you find them.
|
|
|
|
yonydouna (OP)
Newbie
Offline
Activity: 15
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 26, 2018, 08:01:16 PM |
|
Yes, I realized, I had edited the post seconds before your comment ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) ------------------------- if [ ! -f runme.sh.sig ]; then echo "Cannot Find Signature!!!" >> /tmp/upgrade_result else openssl dgst -sha256 -verify /etc/bitmain-pub.pem -signature runme.sh.sig runme.sh >/dev/null 2>&1 res=$? if [ $res -eq 1 ]; then echo "Installer Not Signtured!!!" >> /tmp/upgrade_result else if [ -f runme.sh ]; then sh runme.sh else echo "Incorrect firmware!!!!" >> /tmp/upgrade_result fi fi fi
#if [ -f runme.sh ]; then # sh runme.sh #else # echo "Incorrect firmware!!!!" >> /tmp/upgrade_result #fi Fine, I already have the code, what's next?
|
|
|
|
mikeywith
Legendary
Offline
Activity: 2352
Merit: 6514
be constructive or S.T.F.U
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 26, 2018, 09:58:52 PM Last edit: December 28, 2018, 10:55:08 PM by mikeywith |
|
you need to alter the code make it look like this # if [ ! -f runme.sh.sig ]; then # echo "Cannot Find Signature!!!" >> /tmp/upgrade_result #else # openssl dgst -sha256 -verify /etc/bitmain-pub.pem -signature runme.sh.sig runme.sh >/dev/null 2>&1 # res=$? # if [ $res -eq 1 ]; then # echo "Installer Not Signtured!!!" >> /tmp/upgrade_result #else # if [ -f runme.sh ]; then # sh runme.sh # else # echo "Incorrect firmware!!!!" >> /tmp/upgrade_result # fi # fi #fi
if [ -f runme.sh ]; then sh runme.sh else echo "Incorrect firmware!!!!" >> /tmp/upgrade_result fi
you have to add # to disable the first lines, and remove the # to active the last lines. add # to the first 15 lines, and remove # from the next 5 lines. --------------------- to be able to edit, you need to click letter " i" on keyboard. when you done editing type then re-open the file to verify the editing worked by typing this if the edition is good save and exist by typing the following once done , restart the miner . and try to upload the firmware. * do not restart the miner *do this at your own risk. please make sure you don't make any mistake in the code, you don't have to TYPE or DELETE anything, just use # to disable lines, and delete # to enable lines. your codes should like the one in the image i sent in my last post. EDITED : thanks to yonydouna and effud for correcting the restart part.
|
|
|
|
yonydouna (OP)
Newbie
Offline
Activity: 15
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 26, 2018, 10:25:53 PM |
|
you need to alter the code make it look like this # if [ ! -f runme.sh.sig ]; then # echo "Cannot Find Signature!!!" >> /tmp/upgrade_result #else # openssl dgst -sha256 -verify /etc/bitmain-pub.pem -signature runme.sh.sig runme.sh >/dev/null 2>&1 # res=$? # if [ $res -eq 1 ]; then # echo "Installer Not Signtured!!!" >> /tmp/upgrade_result #else # if [ -f runme.sh ]; then # sh runme.sh # else # echo "Incorrect firmware!!!!" >> /tmp/upgrade_result # fi # fi #fi
if [ -f runme.sh ]; then sh runme.sh else echo "Incorrect firmware!!!!" >> /tmp/upgrade_result fi
you have to add # to disable the first lines, and remove the # to active the last lines. add # to the first 15 lines, and remove # from the next 5 lines. --------------------- to be able to edit, you need to click letter " i" on keyboard. when you done editing type then re-open the file to verify the editing worked by typing this if the edition is good save and exist by typing the following once done , restart the miner . and try to upload the firmware. * do this at your own risk. please make sure you don't make any mistake in the code, you don't have to TYPE or DELETE anything, just use # to disable lines, and delete # to enable lines. your codes should like the one in the image i sent in my last post. Being honest, it seems very simple, Add # at the beginning of the first 15 lines and delete (Key delate) the last 5 #, but now my questions are... 1) While I am editing, can I close and open the PuTTY without danger while I have not saved the changes? (:wq) 2) Assuming the worst case, if a mistake is made, is it possible to reverse it? reinstall the firmware, set it factory default, and start over?
|
|
|
|
mikeywith
Legendary
Offline
Activity: 2352
Merit: 6514
be constructive or S.T.F.U
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 26, 2018, 10:32:38 PM |
|
1) While I am editing, can I close and open the PuTTY without danger while I have not saved the changes? (:wq)
2) Assuming the worst case, if a mistake is made, is it possible to reverse it? reinstall the firmware, set it factory default, and start over?
1- yes if you use the "x" bottom on top ,the setting won't be saved. 2- in theory the worst case scnerio is that you'll need to reset the miner. but still shit can happen. since you are not going to do any coding , you shouldn't make any mistake, before you save just revise the code 2-3 times, compare it to the prev code you pasted here, make sure you have not deleted anything.
|
|
|
|
|