Bitcoin Forum
May 31, 2024, 01:25:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitmain S3 antMiner_S320141013.bin - Fix  (Read 1585 times)
Ustler (OP)
Newbie
*
Offline Offline

Activity: 52
Merit: 0


View Profile
October 24, 2014, 04:52:00 PM
 #1

S3 firmware containing cgminer 4.6.1 has a issue with one of the config pages (preventing you from modifying the "Miner Configuration" page) in certain browsers (due to XML error)


To fix:

1) Putty to S3
2) Navigate to /usr/lib/lua/luci/model/cbi/cgminer/
3) vi cgminer.lua
4) Locate the "Save&Apply" section
5) Press i to insert
6) Navigate to right after the & and change this to "&"
7) Press escape and enter ":wq"

The resulting line should look like
pb = conf:taboption("advanced", Value, "voltage", translate("voltage"),"Modify voltage and Save&Apply, then need to Power off and Restart")


Do not attempt unless you know what you are doing.

Bitmain may simply fix this in the firmware so it may be worth the wait.

Donations: 19UCaVUvJ7kamCU2zdBioTgjFSUxmaqp3H
Ustler (OP)
Newbie
*
Offline Offline

Activity: 52
Merit: 0


View Profile
October 24, 2014, 09:37:37 PM
Last edit: October 24, 2014, 11:03:18 PM by Ustler
 #2

Faster way to fix it is simply doing:

1) SSH to S3
2) Paste the following

Code:
sed -i 's/Save\&Apply/Save\&Apply/g' /usr/lib/lua/luci/model/cbi/cgminer/cgminer.lua

3) Execute the following to restart cgminer:
Code:
/etc/init.d/cgminer restart
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!