SP20 bulk setup mini-HOWTOWhile setting up my SP20 mini-farm, I tried to figure a process to speed up the config steps usually required to perform over the Web-UI. The following might be useful for you if you need to configure a batch of SP20 devices with the same configuration.
Please ignore if this has been posted already.
Step 1: FW upgradeIf your units are freshly delivered, upgrade all to latest (mine was 2.6.1)
Step 2: configure your reference unita) If you need non-standard cgminer configuration (e.g. API access from your monitoring server), ssh into unit and modify /etc/cgminer.conf.template to your needs.
b) configure the reference unit; this scheme covers: root password, UI password, pool settings, HW settings
c) start cgminer and ensure the unit is mining according to the desired configuration
Step 3: grab reference config filesa) on your (Linux) PC, create a fresh directory and cd into it
b) scp from your reference unit the following files
- /etc/cgminer.conf
- /etc/cgminer.conf.template
- /etc/mg_custom_mode_sp20
- /etc/shadow
- /etc/ui.pwd
Step 4: bulk clone configsa) scp all files to your remaining units (root/root)
Step 5: start the farma) open each unit in Web-UI (use the UI password set in step 2)
b) start cgminer
The process improvement is marginal for up to 5 units, but worth if you deal with 10+. It is also less error-prone and can serve as template for automated processing.
Happy mining!