Mining Using Linux With 4 Machines

Discussion in 'Proof-of-work Mining' started by MiloIce, Feb 14, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. MiloIce

    MiloIce Jr. Member

    Jan 18, 2016
    206
    26
    Male
    Hello guys, anyone out there could help me out with setting 4 machines to mine using linux? Into the same account that is.. I'm too lazy to do 4 wallets to manage 4 machines..

    Thanks in advance!
     
  2. root

    root Member

    Feb 3, 2016
    381
    76
    I saw it mentioned somewhere in forums. I believe I can help. But all your machines need a fast GPU, otherwise it is not worth the effort.
     
  3. MiloIce

    MiloIce Jr. Member

    Jan 18, 2016
    206
    26
    Male
    I seem to be searching for the wrong keywords then hmm.. Could you help me out on that?
     
  4. Lee Sharp

    Lee Sharp Sr. Member

    Dec 28, 2015
    308
    217
    Male
    Independent Consultant
    Houston, Texas
    When you run decred with the mining address, you need to make sure it binds to all ports, not just local host. Then when you run your miner software (like cgminer) you point it at that address.
     
  5. MiloIce

    MiloIce Jr. Member

    Jan 18, 2016
    206
    26
    Male
    Any idea how to go about that?
     
  6. Lee Sharp

    Lee Sharp Sr. Member

    Dec 28, 2015
    308
    217
    Male
    Independent Consultant
    Houston, Texas
  7. chappjc

    chappjc Full Member
    Developer Pool Operator (PoS)

    #7 chappjc, Feb 17, 2016
    Last edited: Feb 17, 2016
    You can also set up a local SSH tunnel. For example
    Code:
    user@linux00 ~ $  ssh user@host-with-dcrd -p 2220 -L 9109:localhost:9109 -N
    From the Linux machine linux00, that connects to host-with-dcrd, where dcrd is listening only on localhost, and opens a secure tunnel from port 9109 on linux00 coming out on port 9109 on host-with-dcrd (connects you to dcrd). Note that in this example we're connecting to an SSH server listening on the non-standard port 2220 -- a minor security enhancement, which should be used in addition to key pairs if you have the patience for that. Send it to the background with -f, but the connection MUST remain active.

    This way you can avoid having dcrd listen for RPC connections on anything but localhost, and you can let your miner connect to localhost:9109. The only catch is you need to copy the rpc.cert for the dcrd from host-with-dcrd to each of your boxes that wish to connect to it.
     

Share This Page