Cryptocurrency Mining Setup and Notes: Difference between revisions

From myWiki
No edit summary
No edit summary
Line 22: Line 22:


Static IP
Static IP
Edit /etc/network/interfaces
Edit /etc/network/interfaces assuming enp4s0 is the ethernet interface id.
  dhcp -> static then add
  auto enp4s0
iface enp4s0 inet static  
   address 192.168.0.x
   address 192.168.0.x
   netmask 255.255.255.0
   netmask 255.255.255.0
Line 30: Line 31:
   gateway 192.168.0.1
   gateway 192.168.0.1
   dns-nameservers 192.168.0.1 8.8.8.8 8.8.4.4
   dns-nameservers 192.168.0.1 8.8.8.8 8.8.4.4
If the hostname is modified, update /etc/hostname & /etc/hosts
Problems with DHCP timeout, edit /etc/dhcp/dhcpclient.conf
timeout 15 #from 300


Ethminer
Ethminer

Revision as of 15:43, 14 January 2018

Setup Ubuntu Server 16.04.3

Ethereum (geth)

sudo add-apt-repository ppa:ethereum/ethereum -y
sudo so apt update
sudo apt install ethereum -y

Import ethereum key or create new account

geth account list

AMDGPU-PRO 17.50-511655 (--compute has been deprecated)

amdgpu-pro-install --opencl=legacy,rocm --headless
sudo apt-get install mesa-common-dev

Notes:

boot to onboard VGA first

cli: don't start GUI in headless (server) setup

sudo systemctl set-default multi-user.target

Make user part of video user group

sudo usermod -a -G video <userid>

Static IP Edit /etc/network/interfaces assuming enp4s0 is the ethernet interface id.

auto enp4s0
iface enp4s0 inet static 
  address 192.168.0.x
  netmask 255.255.255.0
  network 192.168.0.0
  broadcast 192.168.0.255
  gateway 192.168.0.1
  dns-nameservers 192.168.0.1 8.8.8.8 8.8.4.4

If the hostname is modified, update /etc/hostname & /etc/hosts

Problems with DHCP timeout, edit /etc/dhcp/dhcpclient.conf

timeout 15 #from 300

Ethminer

git repository download

Zcash

website

Mining

ethermine.org (ethereum & zcash)