![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 26, 2014, 02:51:11 AM |
|
Some information I use on my S2.. I've only had mine for a few weeks so I am not versed in recovery methods yet. Please use caution etc.
Persistent files go into /config where you will find shadow (a copy of /etc/passwd), asic-freq.config (your under/over clocking values), lighttpd-htdigest.user (contains web password).
After setting my root password with standard passwd command. Testing it etc. Then I copy /etc/shadow over to /config/shadow in preparation for saving.
The web password seems to set properly for me using the web console. However, if you have trouble you can look at the /www/pages/cgi-bin/passwd.cgi and see how it is storing the web password. It simply goes into /config/lighttpd-htdigest.user as an md5 hash.
echo -n 'root:antMiner Configuration:your_password' | md5sum | cut -b -32
And that should show you the hash value to use in the lighttpd-htdigest.user file on that 'root:antMiner Configuration' key.
Not sure if you'd have to make the change to /etc/lighttpd-htdigest.user as well to test the changes.
Once you've tested all the changes and they work ok, the trick to burn the configuration is to use the web console Miner Configuration tab and hit the Save & Apply button.
|