Hi
for aarons6
What i've done and works like a charm (I'm using a technobit Hex8 miner and a blade from gridseed Scrypt miner on the same raspberry/minera rig)
I tuned minera for my first miner with "local miner" option and pools for this miner.
Then for the second miner:
I make a config file in my home/minera folder
Like this:
{
"api-listen": true,
"api-allow": "W:127.0.0.1",
"log-file": "\/var\/log\/minera\/cgminerdmaxlzeus.log",
"pools": [
{
"url": "stratum+tcp:\/\/ispace.co.uk:4461",
"user": "wareck.blade",
"pass": "x"
}
]
}
Note the top of this file...
"api-allow" : "w:127.0.0.1"
This will enable function for use my second miner in minera...
(I explain it later)
Now I make an .sh file for example : go.sh
I put in all my config for start my second miner and pointing to my config file made just before...
Like this :
nano go.sh
#!/bin/bash
/usr/bin/screen -dmS cgminer-dmaxl /var/www/minera/minera-bin/cgminer-dmaxl-zeus --scrypt -c /home/minera/miner_blade.json --api-port 4029
Be carefull to change --api-port to 4029 (4028 is already used by my first miner)
save this file and change right
sudo chmod +x go.sh
lanch it :
./go.sh
now go to your minera setting and "network miner" section
put a miner name , for ip 127.0.0.1 and for miner port 4029 (like in your sh file)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2Fsjc3mz7.jpg%3F1&t=663&c=oGWgno787Dpc7Q)
save
You can now use and check your miner in minera...
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FzLViq6q.jpg%3F1&t=663&c=lcte8yGRlK8KoA)
and you can manage your pool
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FUi9Z8E5.jpg%3F1&t=663&c=kw9V1mW_6-Culw)
To make this working when your raspberry starting:
go to console
sudo nano /etc/rc.local
find "exit 0"
and add before this command line:
su - minera -c "/home/minera/go.sh" // go.sh is your sh file starting the second miner
exit 0
save and all working great !!!
Olivier