Author

Topic: Bitmain S3 antMiner_S320141013.bin - Fix (Read 1602 times)

newbie
Activity: 52
Merit: 0
October 24, 2014, 04:37:37 PM
#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
newbie
Activity: 52
Merit: 0
October 24, 2014, 11:52:00 AM
#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
Jump to: