How to mine Scrypt Jane coins with cgminer 3.7.2 on BAMT 1.2
A bunch of Scrypt Jane based crypto currencies are being released right now with a bold claim of being 'ASIC Proof'. It's time to jump aboard the new train and start printing crypto money!
Patching cgminer
cp -rf /opt/miners/cgminer /opt/miners/jane-cgminer
cd /opt/miners/jane-cgminer
wget https://sites.google.com/site/rmdavidson/cgminer-3.7.2-sj-0.02.patch.gz
gunzip cgminer-3.7.2-sj-0.02.patch.gz
patch <cgminer-3.7.2-sj-0.02.patch
CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPP/include" LDFLAGS="-L/usr/lib" ./configure --prefix=/home/user/jane-cgminer/ --enable-opencl --enable-gpu --enable-scrypt --enable-scrypt-jane
sudo make install
New config file
$ cat /etc/bamt/cgminer.conf
{
"pools" : [
{
"url" : "stratum+tcp://ultra.leetpools.com:3333",
"user" : "benigeri.supa",
"pass" : "x"
}
],
"auto-fan" : true,
"auto-gpu" : true,
"temp-cutoff" : "90",
"temp-overheat" : "85",
"temp-target" : "80",
"gpu-fan" : "0-100",
"intensity" : "20",
"worksize" : "256",
"thread-concurrency" : "24000",
"gpu-platform" : "0",
"gpu-threads" : "1",
"log" : "5",
"no-pool-disable" : true,
"queue" : "0",
"scrypt-jane" : true,
"shares" : "0",
"kernel-path" : "/usr/local/bin",
"sj-time" : "1388361600",
"sj-nfmin" : "4",
"sj-nfmax" : "30",
"expiry" : "10",
"scan-time" : "1",
"gpu-memclock" : "1300",
"gpu-engine" : "1000"
}
Make Munin auto launch and work
The hard part was finding this file: /opt/bamt/common.pl
Change line 962 of /opt/bamt/common.pl
- my $cmd = "cd /opt/miners/cgminer;/usr/bin/screen -d -m -S cgminer /opt/miners/cgminer/cgminer $args";
+ my $cmd = "cd /opt/miners/jane-cgminer;/usr/bin/screen -d -m -S cgminer /opt/miners/jane-cgminer/cgminer $args";
Now you are done!
You can relaunch your mining session by typing:
$ mine restart
Thanks to some random dude's paste bin dump for cgminer patching instructions!