Bitcoin Forum
June 25, 2024, 08:02:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 18 »  All
  Print  
Author Topic: [GUIDE] How to rent your rig on LEASERIG.NET - Scrypt & SHA256  (Read 33393 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
SlipperySlope
Hero Member
*****
Offline Offline

Activity: 686
Merit: 501

Stephen Reed


View Profile
February 26, 2014, 09:26:14 PM
 #121

FYI. Leave the default log interval of 5 seconds alone when configuring cgminer. LeaseRigs cannot parse other than 1 or 5 second values according to a prompt PM conversation with djeZo. The administration POOLS panel reported accepted share values OK but each rig was getting set disabled. We fixed everything by resetting the cgminer log interval.
quovadiz
Full Member
***
Offline Offline

Activity: 253
Merit: 100


View Profile
February 27, 2014, 04:00:11 PM
Last edit: February 27, 2014, 04:26:32 PM by quovadiz
 #122

I'm a newbie here trying to config my miner to work with leaserig.
Everything seems clear and almost the whole config is done but i have one question.
I'm actually mining rotating over 4 pools every 2 hours and i would like to keep this config even with leaserig.
Is it possible to configure the sgminer to rotate over 4 pools only when the miner is not for renting?
I mean:
1) sgminer starts with my actual rotate pools config
2) sgminer switches to mine for the customer's pool in case of renting
3) sgminer switches back in my rotate config at the end of the rental period.
What do you think, is it possible? If yes where to put the configuration?
Rotation option in command line and the pools in sgminer.config?
Thanks for your precious help!
djeZo (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 520


View Profile
February 27, 2014, 05:02:27 PM
 #123

I'm a newbie here trying to config my miner to work with leaserig.
Everything seems clear and almost the whole config is done but i have one question.
I'm actually mining rotating over 4 pools every 2 hours and i would like to keep this config even with leaserig.
Is it possible to configure the sgminer to rotate over 4 pools only when the miner is not for renting?
I mean:
1) sgminer starts with my actual rotate pools config
2) sgminer switches to mine for the customer's pool in case of renting
3) sgminer switches back in my rotate config at the end of the rental period.
What do you think, is it possible? If yes where to put the configuration?
Rotation option in command line and the pools in sgminer.config?
Thanks for your precious help!

A simple py script could be written to do this via admin panel.

djeZo (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 520


View Profile
February 27, 2014, 10:17:20 PM
 #124

Added:

A. Simple method

1. STEP: Contact me (djeZo) - send me PM

If you are newbie with no reputation on this forum, send me PM with request to get listed, but tell me total speed of the rigs you would like to put on.

I will return to you with deposit amount. After deposit is made, send me PM and include:
- mining rig names (choose on your own - alphanumeric characters)
- your trust/reputation thread (this is mandatory so customers can post feedback there)

I will reply to you with access to admin panel on LeaseRig.net.

2. STEP: Setup LeaseRig Proxy

Download LeaseRig Proxy Software (Windows&Linux). Detailed instructions are in README.txt file. But to sum it up with an example if you have one rig to offer.

1. Extract all files.
2. Open pools.conf and configure your starting pools.
3. Edit run.bat file - change PUT-YOUR-ID-HERE with ID you get on admin panel.
4. Double click run.bat to run it.
5. Configure your mining rig to use pool:

stratum+tcp://127.0.0.1:3333

THAT IS ALL. However, there are some more advanced options which you would like to check out (such as realtime speed stats). Just read README.txt file. You can connect as many as you like rigs to this proxy and total hash power will be increased.

SlipperySlope
Hero Member
*****
Offline Offline

Activity: 686
Merit: 501

Stephen Reed


View Profile
February 27, 2014, 11:12:33 PM
 #125

I executed ...
Code:
./leaserigproxy_linux 3333 PUT-YOUR-ID-HERE 0

and got this error message, using my actual generated ID on LeaseRig ...

Quote
--127.0.0.1:45669->connecting to pool yourpoolhere.com:3333
--127.0.0.1:45670->rig connected
--127.0.0.1:45670->connecting to pool yourpoolhere.com:3333
--127.0.0.1:45672->rig connected
--127.0.0.1:45672->connecting to pool yourpoolhere.com:3333
--127.0.0.1:45673->rig connected
--127.0.0.1:45673->connecting to pool yourpoolhere.com:3333
--127.0.0.1:45674->rig connected
ERROR: Failed to init socket


djeZo (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 520


View Profile
February 28, 2014, 12:08:41 AM
 #126

I executed ...
Code:
./leaserigproxy_linux 3333 PUT-YOUR-ID-HERE 0

and got this error message, using my actual generated ID on LeaseRig ...

Quote
--127.0.0.1:45669->connecting to pool yourpoolhere.com:3333
--127.0.0.1:45670->rig connected
--127.0.0.1:45670->connecting to pool yourpoolhere.com:3333
--127.0.0.1:45672->rig connected
--127.0.0.1:45672->connecting to pool yourpoolhere.com:3333
--127.0.0.1:45673->rig connected
--127.0.0.1:45673->connecting to pool yourpoolhere.com:3333
--127.0.0.1:45674->rig connected
ERROR: Failed to init socket



By any chance did you put pool 127.0.0.1:3333 into pools.conf file? If yes, then you created a infinite connecting loop which will eventually use all sockets and crash. 127.0.0.1:3333 should be used in your cgminer!

emoomjean
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
February 28, 2014, 02:14:08 AM
 #127

djeZo,

So, if i'm understanding this correctly, the applet essentially works as a stratum server that your miner is pointed to which is then uplinked to the leaserig website?

If so, this sounds great since I will be receiving a bunch of gridseed miners tomorrow and I was scratching my head how to get them to work with Leaserig.  Now i'll just run the applet from my HTPC and point all the miners to it's IP as my pool address.

Just read the Readme and it sounds like this might be the solution I was looking for!  Now I just gotta sit here refreshing delivery details and wait for DHL to arrive....

-Eric

djeZo (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 520


View Profile
February 28, 2014, 11:28:04 AM
 #128

djeZo,

So, if i'm understanding this correctly, the applet essentially works as a stratum server that your miner is pointed to which is then uplinked to the leaserig website?

If so, this sounds great since I will be receiving a bunch of gridseed miners tomorrow and I was scratching my head how to get them to work with Leaserig.  Now i'll just run the applet from my HTPC and point all the miners to it's IP as my pool address.

Just read the Readme and it sounds like this might be the solution I was looking for!  Now I just gotta sit here refreshing delivery details and wait for DHL to arrive....

-Eric



Yes, it is actually a stratum proxy. I have plans to expand it to support getwork&getblocktemplate HTTP requests, then even solo mining will be possible.

contemptx
Member
**
Offline Offline

Activity: 76
Merit: 10


View Profile
February 28, 2014, 03:43:43 PM
Last edit: February 28, 2014, 04:13:05 PM by contemptx
 #129

I get the error: can not execute this binary file?
when trying to run the stratum.

Also anyone know of a solution to add this so it starts up before cgminer within BAMT? and for it to check that its running / restart if not..?

UPDATE: BAMT = 32bit and the provided binary for the stratum is 64bit.
djeZo (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 520


View Profile
February 28, 2014, 04:43:50 PM
 #130

Updated proxy to version 0.03b. Update is recommended, because some stratum pools did not work with previous releases.

gsupp
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
February 28, 2014, 06:22:14 PM
 #131

I get the error: can not execute this binary file?
when trying to run the stratum.

Also anyone know of a solution to add this so it starts up before cgminer within BAMT? and for it to check that its running / restart if not..?

UPDATE: BAMT = 32bit and the provided binary for the stratum is 64bit.

Any chance of getting a 32bit compiled version of LeaseRigProxy for those of us running BAMT? Also do you have any ideas for setting this up redundantly (I don't want LeaseRigProxy to be a single point of failure)?

Thanks.
Tigggger
Legendary
*
Offline Offline

Activity: 1098
Merit: 1000



View Profile
February 28, 2014, 08:08:01 PM
 #132

UPDATE: BAMT = 32bit and the provided binary for the stratum is 64bit.

Any chance of getting a 32bit compiled version of LeaseRigProxy for those of us running BAMT? Also do you have any ideas for setting this up redundantly (I don't want LeaseRigProxy to be a single point of failure)?

Thanks.

From the latest version I just downloaded, looks like it's already been fixed.

v0.03b
- fixed issue of some stratum pools not being supported
- linux executable is now 32-bit

Also many thanks to djeZo for working through some problems with my SHA256 rigs (hence the v0.02 and v0.03 !!)

djeZo (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 520


View Profile
February 28, 2014, 08:46:32 PM
 #133

I get the error: can not execute this binary file?
when trying to run the stratum.

Also anyone know of a solution to add this so it starts up before cgminer within BAMT? and for it to check that its running / restart if not..?

UPDATE: BAMT = 32bit and the provided binary for the stratum is 64bit.

Any chance of getting a 32bit compiled version of LeaseRigProxy for those of us running BAMT? Also do you have any ideas for setting this up redundantly (I don't want LeaseRigProxy to be a single point of failure)?

Thanks.

If you are referring to the possibility of proxy crashing, then the easy solution is to make a script which auto-restarts it in case of crashing. Pools are saved in file after each modification, and everything is established back when proxy is started again (connection with LeaseRig, pools are loaded again, cgminers attempt new connection to proxy after few seconds). I personally haven't experienced any crash yet, nor I got any reports of crashing proxy. It should be pretty stable.

crazyates
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
February 28, 2014, 09:58:16 PM
 #134

I executed ...
Code:
./leaserigproxy_linux 3333 PUT-YOUR-ID-HERE 0

and got this error message, using my actual generated ID on LeaseRig ...

Quote
--127.0.0.1:45669->connecting to pool yourpoolhere.com:3333
--127.0.0.1:45670->rig connected
--127.0.0.1:45670->connecting to pool yourpoolhere.com:3333
--127.0.0.1:45672->rig connected
--127.0.0.1:45672->connecting to pool yourpoolhere.com:3333
--127.0.0.1:45673->rig connected
--127.0.0.1:45673->connecting to pool yourpoolhere.com:3333
--127.0.0.1:45674->rig connected
ERROR: Failed to init socket
By any chance did you put pool 127.0.0.1:3333 into pools.conf file? If yes, then you created a infinite connecting loop which will eventually use all sockets and crash. 127.0.0.1:3333 should be used in your cgminer!
I'm getting the same problem. I'm running the proxy on a VM, and trying to direct my AntMiners to them. The pools.conf has one starting pool, which is not itself (It's slush's, to be exact). The Antminer only has one pool, which is IP:3333 of the proxy VM. They're on the same network, and can ping each other.

It sits there for a while, and as soon as I start CGMiner on the AntMiner, the proxy crashes.

Listening on 3333 for miners
Connecting to LeaseRig.net
Pool connection established: stratum.bitcoin.cz:3333
Connected to LeaseRig.net
Pool authorized: stratum.bitcoin.cz:3333
Authorized with LeaseRig.net
*Sits here for a while, and as soon as I connect a miner, the following lines all show up, and then it closes*
--10.0.4.101:53767->rig connected
--10.0.4.101:53767->connecting to pool stratum.bitcoin.cz:3333
--10.0.4.101:53767->pool connection established
--10.0.4.101:53767->rig disconnected
--10.0.4.101:53768->rig connected
--10.0.4.101:53768->connecting to pool stratum.bitcoin.cz:3333
--10.0.4.101:53768->pool connection established
--10.0.4.101:53768->rig disconnected
--10.0.4.101:53769->rig connected
--10.0.4.101:53769->connecting to pool stratum.bitcoin.cz:3333
--10.0.4.101:53769->pool connection established
--10.0.4.101:53769->pool diff: 3
--10.0.4.101:53769->rig disconnected
--10.0.4.101:53770->rig connected
--10.0.4.101:53770->connecting to pool stratum.bitcoin.cz:3333
--10.0.4.101:53770->pool connection established
--10.0.4.101:53770->pool diff: 3

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
djeZo (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 520


View Profile
February 28, 2014, 10:08:09 PM
 #135

Could you give me some login details for this pool (PM me), will test on my own and see what happens.

Crypto Apprentice
Newbie
*
Offline Offline

Activity: 58
Merit: 0


View Profile WWW
March 01, 2014, 04:34:00 PM
 #136

When running the proxy with SMOS I get

Quote
/lib/i686/cmov/libc.so.6: version `GLIBC_2.15' not found

Any ideas?  I am using V 0.03b
djeZo (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 520


View Profile
March 01, 2014, 05:05:33 PM
 #137

When running the proxy with SMOS I get

Quote
/lib/i686/cmov/libc.so.6: version `GLIBC_2.15' not found

Any ideas?  I am using V 0.03b

Try to install: http://sourceware.org/ml/libc-alpha/2012-03/msg00836.html

djeZo (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 520


View Profile
March 01, 2014, 08:00:00 PM
 #138

Updated proxy; changelog is:

Quote
v0.04b
- localhost target pool not allowed (to prevent loopback attack)
- failed domain resolution prints warning
- improved failed connection detection on linux (no more crashing)

All providers using linux, you this update is mandatory. It should fix all crashes happening on linux.

djeZo (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 520


View Profile
March 02, 2014, 08:55:12 AM
 #139

Quote
v0.5a
- added additional checks for 'broken pipe' to eliminate linux crashing

WireIT
Member
**
Offline Offline

Activity: 60
Merit: 10


View Profile
March 02, 2014, 01:51:14 PM
 #140

Quote
v0.5a
- added additional checks for 'broken pipe' to eliminate linux crashing

Was running 0.04, woke up to "rig down (critical)". I've now upgraded to 0.05 and crossing my fingers.

Thanks for all your work!

Rent my rigs at LeaseRig.net - ProxIT01 : ProxIT02
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 18 »  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!