Advertisement
Guest User

Modify any version of BAMT for vertcoin with these steps.

a guest
Mar 10th, 2014
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. Already have BAMT running on your system and you want to try running vertminer on it instead? Follow these steps! I have done this on BAMT 1.1 and 1.3 with no issues.
  2.  
  3. Open up a root terminal. (Accessories > Root Terminal)
  4.  
  5. Type in these one line at a time:
  6.  
  7. git clone https://github.com/Bufius/vertminer-gpu.git /tmp/vertminer
  8. cp /opt/miners/cgminer/ADL_SDK/* /tmp/vertminer/ADL_SDK/
  9. cd /tmp/vertminer
  10. ./autogen.sh
  11. ./buildit.sh
  12. cp -R /tmp/vertminer /opt/miners/vertminer
  13.  
  14. These lines will downlaod the latest vertminer from github to a folder in /tmp/vertminer. Next you have to copy the ADL_SDK files from your cgminer directory to your vertminer directory (this step was in the wrong place in the original steps posted on bitcointalk. It is necessary to do this before you run the build command or else your gpu temps and fan settings won't register and your gpu settings won't be changeable within vertminer.)
  15.  
  16. The next line compiles vertminer. The following line copies the compiled vertminer into the folder /opt/miners/vertminer.
  17.  
  18. Next you will want to copy your cgminer.conf file located in /etc/bamt/ and rename the copy as vertminer.conf. This way if you switch back to cgminer at some point, you won't lose your scrypt settings. Please note that you will probably have to modify these settings for vertminer to work properly!
  19.  
  20. Next you have to modify 3 files. First, in the same directory as the vertminer.conf file is the bamt.conf file. Open this and look around line # 109 for this line:
  21.  
  22. cgminer_opts: --api-listen --config /etc/bamt/cgminer.conf
  23.  
  24. Copy this line and paste it below. Make the 2 lines look like this:
  25.  
  26. #VTC
  27. #cgminer_opts: --api-listen --config /etc/bamt/cgminer.conf
  28. cgminer_opts: --api-listen --config /etc/bamt/vertminer.conf
  29.  
  30. Save the file! This change makes BAMT look at your vertminer.conf file instead of your cgminer.conf file. (note I added the #VTC lines to my files just to make it easier to find the lines I changed)
  31.  
  32. Next open the gpumon file located in /opt/bamt/ folder. Around line 385, look for this line:
  33.  
  34. system("screen -r cgminer");
  35.  
  36. Copy the line like you did before and change the 2 lines to this:
  37.  
  38. #VTC
  39. #system("screen -r cgminer");
  40. system("screen -r vertminer");
  41.  
  42. Save the file.
  43.  
  44. Finally, open the file common.pl in the same directory. Around line 962, find this line:
  45.  
  46. my $cmd = "cd /opt/miners/cgminer;usr/bin/screen -d -m -S cgminer /opt/miners/cgminer/cgminer $args";
  47.  
  48. Copy the line, paste it below and make it look like this:
  49.  
  50. #VTC
  51. #my $cmd = "cd /opt/miners/cgminer;/usr/bin/screen -d -m -S cgminer /opt/miners/cgminer/cgminer $args";
  52. my $cmd = "cd /opt/miners/vertminer;/usr/bin/screen -d -m -S vertminer /opt/miners/vertminer/vertminer --nscrypt $args";
  53.  
  54. Save the file and you are done!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement