Solo Mining Tutorial - Windows version

this is a solo mining tutorial tested on Windows Xp, 32 bit.
You will need also an ASIC USB Block Erupter or other ASIC device(s) supported by cgminer or bfgminer.

0 - prerequisites: you need to have Java 1.6 or greater installed.

If you are unsure if you have Java, go here and follow the instructions to check: https://www.java.com/en/download/installed.jsp
To install Java, go here and click on the Download button: https://www.java.com/en/download/windows_xpi.jsp?locale=en

1 - download the Windows Wallet binaries

download the Windows Wallet binaries from here
if on windows your username is "username", you can download and save the archive in "C:\Documents and Settings\username\Documents\Downloads"

2 - uncompress the archive

you can uncompress the archive in a directory named "C:\Documents and Settings\username\Documents\Downloads\medcoin-win32-v0.8.5.2"

3 - open an msdos prompt

click on start button, then choose "run", type "cmd" and press enter; a (usually black) windows open, click on it and go in the wallet directory with the command:

cd "C:\Documents and Settings\username\Documents\Downloads\medcoin-win32-v0.8.5.2"

4 - launch the wallet the first time

in the same msdos prompt, type the command:

mediterraneancoin-qt.exe -server

if this is the first time you execute mediterraneancoin-qt.exe, you will get a long error message and the walle will stop; after that, you need to create a configuration file with username and password:

5 - create and edit the configuration file

create and edit the following file "c:\Documents and Settings\username\Application Data\mediterraneancoin\mediterraneancoin.conf" (you can use notepad or any other text editor) containing:

server=1
rpcuser=mediterraneancoinrpc
rpcpassword=choose a long and casual string of characters!!
addnode=node1.mediterraneancoin.org
addnode=node2.mediterraneancoin.org
addnode=node3.mediterraneancoin.org
addnode=node4.mediterraneancoin.org

Save the file but keep it open (you will need rpcuse and rpcpassword values later).

6 - now launch the wallet the second time

now you can simply double click on the wallet icon; or using the same msdos prompt, type the command:

mediterraneancoin-qt.exe

now you will see the wallet running and syncing the blockchain;
you have to wait for the synchronization to finish before you can solo mine.

7 - start mcproxy

in the same msdos prompt (staying in the same "C:\Documents and Settings\username\Documents\Downloads\medcoin-win32-v0.8.5.2" directory), now type the command:

java -jar mcproxy.jar

If mcproxy has started correctly, you should see a message like this:

MediterraneanCoin Proxy
parameters:
wallet hostname: localhost
wallet port: 9372
bind to local address:
local proxy port: 8080

leave the window there, do not close it. You will need mcproxy always running during the mining.

8 - download che modified cgminer or the modified bfgminer

you can download the modified cgminer binary from here or you can download the modified bfgminer binary from here

9 - uncompress the archive

you can uncompress the archive in a directory named "C:\Documents and Settings\username\Documents\Downloads\win32-cgminer-mediterraneancoin" if you are using the modified cgminer,
or "C:\Documents and Settings\username\Documents\Downloads\win32-bfgminer" if you are using the modified bfgminer.
Or choose whatever name for the directory, no problem.

10 - open another ms-dos prompt and go in the miner directory

cd "C:\Documents and Settings\username\Documents\Downloads\win32-cgminer-mediterraneancoin\build-win32"

or (depending on which miner you want to use):

cd "C:\Documents and Settings\username\Documents\Downloads\win32-bfgminer"

11 - start the miner

you will need to have at hand the values you choose for rpcuser and rpcpassword stored in mediterrancoin.conf (the configuration file).

Also, if it is the first time you use your ASICs devices on the pc, you probably will need to download and install some additional software drivers, this is an aspect independent of MediterraneanCoin.
You need the right software drivers for mining any coin.

For example, to download the Windows drivers for USB Block Erupters, you can go here: http://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx

If using cgminer, type the following command:

cgminer -o http://localhost:8080 -u mediterraneancoinrpc -p  same_password_in_mediterraneancoin.conf_file -D -T

(the -D option provides a lot of debug information; it can be useful to provide to the forum for help/debug)

if using bfgminer, the command would be:

bfgminer --submit-stale -o http://localhost:8080 -u mediterraneancoinrpc -p  same_password_of_mediterraneancoin.conf_file  -Q 0 -S all -T --verbose

if everything works, after a while you should see something like this:

ICA3       | 5s:335.6 avg:335.3 u:273.8 Mh/s | A:15 R:3+0( 17%) HW:150/.86%
 [2014-01-11 14:41:03.958648] ICA3       | 5s:335.6 avg:335.3 u:273.8 Mh/s | A:15 R:3+0( 17%) HW:150/.86%                    
 [2014-01-11 15:16:34.121976] Accepted 00224a86 ICA 1  Diff 1.91k/1.15k                    
ICA1       | 5s:335.5 avg:335.3 u:230.1 Mh/s | A:12 R:6+0( 30%) HW:128/.72%
 [2014-01-11 15:16:34.122088] ICA1       | 5s:335.5 avg:335.3 u:230.1 Mh/s | A:12 R:6+0( 30%) HW:128/.72%                    
 [2014-01-11 15:20:04.050168] Accepted 002c566c ICA 3  Diff 1.48k/1.15k                    
ICA3       | 5s:335.7 avg:335.3 u:277.1 Mh/s | A:16 R:3+0( 16%) HW:150/.85%
 [2014-01-11 15:20:04.050246] ICA3       | 5s:335.7 avg:335.3 u:277.1 Mh/s | A:16 R:3+0( 16%) HW:150/.85%                    
 [2014-01-11 15:32:22.367498] Rejected 00357374 ICA 0  Diff 1.23k/1.15k                    
ICA0       | 5s:335.7 avg:335.4 u:213.2 Mh/s | A:10 R:6+0( 36%) HW:147/.82%
 [2014-01-11 15:32:22.367600] ICA0       | 5s:335.7 avg:335.4 u:213.2 Mh/s | A:10 R:6+0( 36%) HW:147/.82%                    
 [2014-01-11 15:42:13.206426] Rejected 0013099b ICA 2  Diff 3.44k/1.15k                    
ICA2       | 5s:335.7 avg:335.4 u:180.4 Mh/s | A:10 R:9+0( 46%) HW:125/.69%
 [2014-01-11 15:42:13.206520] ICA2       | 5s:335.7 avg:335.4 u:180.4 Mh/s | A:10 R:9+0( 46%) HW:125/.69%  

In case of problems, post your report/question in the forum!

Visit the thread on bitcointalk: https://bitcointalk.org/index.php?topic=397831.0