Author

Topic: bfgminer stratum proxy (Read 9357 times)

brand new
Activity: 0
Merit: 0
September 03, 2024, 01:01:21 AM
#24
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


HI did you solved... we are now on 2024- September.. I am trying but same issues still even with bfg 5.5.0-34 and need help !
full member
Activity: 142
Merit: 101
November 30, 2015, 11:53:17 AM
#23
ok, but i'm not looking to mine to pools.

I'm looking to point some antminer S1's at a local wallet to solo mine a low diff coin.

the --stratum-port command when issued doesnt allow the S1s to connect to the host running bfgminer.

I get this message:
Code:
SSM: No usable 2D work upstream!

if i issue the --http-port,  i get the message that it is listening on the port i configure

both methods show the address as DEAD on the Antminers config page
hero member
Activity: 868
Merit: 503
November 30, 2015, 11:39:50 AM
#22
This is not a fix for your hardware issue but a workaround.  I used to use a mining rental service.  it was miningrigrentals.com I think.  The idea is that you point your miner at that and then people can rent it.  The thing is that you can set your own pools for when it is not rented and you do that through their website.  You can then  also set your rig to not being available to rent and it pretty much runs straight to the pool you set and nothing else.  You also get a decent amount of feedback from the site itself about speed.
full member
Activity: 142
Merit: 101
November 30, 2015, 11:35:42 AM
#21
Was this ever fixed? Having the same issue
newbie
Activity: 58
Merit: 0
September 15, 2014, 05: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
full member
Activity: 152
Merit: 100
September 15, 2014, 02: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 )
newbie
Activity: 58
Merit: 0
September 15, 2014, 09:04:10 AM
#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
full member
Activity: 152
Merit: 100
September 14, 2014, 01: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.
newbie
Activity: 58
Merit: 0
September 13, 2014, 07:10:26 PM
#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

newbie
Activity: 56
Merit: 0
March 29, 2014, 10:24:32 AM
#15
 ant miner is hard to use

I will never try it
sr. member
Activity: 1316
Merit: 254
Sugars.zone | DatingFi - Earn for Posting
March 29, 2014, 05: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
newbie
Activity: 1
Merit: 0
March 29, 2014, 02: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
newbie
Activity: 54
Merit: 0
February 19, 2014, 09:26:59 AM
#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.
sr. member
Activity: 1316
Merit: 254
Sugars.zone | DatingFi - Earn for Posting
February 17, 2014, 11:23:02 PM
#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.
legendary
Activity: 2968
Merit: 1198
January 10, 2014, 05: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.
sr. member
Activity: 458
Merit: 250
beast at work
January 10, 2014, 12: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
legendary
Activity: 2968
Merit: 1198
January 09, 2014, 08:51:18 PM
#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?
sr. member
Activity: 458
Merit: 250
beast at work
January 09, 2014, 07:56:29 PM
#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.
legendary
Activity: 2968
Merit: 1198
January 09, 2014, 05: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.
legendary
Activity: 1778
Merit: 1003
NodeMasters
January 09, 2014, 03: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.

legendary
Activity: 1778
Merit: 1003
NodeMasters
January 08, 2014, 06: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 .
legendary
Activity: 2968
Merit: 1198
January 08, 2014, 06: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.
sr. member
Activity: 458
Merit: 250
beast at work
January 08, 2014, 06: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
legendary
Activity: 2968
Merit: 1198
January 08, 2014, 06: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.

Jump to: