Git Product home page Git Product logo

eth.sh's Introduction

eth.sh

Ubuntu 16.04 LTS Ethereum + ethminer setup script for Nvidia GPUs

New in version 1.1

  • script now activates auto-login with immediate screensaver lock. This facilitates automated miner startup as long as computer has power and secure unattended reboots directly to locked desktop.
  • if -w <wallet_address> option is used upon install miner will automatically launch upon startup behind locked screensaver at any reboot, powerup. [ request from user krtschmr ]. Miner automatically reboots every 24 hours and resumes. 15 minutes per 24 hours is donated time.
  • Default pool used is dwarfpool https://dwarfpool.com/eth [ not changeable for now, sorry ]
  • Nvidia 381 driver is now default
  • fixed bug parsing multiple GPU indexes [ thanks to user teflon16 for finding this bug ] not sure if the bug is actually fixed, I only have one GPU to test on, waiting on feedback
  • special thanks to user luigi311 for code suggestions, working on integrating suggestions.

--------------------------------------------------------------------------------

  • Written for Ubuntu 16.04 with a Desktop environment (Typical default install)
  • Features automatic power reduction and overclocking of GTX 1060 and GTX 1070 GPUs
  • Installs Nvidia driver if needed
  • Configures nvidia cool-bits xorg config as needed for overclocking
  • Installs latest ethminer with CUDA optimizations
  • Installs Ethereum package including geth
  • Optionally installs CUDA 8.0 toolkit and sets correct PATH per Nvidia documentation
  • Overclocking only option
  • Now fully automated
  • Will optionally donate 60 minutes of GPU time after install, only runs once

USAGE

Typical usage for full automation. From Desktop open terminal and cd to directory with script. Your computer will restart and continue automatically as needed. If your computer is fast some reboots will happen before you even unlock the screen. This is normal.

On a default clean install of Ubuntu 16.04 LTS, this is typical usage:

sudo chmod a+x eth.sh

sudo ./eth.sh -w 0xf1d9bb42932a0e770949ce6637a0d35e460816b5

Options can be added as desired. For verbose mode with lots of output [ not recommended, for debugging ]:

sudo ./eth.sh -w 0xf1d9bb42932a0e770949ce6637a0d35e460816b5 -v

To reduce GPU power and overclock with installing anything: (may require reboot if cool-bits are not set)

sudo ./eth.sh -o

Other options include:

-c       install CUDA 8.0 toolkit, not required for ethminer
-w       wallet address - this will activate full automation mode
-h       print this menu
-375     installs Nvidia 375 driver version rather than 375 
-o       overclocking only

After the script is done installing all steps, it will launch automatically at boot (your account will automatically be logged in and the screen locked. When you log in you will see the miner working in a terminal window. This will make your computer run slow of course. To stop mining at anytime, run top or ps commands in a separate terminal with apropriate options to kill the ethminer process.

If you are interested in overclocking only run ./eth.sh -o. Do not install the script. You should see output like the following:

sudo eth.sh -o
found 1 gpu[s]...
found GeForce GTX 1060 at index 0...
setting persistence mode...
Enabled persistence mode for GPU 0000:01:00.0.
All done.
setting power limit to 75 watts..
Power limit for GPU 0000:01:00.0 was set to 75.00 W from 120.00 W.
All done.
setting memory overclock of 500 Mhz...

  Attribute 'GPUMemoryTransferRateOffset' (riker-Z:0[gpu:0]) assigned value
  500.

eth.sh's People

Contributors

linux-mining avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.