Bitcoin Forum
June 03, 2024, 02:04:47 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: bfgminer stratum proxy  (Read 9294 times)
smooth (OP)
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
January 08, 2014, 11:02:54 PM
 #1

I'm trying to get my ant miner S1's to work through bfgminer stratum proxy so I can control my pool in one spot rather than connecting to the web interface on each miner.  I start bfgminer with --stratum-port X then set pool 1 appropriately to IP:X on each miner. I have bfgminer configured with eligius as my first pool. The Ants seem to connect and show the pool as "alive." Bfgminer reports eligius as alive. But I get 100% rejects and bfgminer reports 100% HW errors. Ant miners work fine when connected to eligius (or most other pools) directly.

How can I debug (or fix) this? Not much in the way of debug output on the ant miner side.

gigica viteazu`
Sr. Member
****
Offline Offline

Activity: 458
Merit: 250

beast at work


View Profile
January 08, 2014, 11:16:39 PM
 #2

I have tried with the same results.

you can`t fix this until bitman release v3.9.0 of the cgminer fork he is using
smooth (OP)
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
January 08, 2014, 11:29:26 PM
 #3

I have tried with the same results.

you can`t fix this until bitman release v3.9.0 of the cgminer fork he is using

Oh right, I remember seeing that somewhere. Thanks.
pjcltd
Legendary
*
Offline Offline

Activity: 1778
Merit: 1003

NodeMasters


View Profile WWW
January 08, 2014, 11:35:45 PM
 #4

Hi
I have the same problem
I have been trying to get this to work
Now I know why lol
I will wait .
pjcltd
Legendary
*
Offline Offline

Activity: 1778
Merit: 1003

NodeMasters


View Profile WWW
January 09, 2014, 08:24:59 PM
 #5

I'm trying to get my ant miner S1's to work through bfgminer stratum proxy so I can control my pool in one spot rather than connecting to the web interface on each miner.  I start bfgminer with --stratum-port X then set pool 1 appropriately to IP:X on each miner. I have bfgminer configured with eligius as my first pool. The Ants seem to connect and show the pool as "alive." Bfgminer reports eligius as alive. But I get 100% rejects and bfgminer reports 100% HW errors. Ant miners work fine when connected to eligius (or most other pools) directly.

How can I debug (or fix) this? Not much in the way of debug output on the ant miner side.


Hi I have found a way round this
If you go to
Www.tompool.org
And setup an account
It will do the pool swapping for you and it works well
You can setup your own pools that you want to mine
and it will move your miners to the most profitable one
For you.

smooth (OP)
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
January 09, 2014, 10:30:43 PM
 #6

I'm trying to get my ant miner S1's to work through bfgminer stratum proxy so I can control my pool in one spot rather than connecting to the web interface on each miner.  I start bfgminer with --stratum-port X then set pool 1 appropriately to IP:X on each miner. I have bfgminer configured with eligius as my first pool. The Ants seem to connect and show the pool as "alive." Bfgminer reports eligius as alive. But I get 100% rejects and bfgminer reports 100% HW errors. Ant miners work fine when connected to eligius (or most other pools) directly.

How can I debug (or fix) this? Not much in the way of debug output on the ant miner side.


Hi I have found a way round this
If you go to
[redacted]


That's missing the point. Let's say I decide [redacted] is the best thing since lap dances and program it into all of my miners. If I later decide [redacted] is not really that great for whatever reason, I have to go and reprogram all of my miners.  The idea is to have a central point on my own network and under my own control.
gigica viteazu`
Sr. Member
****
Offline Offline

Activity: 458
Merit: 250

beast at work


View Profile
January 10, 2014, 12:56:29 AM
 #7

I gave up on bfgminer proxy and right now I`m working on a python script that (currently as a wip) move my miners (via api) on the most profitable (based on coinwarz.com api information) coin pool (defined by user).

I may decide to publish it if there is enough interest.
smooth (OP)
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
January 10, 2014, 01:51:18 AM
 #8

I gave up on bfgminer proxy and right now I`m working on a python script that (currently as a wip) move my miners (via api) on the most profitable (based on coinwarz.com api information) coin pool (defined by user).

I may decide to publish it if there is enough interest.

The Ant Miners have an API? Where is that documented?
gigica viteazu`
Sr. Member
****
Offline Offline

Activity: 458
Merit: 250

beast at work


View Profile
January 10, 2014, 05:03:33 AM
 #9


The Ant Miners have an API? Where is that documented?

S1 have cgminer 3.8.5 embedded... so yeah they have. To access it you need to alter /etc/config/cgminer file
smooth (OP)
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
January 10, 2014, 10:43:14 AM
 #10


The Ant Miners have an API? Where is that documented?

S1 have cgminer 3.8.5 embedded... so yeah they have. To access it you need to alter /etc/config/cgminer file

Thank you yes. I forgot about the cgminer api.
southerngentuk
Sr. Member
****
Offline Offline

Activity: 1316
Merit: 253


Sugars.zone | DatingFi - Earn for Posting


View Profile
February 18, 2014, 04:23:02 AM
 #11

I have tried with the same results.

you can`t fix this until bitman release v3.9.0 of the cgminer fork he is using

I've just  received my ant and according to the Installed packages it is running CGminer 3.12.0-1

The results are the same, 100% error.

Someone smart should provide a work around for this.

Am guessing its not a CGminer bug as I read elsewhere ( and it would be fixed in the next version of CG)
and more to do with bitmain's driver/alterations to CGminer.

SUGAR
██   ██

██   ██

██   ██

██   ██

██   ██

██   ██
▄▄████████████████████▄▄
▄████████████████████████▄
███████▀▀▀██████▀▀▀███████
█████▀██████▀▀██████▀█████
██████████████████████████
██████████████████████████
█████████████████████▄████
██████████████████████████
████████▄████████▄████████
██████████████████████████
▀████████████████████████▀
▀▀████████████████████▀▀

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██
███████████████████████████
███████████████████████████
██████               ██████
██████   ▄████▀      ██████
██████▄▄▄███▀   ▄█   ██████
██████████▀   ▄███   ██████
████████▀   ▄█████▄▄▄██████
██████▀   ▄███████▀▀▀██████
██████   ▀▀▀▀▀▀▀▀▀   ██████
██████               ██████
███████████████████████████
███████████████████████████
.
Backed By
ZetaChain

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██
▄▄████████████████████▄▄
██████████████████████████
████████████████████████████
█████████████████▀▀  ███████
█████████████▀▀      ███████
█████████▀▀   ▄▄     ███████
█████▀▀    ▄█▀▀     ████████
█████████ █▀        ████████
█████████ █ ▄███▄   ████████
██████████████████▄▄████████
██████████████████████████
▀▀████████████████████▀▀
▄▄████████████████████▄▄
██████████████████████████
██████ ▄▀██████████  ███████
███████▄▀▄▀██████  █████████
█████████▄▀▄▀██  ███████████
███████████▄▀▄ █████████████
███████████  ▄▀▄▀███████████
█████████  ████▄▀▄▀█████████
███████  ████████▄▀ ████████
████████████████████████████
██████████████████████████
▀▀████████████████████▀▀
whatsthestory
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
February 19, 2014, 02:26:59 PM
 #12

I gave up on bfgminer proxy and right now I`m working on a python script that (currently as a wip) move my miners (via api) on the most profitable (based on coinwarz.com api information) coin pool (defined by user).

I may decide to publish it if there is enough interest.
When will you publish it ? As it is really interesting to know more about mining on most profitable pool.
That--Guy
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 29, 2014, 07:05:05 AM
 #13

I have both of my Antminer S1s proxying through bfgminer.  It works for me with the 02072014 firmware, once I figured out (thanks to this thread) to use --stratum-port instead of --http-port.

bfgminer.exe --stratum-port 8330 -o us2.eclipsemc.com:3333 -u myusername -p mypass

...is my cmdline, with just the IP:port (no protocol specifier) set in the Antminers' miner configs
southerngentuk
Sr. Member
****
Offline Offline

Activity: 1316
Merit: 253


Sugars.zone | DatingFi - Earn for Posting


View Profile
March 29, 2014, 10:06:37 AM
 #14

I have both of my Antminer S1s proxying through bfgminer.  It works for me with the 02072014 firmware, once I figured out (thanks to this thread) to use --stratum-port instead of --http-port.

bfgminer.exe --stratum-port 8330 -o us2.eclipsemc.com:3333 -u myusername -p mypass

...is my cmdline, with just the IP:port (no protocol specifier) set in the Antminers' miner configs

Its always the little details some of us miss..   Cheesy

SUGAR
██   ██

██   ██

██   ██

██   ██

██   ██

██   ██
▄▄████████████████████▄▄
▄████████████████████████▄
███████▀▀▀██████▀▀▀███████
█████▀██████▀▀██████▀█████
██████████████████████████
██████████████████████████
█████████████████████▄████
██████████████████████████
████████▄████████▄████████
██████████████████████████
▀████████████████████████▀
▀▀████████████████████▀▀

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██
███████████████████████████
███████████████████████████
██████               ██████
██████   ▄████▀      ██████
██████▄▄▄███▀   ▄█   ██████
██████████▀   ▄███   ██████
████████▀   ▄█████▄▄▄██████
██████▀   ▄███████▀▀▀██████
██████   ▀▀▀▀▀▀▀▀▀   ██████
██████               ██████
███████████████████████████
███████████████████████████
.
Backed By
ZetaChain

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██
▄▄████████████████████▄▄
██████████████████████████
████████████████████████████
█████████████████▀▀  ███████
█████████████▀▀      ███████
█████████▀▀   ▄▄     ███████
█████▀▀    ▄█▀▀     ████████
█████████ █▀        ████████
█████████ █ ▄███▄   ████████
██████████████████▄▄████████
██████████████████████████
▀▀████████████████████▀▀
▄▄████████████████████▄▄
██████████████████████████
██████ ▄▀██████████  ███████
███████▄▀▄▀██████  █████████
█████████▄▀▄▀██  ███████████
███████████▄▀▄ █████████████
███████████  ▄▀▄▀███████████
█████████  ████▄▀▄▀█████████
███████  ████████▄▀ ████████
████████████████████████████
██████████████████████████
▀▀████████████████████▀▀
blackvoice
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
March 29, 2014, 03:24:32 PM
 #15

 ant miner is hard to use

I will never try it
filflarn
Newbie
*
Offline Offline

Activity: 58
Merit: 0


View Profile
September 14, 2014, 12:10:26 AM
 #16

sorry for bumping an old thread...

ok i just found this thread and figured id give it a shot solmining with my ants for a certain altcoin. and i like most of the other users here cant get it to work. here is my cmd line

bfgminer.exe --stratum-port 11067 -o 127.0.0.1:11067 -u user -p password -S antminer:all --set-device antminer:clock=x0A81


do i need to setup a different instance to run just my s1's or can i use my u2+'s in the same instance of bfg?
 without the "--stratum-port 11067" my usb miners run fine and it solo's perfectly finding blocks and all so the wallet is set up right. I also tried using the port 8330 for the stratum port. My ant says the pool is dead and bfgminer gets weird with low hashrates or saying all pools are dead. I am using the bfgminer 4.8.0 luke-jr 32bit version.

My ant s1 pools are set as follows i also enabled wifi to see if that work using my computers wifi address with the same port.


pool 0: 192.168.1.88:11067
username: user
password: password


Now if i dump the --stratum-port on bfg miner and point the ants to the wallet on either ethernet or wifi it shows the pool is alive and gets work but it rejects all blocks found.

thanks in advance for any help you can give

Axiste
Full Member
***
Offline Offline

Activity: 152
Merit: 100


View Profile
September 14, 2014, 06:18:36 AM
 #17

bfgminer.exe --stratum-port 11067 -o 127.0.0.1:11067 -u user -p password -S antminer:all --set-device antminer:clock=x0A81

Here you have the same port set to be your Stratum Proxy port, and your local wallet port. They need to be different.

On the S1's just use normal ethernet to your network, make sure it points to the Network Ip of the bfg stratum proxy and its new port (ensuring its not the same as the wallet port)

make sure each S1 has a different username (eg Ant1, Ant2) and just put X for password.

If my advice has helped you out, feel free to throw some Satoshi's my way!
BTC: 1Nq7hrRDamdnNiTBaFxEn5DuZYS9kD3tbJ
Running a Full Node Smiley
filflarn
Newbie
*
Offline Offline

Activity: 58
Merit: 0


View Profile
September 15, 2014, 02:04:10 PM
 #18

Thanks.

bfgminer.exe --stratum-port 8330 -o 127.0.0.1:11067 -u user -p password -S antminer:all --set-device antminer:clock=x0A81

Ant s1 shows its a dead pool. bfgminer keeps saying im going to play around with this and hopefully its something easy im just overlooking. ill mess with it when i get home. thanks again
Axiste
Full Member
***
Offline Offline

Activity: 152
Merit: 100


View Profile
September 15, 2014, 07:48:38 PM
 #19

make sure that 8330 is open in Windows Firewall if you have it running, otherwise it wont be seen by the Antminer S1 (or turn off Windows Firewall  Grin )

If my advice has helped you out, feel free to throw some Satoshi's my way!
BTC: 1Nq7hrRDamdnNiTBaFxEn5DuZYS9kD3tbJ
Running a Full Node Smiley
filflarn
Newbie
*
Offline Offline

Activity: 58
Merit: 0


View Profile
September 15, 2014, 10:30:08 PM
 #20

ok so here's what i have found i completely disabled the firewall to ensure i could communicate through the ports for this. if i get a port to work ill then fix the firewall.

if i use bfgminer-4.8.0-win32\bfgminer-4.8.0-win32\bfgminer.exe --stratum-port 11066 -o 127.0.0.1:11067 -u user -p password -S antminer:all --set-device antminer:clock=x0A81

my s1 shows dead pool and bfgminer says "SSM: No Usable 2d Work Upstream!"

If i use bfgminer-4.8.0-win32\bfgminer-4.8.0-win32\bfgminer.exe --http-port 11066 -o 127.0.0.1:11067 -u user -p password -S antminer:all --set-device antminer:clock=x0A81

my s1 shows the pool is alive and bfgminer shows PXY:0 but says "Sick!"

in both instances i also tried port 8330, 8332, and on the ants i tried the same username and password and also tried a uique user name and x as the password with identical results
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!