Pages:
Author

Topic: Modular Python Bitcoin Miner - Official Thread - page 3. (Read 74196 times)

hero member
Activity: 816
Merit: 1000
What is the best way to set a backup pool using mpbm?  For instance, if mtred goes down, is there a way to have the program switch to another pool?  I am familiar with this feature on cgminer, but I am new to mpbm.

Thanks,
Dave
full member
Activity: 237
Merit: 100
Mining using MPBM configured for a mining pool (like ozcoin / deepbit) runs fine.

I still run into trouble using MPBM configured for solo mining :-(

I am currently using MPBM.EXE under windows
My bitcoind is running under linux (other machine)
I have created the bitcoin.conf with the rpcuser and rpcpassword supplied

I run the bitcoind with bitcoin -server in a terminal

When I create a new worker in MPBM with the ip adress of the machine where bitcoind runs and port 8332 and supply the rpcuser and rpcpassword,
MPBM is not able to fetch jobs from bitcoind...

What am I doing wrong?
newbie
Activity: 27
Merit: 0
The WM8650 has an ARM processor and the OS has to run from an SD card. I might buy a bigger SD card (mine is only 2GB) so I can use Debian instead of Angstrom.
sr. member
Activity: 410
Merit: 252
Watercooling the world of mining
Got the ftdi_sio driver and did:

Code:
modprobe ftdi_sio vendor=0x0403 product=6014

But when I plug in my device it doesn't create /dev/ttyUSB0. Here is my dmesg output when plugging it in: http://pastebin.com/8hbhVxzL

Can anyone help?

System: WM8650 Netbook
OS: Angstrom
Device: BFL Single

5btc reward for someone to get this working for me, would really like to move these loud, hot, suckers elsewhere
If its not essentially nesssary to you, or the processor you may please consider using some OS like ubuntu or fedora.
I know Angström to be a little tricky here.

I am using ubuntu 12.04 and have used all ubuntu distributions from 9.04 upwards.

I will try to dig some free time tonight, so i may have a look at your problem.
newbie
Activity: 27
Merit: 0
Got the ftdi_sio driver and did:

Code:
modprobe ftdi_sio vendor=0x0403 product=6014

But when I plug in my device it doesn't create /dev/ttyUSB0. Here is my dmesg output when plugging it in: http://pastebin.com/8hbhVxzL

Can anyone help?

System: WM8650 Netbook
OS: Angstrom
Device: BFL Single

5btc reward for someone to get this working for me, would really like to move these loud, hot, suckers elsewhere
sr. member
Activity: 476
Merit: 250
Same patch is working with the 800MH/s BFL firmware.
sr. member
Activity: 476
Merit: 250
On OS X, using python3 and the BFL 768 firmware (merely haven't tested at other speeds yet) I had to change the following two lines in bflsingleworker.py to be successful:

starting about line 224

from:
if response[:12] != "NONCE-FOUND:" or response[-1:] != "\n":
to:
if response[:12] != b"NONCE-FOUND:":

and

from:
if len(nonces) != 8 and nonces[8] != b",":
to:
if len(nonces) != 8 and nonces[8] != 0x2c:
legendary
Activity: 1344
Merit: 1004
Your screenshot links to a thumbnail. Please fix to regular screenshot?
sr. member
Activity: 397
Merit: 500
I'm trying to make some adjustments to my MPBM webui. Can't find there right place in the code to adjust the height of the viewport for the statistics gadget. Pointing me to the right file is probably all I need. thx in advance.

mpbm\modules\theseven\webui\wwwroot\static\statsgadget\statsgadget.js

I hope it helps.

eb
newbie
Activity: 44
Merit: 0
I'm trying to make some adjustments to my MPBM webui. Can't find there right place in the code to adjust the height of the viewport for the statistics gadget. Pointing me to the right file is probably all I need. thx in advance.


EDIT: For future reference the post below is spot on. Thx.
newbie
Activity: 27
Merit: 0
Got the ftdi_sio driver and did:

Code:
modprobe ftdi_sio vendor=0x0403 product=6014

But when I plug in my device it doesn't create /dev/ttyUSB0. Here is my dmesg output when plugging it in: http://pastebin.com/8hbhVxzL

Can anyone help?

System: WM8650 Netbook
OS: Angstrom
Device: BFL Single
full member
Activity: 148
Merit: 100
did you make "opkg update" before?
newbie
Activity: 27
Merit: 0
How can I get this working for BFL Singles?

My worker dropdown only shows options for the x6500.

Git pull the latest code. I could not get the bfl manager to work so I use the individual workers. Make sure to set the path to the appropriate /dev/ttyUSB#

I did Git it. It appears that it fails to load because I don't have pyusb or pyserial and opkg says they do not exist. This is odd because they do exist:
http://www.angstrom-distribution.org/repo/?pkgname=python-pyusb
http://www.angstrom-distribution.org/repo/?pkgname=python-pyserial

Edit:

OK, I got them installed by downloading them manually now all I need is the ftdi-sio driver but I have to save that for tomorrow. If anyone can help with the driver that would be awesome, my OS (Angstrom) didn't come with it.
member
Activity: 71
Merit: 10
How can I get this working for BFL Singles?

My worker dropdown only shows options for the x6500.

Git pull the latest code. I could not get the bfl manager to work so I use the individual workers. Make sure to set the path to the appropriate /dev/ttyUSB#
newbie
Activity: 27
Merit: 0
How can I get this working for BFL Singles?

My worker dropdown only shows options for the x6500.
sr. member
Activity: 447
Merit: 250
are there any specific settings I should use with P2Pool to reduce DOA and stale %?

what do others get for stale % using P2pool with MPBM?
full member
Activity: 237
Merit: 100
Wow I works now. I had to create the bitcoin.conf file manually  Cheesy
full member
Activity: 237
Merit: 100
#server=1 tells Bitcoin to accept JSON-RPC commands.
 #server=1
 
 # You must set rpcuser and rpcpassword to secure the JSON-RPC api
 #rpcuser=Ulysseys
 #rpcpassword=YourSuperGreatPasswordNumber_385593

did you set those?

The MPBM webUI runs on Windows.

I running the bitcoin daemon on linux
I installed them in my home folder
There are two files:
-rwxr-xr-x. 1 mykelsilver mykelsilver 4,2M  8 mei 19:34 bitcoind
-rwxr-xr-x. 1 mykelsilver mykelsilver 9,3M  8 mei 19:34 bitcoin-qt

I cannot see any configuration file in ~/.bitcoin. This folder contains only the following files:

drwx------.   3 mykelsilver mykelsilver 4,0K 27 jun 21:23 .
drwx------. 107 mykelsilver mykelsilver 4,0K 25 jun 18:25 ..
-rw-------.   1 mykelsilver mykelsilver 5,8M 27 jun 21:23 addr.dat
-rw-------.   1 mykelsilver mykelsilver 1,9G 27 jun 21:10 blk0001.dat
-rw-------.   1 mykelsilver mykelsilver 645M 27 jun 21:10 blkindex.dat
drwx------.   2 mykelsilver mykelsilver  12K 27 jun 21:23 database
-rw-------.   1 mykelsilver mykelsilver    0  3 mrt 08:26 db.log
-rw-------.   1 mykelsilver mykelsilver 1,7M 27 jun 21:23 debug.log
-rw-------.   1 mykelsilver mykelsilver    0  3 mrt 08:26 .lock
-rw-------.   1 mykelsilver mykelsilver  88K 27 jun 21:10 wallet.dat
-rw-rw-r--.   1 mykelsilver mykelsilver  46K 29 apr 18:29 wallet.dat.pgp
[mykelsilver@fedora .bitcoin]$

In the configuration of my client I cannot set any username or password.

In my previous post I connected through the wrong ipaddress. Now I connect to the ipaddress of the linux server
It is to complex to explain all the details.
 Never mind. It is not possible to solo mine with MPBM for me.

Anyway thanks for your patience and time.

Regards,
full member
Activity: 148
Merit: 100
 #server=1 tells Bitcoin to accept JSON-RPC commands.
 #server=1
 
 # You must set rpcuser and rpcpassword to secure the JSON-RPC api
 #rpcuser=Ulysseys
 #rpcpassword=YourSuperGreatPasswordNumber_385593

did you set those?
full member
Activity: 237
Merit: 100
you have to direct mpbm to your local bitcoin client i guess?
shouldn't be different to using a pool

I have tried your suggestion but I keep gettting this error:
Local: Error while fetching job: Traceback (most recent call last):
  File "C:\Users\MykelSilver\Desktop\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\core\actualworksource.py", line 155, in get_job
    jobs = self._get_job()
  File "C:\Users\MykelSilver\Desktop\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\theseven\bcjsonrpc\bcjsonrpcworksource.py", line 120, in _get_job
    conn.request("POST", self.settings.path, req, headers)
  File "c:\Program Files (x86)\Python32\lib\http\client.py", line 964, in request
  File "c:\Program Files (x86)\Python32\lib\http\client.py", line 1002, in _send_request
  File "c:\Program Files (x86)\Python32\lib\http\client.py", line 960, in endheaders
  File "c:\Program Files (x86)\Python32\lib\http\client.py", line 805, in _send_output
  File "c:\Program Files (x86)\Python32\lib\http\client.py", line 743, in send
  File "c:\Program Files (x86)\Python32\lib\http\client.py", line 721, in connect
  File "c:\Program Files (x86)\Python32\lib\socket.py", line 386, in create_connection
socket.gaierror: [Errno 11004] getaddrinfo failed

I have configured my work source to connect to localhost:8332
Of course the bitcoin daemon is running.
Unfortunately there is no documentation of its configuration file.  
Anyone has any luck with the configuration of the bitcoin deamon?
Thanks in advance
Pages:
Jump to: