Post
Topic
Board Hardware
Re: ANTMINER S4 Discussion and Support Thread
by
pikachuy
on 26/10/2014, 08:20:07 UTC
Yes, you can do so, but you have to log in to S4 via SSH. 

Putty software can be downloaded from their website @  http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Modifying the config file value that is not modifiable via the web control panel, may voids the warranty.  Use CAUTION when you modify this setting.

Any file you attempt to make changes, please make a back up file first!!

cp originalfilename originalfilename.copy

then use command such as "vi" to edit the file. 

If something really goes wrong, you can always try to factory reset the S4 by using a paperclip to the bottom hole (left side bottom) next to the LCB screen.  Press and hold the button for at least 5 seconds and let it go.  Then wait for 2 minutes, power it off and power it back on!

If that doesn't work, you can always reimage the default image file from http://www.bitmaintech.com Support Page.


PSA: Tim.Shao19 is from Bitmain Tech


Would something like this apply to the S4 to mine multiple pools simultaneously? https://bitcointalk.org/index.php?topic=395721.0

Or how would we achieve that for the S4?

How do we make changes like this via SSH to stay on reboots?

Thank you so much for the time you've invested to make the S4 more funtional, ckolivas. I'm going to send you a donation tomorrow morning.

I'd like to try ck's new version tomorrow, but I have no idea how to go about updating cgminer. Can anyone shed some light, or point me towards a guide?
Assuming your S4's IP address was say 192.168.1.99:

Code:
ssh -l root 192.168.1.99 (or equivalent with putty)
wget http://ck.kolivas.org/apps/cgminer/antminer/s4/4.6.1-141018/cgminer
mv /usr/bin/cgminer /usr/bin/cgminer.bak
chmod +x cgminer
mv cgminer /usr/bin/cgminer
/etc/init.d/cgminer.sh restart

I think that might not keep across a power cycle though.

Updating cgminer gets defaulted back to it's original cgminer on reboots.