Post
Topic
Board Mining (Altcoins)
Re: [ANN] Stratum for Ethereum. Increase earning up to 20% compared to getwork.
by
buckrogers
on 21/03/2016, 00:22:29 UTC
(1)I get stuck on
Code:
2) start proxy with
 python ./eth-proxy.py

Using Ubuntu, I receiving: python: can't open file '.eth-proxy.py': [Errno 2] No such file or directory
I see the file in '/home/user/ethproxy/eth-proxy.py'

When using
Code:
python '/home/user/ethproxy/eth-proxy.py'
I receive ERROR proxy # Wrong Wallet! in the command terminal and nothing else happens?

I have edited my conf file below, do I need to change the py file too?
Quote
###
# Examples of command line for miners:
#
#   ethminer.exe --farm-recheck 200 -G -F http://HOST:PORT/
#   ethminer.exe --farm-recheck 300 -G -F http://HOST:PORT/rig1
#
#   ethminer.exe -G -F http://127.0.0.1:8080/
#   ethminer.exe --farm-recheck 100 -G -F http://192.168.0.33:8080/rig1
#
#  farm-recheck parameter is very individual. Just test different values.
#
#  You can submit shares without workername or
#  You can provide workername:
#   - with url like "/rig1"
#   - or use automatically numbering(integer) based on IP of miner
#
#  Servers:
#    EU-Server:  eth-eu.dwarfpool.com  (France)
#    US-Server:  eth-us.dwarfpool.com  (EastCoast: Montreal,Canada)
#    US-Server:  eth-us2.dwarfpool.com (WestCoast: Las Vegas)
#    RU-Server:  eth-ru.dwarfpool.com  (Moscow)
#    HK-Server:  eth-hk.dwarfpool.com  (Hong-Kong)
#    CN-Server:  eth-cn.dwarfpool.com  (Shanghai)
#    SG-Server:  eth-sg.dwarfpool.com  (Singapore)
#    AU-Server:  eth-au.dwarfpool.com  (Melbourne)
#
###

# Select Ethereum ETH or Expanse EXP
COIN = "ETH"

# Host and port for your workers
HOST = "192.168.0.101"
PORT = 8080

# Coin address where money goes
WALLET = "0xea7263feb7d8a8ab0a11eedd8f1ce04412ab0820"

# To donate please use wallet "0xea7263feb7d8a8ab0a11eedd8f1ce04412ab0820"

# It's useful for individually monitoring and statistic
ENABLE_WORKER_ID = True

# On DwarfPool you have option to monitor your workers via email.
# If WORKER_ID is enabled, you can monitor every worker/rig separately.
MONITORING = False
MONITORING_EMAIL = "mail@example.com"

# Main pool
POOL_HOST = "eth-us.dwarfpool.com"
POOL_PORT = 8008

# Failover pool
POOL_FAILOVER_ENABLE = True

POOL_HOST_FAILOVER1 = "eth-us2.dwarfpool.com"
POOL_PORT_FAILOVER1 = 8008

POOL_HOST_FAILOVER2 = "eth-eu.dwarfpool.com"
POOL_PORT_FAILOVER2 = 8008

POOL_HOST_FAILOVER3 = "eth-ru.dwarfpool.com"
POOL_PORT_FAILOVER3 = 8008


# Logging
LOG_TO_FILE = False

# Enable debug
DEBUG = False
---
(2)And to start mining from my computer hosting  the proxy I would use,
Code:
ethminer.exe --farm-recheck 200 -G -F http://127.0.0.1:8080//rig1
And to start mining on the 2nd rig would be,
Code:
ethminer.exe --farm-recheck 200 -G -F http://192.168.0.101:8080/rig2
Correct?
---
(3)And do I need to extract eth proxy on my 2nd rig?
---
(4)I also notice in the conf file,
Code:
POOL_PORT = 8008
But dwarf pool says to use port as 80, which is correct?
---

you can change:

# Host and port for your workers
HOST = "192.168.0.101"
PORT = 8080

to:

# Host and port for your workers
HOST = "0.0.0.0"
PORT = 8080

And you only need to run the proxy on one main PC, and have the others use the IP of that machine to use the proxy.
So if you edit the config on the PC you are running the proxy on, you can use "0.0.0.0" , and on the machines you are running the .bat file you just need to point themn to the 192.168.0.101 PC in the bat file.

example:

ethminer.exe --farm-recheck 200 -G -t 1 -F  http://ip-address-of-local-pc-running-proxy-goes-here:8080/rig2


the -t 1 is the number of gpus in rig #2, if you are running 5 gpu's then it would be -t 5

thanks!