Pages:
Author

Topic: How do you run BFGminer as a blade proxy?? (Read 15608 times)

member
Activity: 92
Merit: 10
March 13, 2014, 07:44:37 PM
#34
Has anyone else compared the speed running through bfgminer to the speed running through Slush's proxy? Also, does the Proxy miner show up in the bfgminer API Output?

I don't know how to set my blade via Slush's proxy,  I was trying use this command:

mining_proxy.exe -o localhost -p 3333 -cu bitcoinrpc -cp password (I already add rpcport=3333 in bitcoin.conf, and my blade point to localhost:8332)

or
mining_proxy.exe -o localhost -p 3333 -cu bitcoinrpc -cp password -sh localhost -sp 3333 -oh localhost -gp 8332

All of them doesn't work.

Would you please tell me how to setuo it. Thank you.
hero member
Activity: 840
Merit: 1002
February 25, 2014, 12:20:22 PM
#33
Can you run 5 cubes as same proxy ?
ANd same user ? U:P,U:P ?
on same 5 cubes ?
yeah but just shows the total hash rate for the whole proxy in bfgminer

If you use separate worker names for each device they show up as separate devices in bfgminer.
hero member
Activity: 662
Merit: 500
February 24, 2014, 07:01:34 PM
#32
Can you run 5 cubes as same proxy ?
ANd same user ? U:P,U:P ?
on same 5 cubes ?
yeah but just shows the total hash rate for the whole proxy in bfgminer
legendary
Activity: 1190
Merit: 1002
February 24, 2014, 06:51:25 PM
#31
Can you run 5 cubes as same proxy ?
ANd same user ? U:P,U:P ?
on same 5 cubes ?
member
Activity: 61
Merit: 10
February 07, 2014, 04:14:39 PM
#30
post so i can find it again
hero member
Activity: 662
Merit: 500
December 24, 2013, 06:29:51 PM
#29
Has anyone else compared the speed running through bfgminer to the speed running through Slush's proxy? Also, does the Proxy miner show up in the bfgminer API Output?
newbie
Activity: 7
Merit: 0
December 21, 2013, 06:53:29 PM
#28
Woot figured it out. All I need to do was download the 3.8.0 win 32. Not run it on a 32bit system.
Use the --http-port #### on you command line and then run, really simple.
newbie
Activity: 7
Merit: 0
December 21, 2013, 05:30:57 PM
#27
Help. will give .04BTC for a complete step by step guild on have to configure bfgminer 3.8.0 on Ubuntu 13.10 64bit.
I have read this post up and down and still can't figure it out. I am a little newb so if there is a off site information please include it in your post.
My setup right now
mike@mike-Qosmio-X775:~$ uname -a
Linux mike-Qosmio-X775 3.11.0-14-generic #21-Ubuntu SMP Tue Nov 12 17:04:55 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
mike@mike-Qosmio-X775:~$ bfgminer -V
bfgminer 3.8.0
newbie
Activity: 11
Merit: 0
December 20, 2013, 12:35:16 AM
#26
Ok, I figured out the issue.

Downloaded lastest ubuntu, 13.10 32bit server. Installed updated, and volia, works like a charm.

12.04 didn't have the correct microhttpd.

Michael

For those of us still on 12.04 and not wanting to upgrade, what was the correct version/package that worked for you?

I installed the debian packages here and it works without issue: https://launchpad.net/~rbose-debianizer/+archive/gnunet/+build/4588989

I looked at the 3 deb files, but each depends on each other, so how did you install them? I get errors for all of them when trying to install...

Installed them with dpkg -i. You only need two of them, these are the exact commands I did:

  sudo dpkg -i libmicrohttpd10_0.9.27-0gnu1~12.04_i386.deb
  sudo dpkg -i libmicrohttpd-dev_0.9.27-0gnu1~12.04_i386.deb

Running Ubuntu 12.04.1 LTS
full member
Activity: 167
Merit: 100
December 14, 2013, 07:25:39 AM
#25
Ok, I figured out the issue.

Downloaded lastest ubuntu, 13.10 32bit server. Installed updated, and volia, works like a charm.

12.04 didn't have the correct microhttpd.

Michael

For those of us still on 12.04 and not wanting to upgrade, what was the correct version/package that worked for you?

I installed the debian packages here and it works without issue: https://launchpad.net/~rbose-debianizer/+archive/gnunet/+build/4588989

I looked at the 3 deb files, but each depends on each other, so how did you install them? I get errors for all of them when trying to install...
full member
Activity: 167
Merit: 100
December 14, 2013, 07:11:20 AM
#24
Can anyone provide me a STEP BY STEP on installing this httpd thing?

I cannot download newer versions of debian since I'm trying to get GMAT working, but I can't seem to find any respoitories w/ the correct file.  I have installed httpd5 from the 3 repositories in the list, but that's all I could find.

I found libmicrohttpd 9.20, but that requires httpf10, which requires about 10 other deb packages....  This is so painful and frustrating.  I just want a simply proxy to run on my linux box... in fact, I NEED it on my linux box in order to run my entire blade farm...


please help!!!!
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
December 13, 2013, 06:58:35 PM
#23
Yup, I am. I'm surprised Luke didn't put the info in the readme - would have saved us both some time & trouble eh?

Peace  Grin
newbie
Activity: 54
Merit: 0
December 13, 2013, 06:44:09 PM
#22
For those of us still on 12.04 and not wanting to upgrade, what was the correct version/package that worked for you?

It looks like downloading version 0.9.32, configuring it, building it, and installing it is what was required to get it going on 12.04.

EDIT: Be sure to run 'sudo ldconfig' after the install or you might get this error:
error while loading shared libraries libmicrohttpd.so.10

Thankyou-Thankyou-Thankyou-Thankyou!!!!!!!!!!

You, my good sir, have just ended hours of frustration & hair pulling here. I'm a semi noob to Xubuntu, so thought it was me doing something wrong - I've been searching & reading so many different guides on this without success - until I stumbled upon this thread. It worked a treat - I'm forever in your debt my good man.

Praise the Cyber Gods!!  Grin Grin

If you are talking to me about getting it working on 12.04 - you are welcome.  It took some hair pulling on my end to get it working so I thought I would share what I learned  Cool
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
December 13, 2013, 03:30:14 PM
#21
Ok, I figured out the issue.

Downloaded lastest ubuntu, 13.10 32bit server. Installed updated, and volia, works like a charm.

12.04 didn't have the correct microhttpd.

Michael

For those of us still on 12.04 and not wanting to upgrade, what was the correct version/package that worked for you?

It looks like downloading version 0.9.32, configuring it, building it, and installing it is what was required to get it going on 12.04.

EDIT: Be sure to run 'sudo ldconfig' after the install or you might get this error:
error while loading shared libraries libmicrohttpd.so.10

Thankyou-Thankyou-Thankyou-Thankyou!!!!!!!!!!

You, my good sir, have just ended hours of frustration & hair pulling here. I'm a semi noob to Xubuntu, so thought it was me doing something wrong - I've been searching & reading so many different guides on this without success - until I stumbled upon this thread. It worked a treat - I'm forever in your debt my good man.

Praise the Cyber Gods!!  Grin Grin
newbie
Activity: 11
Merit: 0
December 09, 2013, 05:20:44 PM
#20
Ok, I figured out the issue.

Downloaded lastest ubuntu, 13.10 32bit server. Installed updated, and volia, works like a charm.

12.04 didn't have the correct microhttpd.

Michael

For those of us still on 12.04 and not wanting to upgrade, what was the correct version/package that worked for you?

I installed the debian packages here and it works without issue: https://launchpad.net/~rbose-debianizer/+archive/gnunet/+build/4588989
newbie
Activity: 54
Merit: 0
December 05, 2013, 10:24:39 PM
#19
Ok, I figured out the issue.

Downloaded lastest ubuntu, 13.10 32bit server. Installed updated, and volia, works like a charm.

12.04 didn't have the correct microhttpd.

Michael

For those of us still on 12.04 and not wanting to upgrade, what was the correct version/package that worked for you?

It looks like downloading version 0.9.32, configuring it, building it, and installing it is what was required to get it going on 12.04.

EDIT: Be sure to run 'sudo ldconfig' after the install or you might get this error:
error while loading shared libraries libmicrohttpd.so.10
newbie
Activity: 54
Merit: 0
December 05, 2013, 10:06:33 PM
#18
Ok, I figured out the issue.

Downloaded lastest ubuntu, 13.10 32bit server. Installed updated, and volia, works like a charm.

12.04 didn't have the correct microhttpd.

Michael

For those of us still on 12.04 and not wanting to upgrade, what was the correct version/package that worked for you?
newbie
Activity: 42
Merit: 0
November 25, 2013, 12:01:58 PM
#17
Ok, I figured out the issue.

Downloaded lastest ubuntu, 13.10 32bit server. Installed updated, and volia, works like a charm.

12.04 didn't have the correct microhttpd.

Michael
newbie
Activity: 42
Merit: 0
November 25, 2013, 08:43:12 AM
#16
The point of me showing it without the port was to show the output. With the output stating unrecognized option shows it was not compiled with it.

My question is how to get it compiled with it. The readme states it is enabled by default.

Compile it on a system with libmicrohttpd installed.

Did that.

------------------------------------------------------------------------
bfgminer 3.6.0 configuration options summary
------------------------------------------------------------------------

  CFLAGS...............: -I/usr/include/ncursesw -pthread -g -O2 -I/usr/include/libusb-1.0 -pthread -Ilibblkmaker
  LDFLAGS..............: -pthread -Llibblkmaker/.libs -Wl,-rpath,\$$ORIGIN/libblkmaker/.libs,-zorigin -lpthread -lcurl -ljansson -lncursesw -ltinfo -lm -ludev -lusb-1.0 -lrt -lblkmaker_jansson-0.1 -lblkmaker-0.1
  Installation.prefix..: /usr/local

  Enabled..Drivers.....: avalon bigpic bitforce bitfury_gpio cairnsmore erupter icarus klondike littlefury modminer proxy proxy:stratum x6500 ztex
  Disabled.Drivers.....: bfsb cpu hashbuster knc metabank nanofury opencl proxy:getwork
    To enable proxy:getwork, install libmicrohttpd 0.9.5+
    To enable nanofury, install hidapi
    To enable hashbuster, install hidapi
  Enabled..Algorithms..: SHA256d
  Disabled.Algorithms..: scrypt
  Enabled..Options.....: ncursesw5
  Disabled.Options.....:

michael@bfgminer-proxy:~/bfgminer$

michael@bfgminer-proxy:~$ sudo apt-get install libmicrohttpd*
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting 'libmicrohttpd5' for regex 'libmicrohttpd*'
Note, selecting 'libmicrohttpd-dbg' for regex 'libmicrohttpd*'
Note, selecting 'libmicrohttpd-dev' for regex 'libmicrohttpd*'
libmicrohttpd-dev is already the newest version.
libmicrohttpd5 is already the newest version.

libmicrohttpd5 set to manually installed.
The following NEW packages will be installed:
  libmicrohttpd-dbg
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 46.8 kB of archives.
After this operation, 147 kB of additional disk space will be used.
Do you want to continue [Y/n]?
hero member
Activity: 1246
Merit: 501
November 25, 2013, 08:42:29 AM
#15
You need to specify which port you want, for example --http-port 8330

Just adding --http-port won't work.

michael@bfgminer-proxy:~/bfgminer$ ./bfgminer --http-port 8330
 [2013-11-25 07:29:19] ./bfgminer: --http-port: unrecognized option                    
michael@bfgminer-proxy:~/bfgminer$

The point of me showing it without the port was to show the output. With the output stating unrecognized option shows it was not compiled with it.

My question is how to get it compiled with it. The readme states it is enabled by default.

Oh, excuse me for not spotting that you'd intentionally butchered the syntax for effect.  Roll Eyes

As nwoolls says, you need to have libmicrohttpd installed too - I'm pretty sure it's listed in the dependencies (was the last time I looked, because I remember having to install it).
Pages:
Jump to: