Advertisement
Guest User

Untitled

a guest
Mar 27th, 2014
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. ------------------------------------------------------------------------------------------
  2. How to replace Sgminer-Troky with the latest code from the main sgminer branch on Github?
  3. and subsequently become able to mine vertcoin without having to deal with vertminer 0.5.3
  4. ------------------------------------------------------------------------------------------
  5. ssh into your bamt box. (use putty on windows, ssh root@your.ip on a mac, default password is live, change this using passwd once inside)
  6.  
  7. ------------------------------------------------------------------------------------------
  8.  
  9. $ mine stop
  10. $ cd /opt/miners
  11. $ mv sgminer-4.1.0-troky sgminer-4.1.0-troky-orig
  12. $ git clone https://github.com/veox/sgminer.git sgminer-4.1.0-troky
  13. $ cd sgminer-4.1.0-troky
  14. $ cp -r ../sgminer-4.1.0-troky-orig/ADL_SDK .
  15. $ ./autogen.sh
  16. $ CFLAGS="-O2 -Wall -march=native" ./configure
  17. $ make
  18.  
  19. ------------------------------------------------------------------------------------------
  20.  
  21. Once done with this, make sure you enable sgminer-troky in /etc/bamt/bamt.conf
  22.  
  23. $ nano /etc/bamt/bamt.conf
  24. to save and exit hit Ctrl-X, then Y, then enter
  25.  
  26. find the following part and set it up like this:
  27. # CONFIG OPTIONS :
  28. #cgminer_opts: --api-listen --config /etc/bamt/vertminer.conf
  29. cgminer_opts: --api-listen --config /etc/bamt/sgminer-troky.conf
  30. #cgminer_opts: --api-listen --config /etc/bamt/sgminer-sph.conf
  31. #cgminer_opts: --api-listen --config /etc/bamt/cgminer.conf
  32.  
  33. # Set miner over-ride if you want something other than cgminer.
  34.  
  35. # MINER OPTIONS :
  36. # Vertminer 0.5.2 "the kev"
  37. # Sgminer 4.1.0 "troky"
  38. # Sgminer 4.1.0 "sph - aka - DarkCoin/QubitCoin/Quark"
  39. # Cgminer 3.7.2 "kalroth"
  40.  
  41. # !! Set all to 0 for cgminer. !!
  42.  
  43. miner-vertminer-thekev: 0
  44. miner-sgminer-troky: 1
  45. miner-sgminer-sph: 0
  46.  
  47. Indentation is important.
  48. ------------------------------------------------------------------------------------------
  49.  
  50. Now, set up your sgminer config
  51. $ nano /etc/bamt/sgminer-troky.conf
  52.  
  53. The following lines need to be added/present.
  54.  
  55. "algorithm" : "nscrypt",
  56.  
  57. Kernel needs to be one of the included kernels, not scrypt or nscrypt. ie:
  58. "kernel": "zuikkis",
  59.  
  60. Once happy, save and start the mine.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement