zzz

FREE E-Mail Alerts for Daily Coin Picks HERE!

Stay ahead of the pack with our newsletter and receive "Daily Coin Picks" in your e-mail inbox before everyone else. As coin investment is very time-sensitive, you will want to get the news as quickly as possible so you do not miss out on the next wave.


Optimized Scrypt and Scrypt-N Ubuntu Image for Litecoin, Dogecoin, and Vertcoin!

Download this video for viewing in HD on your smartphone or computer.
Click Here to Download High-Quality HD video to your Smartphone or Computer.

optimized-scryptn-ubuntu-flash-image-3

I know many of you have asked me for Vertcoin and since you do need some knowledge of Linux and compiling, I thought it would be easier if you can just download my optimized USB Ubuntu image that contains a compiled Vertcoin with optimized settings for R9 280X, doing 700Kh/s for Scrypt and 327Kh/s for Scrypt-N. (Scrypt-N gets around 40-45% of hashrate compared to Scrypt)

I’ve also included my original Litecoin cgminer, so you can easily switch between the two.

If you are not familiar with Ubuntu, I highly recommend watching the video tutorial above along with these instructions.

Step 1. Next, download the HighOnCoins Scrypt/Scrypt-N image and flash to your 8GB USB drive using Win32DiskImager.   (You can also use DD with Linux/Mac but that’s outside the scope of this tutorial, just Google it.)

I recommend you use a good USB 3.0 flash drive as their read/write speeds are much faster (even when using USB 2.0) and also they have less failures/corruption.  I specifically use Kingston Data Traveler USB flash drives, these have worked really well for me in the past for months without errors.  Some USB flash drives are really bad and they can ruin your stability so just make sure you get at least USB 3.0 flash drive.

Download HighOnCoins Scrypt and Scrypt-N Ubuntu Image for Litecoin, Dogecoin, and Vertcoin

Download Win32DiskImager

Step 2. You can connect to the Ubuntu by connecting a monitor cable to your first graphic card connected to the first PCI-E 16X slot and also connecting a keyboard/mouse.  OR my preferred method is to connect an ethernet cable to your router then remotely SSH (using Putty or terminal), you can check for the IP address by checking your router’s LAN status.

Open a terminal and connect to  using the following credentials:

id: litecoin
password: 123123

*Note – to change password, do “passwd” command in terminal.

Step 3. Type the following to set the AMD graphic drivers to recognize your graphic cards:

sudo sh ati.sh

optimized-scryptn-ubuntu-flash-image-1

Then do:

nano /etc/X11/xorg.conf

Count the number of graphic cards recognized by your rig.

optimized-scryptn-ubuntu-flash-image-2

For 6-card rig you should see something like below:

Section “ServerLayout”
Identifier “aticonfig Layout”
Screen 0 “aticonfig-Screen[0]-0” 0 0
Screen “aticonfig-Screen[1]-0” RightOf “aticonfig-Screen[0]-0”
Screen “aticonfig-Screen[2]-0” RightOf “aticonfig-Screen[1]-0”
Screen “aticonfig-Screen[3]-0” RightOf “aticonfig-Screen[2]-0”
Screen “aticonfig-Screen[4]-0” RightOf “aticonfig-Screen[3]-0”
Screen “aticonfig-Screen[5]-0” RightOf “aticonfig-Screen[4]-0”

Which shows Screen[0] through Screen[5].

If you have less or more cards, you should see the appropriate number of Screen[].

If everything is being recognized, you are good to go, reboot your system by typing:

sudo reboot

Step 4. For Scrypt coins such as Litecoin, Dogecoin, etc…, you can type “nano /home/litecoin/cgminer/cgminer.conf” to edit the cgminer configuration files, you will be able to change the pool info to yours.  Save when done.

For Scrypt-N coins such as Vertcoin, you can type “nano /home/litecoin/vertminer/vertminer.conf” to edit your pool info.

Step 5. To start the cgminer for Scrypt, simply type, “sh test.sh”.  If you see “FAILED!”, it means it’s successful. (Sorry I forgot to edit that part while writing the script.)  This will run cgminer in the background.

Likewise, to start cgminer for Scrypt-N, simply type “sh testvert.sh”.

Make sure you are only running Scrypt or Scrypt-N at one time, otherwise it will run both and you will get errors obviously.

Step 6. To actually see cgminer running, type “cgm”.  To get out of it, press Ctrl + a + d.  If you want to quit cgminer, type “q” instead.

Step 7. Once you get everything working great, you can enable auto-start script, which will start cgminer automatically upon boot, power-failure, lock-up, etc…etc…

For Scrypt:

Type “nano /etc/cron.d/saupdate” and remove the “#” from the this line and save:

#*/4 * * * * root sh /home/litecoin/test.sh

For Scrypt-N:

Type “nano /etc/cron.d/saupdate” and remove the “#” from the this line and save.

#*/4 * * * * root sh /home/litecoin/testvert.sh

If you want to switch from Scrypt to Scrypt-N, simply comment out the Scrypt test.sh line then uncomment the Scrypt-N testvert.sh.  Also make sure you either reboot or quit the existing Cgminer process running in the background (type “cgm” then “q”).

I’ve also included some extra code you can comment out to restart your machine at a certain time of the day or every couple hours.  This is a good idea since your graphic cards may go down sometimes, I usually reboot my rigs at least once a day and if the rig has more problems, every 3 hours.

Once that’s done, cron job will automatically check every 4 minute for cgminer and start it if its not running.

You can also check out my Vertcoin configs here.

If you want to know how I built this image, see here.

Like my stuff? You can send me coins!
BTC: 15ZgN5mFaK2cK2wbR6yAm2CvdWZu3xmXmU


Want to Contact Me? I am on Twitter 24/7!
Twitter
First time to digital currency?
Please see What is a Litecoin? FIRST!!!

34 thoughts on “Optimized Scrypt and Scrypt-N Ubuntu Image for Litecoin, Dogecoin, and Vertcoin!

  1. nabolito

    Hi
    I think your link to the ubuntu image is not pointing to the right file. Please check.
    Thanks for your good work, btw.
    Cheers,
    Nabolito.

    Reply
  2. Kent

    Your tutorials are the best. I was new to linux when I first starting converting my mining to linux and you helped me out a lot.

    I’ve since moved my GPU’s to Vertcoin on Ubuntu and am building a Gridseed rig. Right now I run the gridseeds with W7 and will eventually use a rapsberry pi but I was wondering if you had an image like your Vertcoin image that I could also run my gridseeds from. Would save me a bunch of time, and I’d owe you even more. 🙂
    Kent

    Reply
      1. Kent

        Right I saw that one, but I don’t have a rasp pi at the moment. I was hoping to run the ASICs on the same rig that is running my scrypt-n gpu’s

        If you don’t have it, you don’t have it. You’ve done plenty for me already. I’ll just go straight the the rasp pi when I have time to mess with it.

        Reply
  3. Steffen

    After editing nano /etc/cron.d/saupdate
    and trying to save, i always get “Permission denied”

    Any idea?

    Reply
      1. Steffen

        That worked, thanks!

        Another question: when i do some Manual adjustments to the graphoc Card Speeds in the GPU section,
        how do i save it correct so the Settings are still there when i reboot?
        I save it, but after reboot all cars again use the Initial Setting like i never adjusted it

        Reply
  4. Bob C

    Thanks for this image, but I can’t get it to connect to my wireless. I have a wireless card in my rig, and of course I need to connect to the wifi and enter a password. But I can’t get a gui interface using this image, only a terminal, and trying to get it to connect manually using iwconfig and stuff has been unsuccessful so far :/

    Reply
    1. Max Lee Post author

      Make sure you can get GUI booted, if not, something is wrong. Make sure you connect your HDMI to the graphic card on the first PCIe 16X slot, not 1 1X slot. Then use GUI to connect wifi.

      Reply
  5. Gerd

    First of all thank you for your guide!
    When starting the Vertminer with “sh testvert.sh” and then typing “cgm” i most of the time get only the message “Started vertminer 0.5.4pre2” but thats it. Nothing happens.
    Have 4 identic rigs, ist completely random if a rig starts mining or not. Have to reboot it endless times until i get a good start. One of them will not start mining at all. Like said, all identic.
    Any idea or any shortcut so i dont have to fully reboot after every attempt?

    Reply
    1. Max Lee Post author

      Did you do “sh ati.sh”
      Also what cards are u using?

      The default configs are for R9 280X, if not using those cards, you may have to change Engine and Memclock values lower.

      Reply
      1. Gerd

        Did all previous steps from your instructions, Cards are all recognized. Using the 280s.
        Or should i do sh ati.sh after every reboot?
        I tried that also, no change.

        Reply
        1. Max Lee Post author

          You just need to do it once after booting the image or whenever you change out cards. No need to do it everytime you boot though.

          Reply
  6. Gerd

    OK, but still no luck. What command can i use to stop the program so i can restart without rebooting?

    Reply
    1. Max Lee Post author

      What settings are you using?

      If your settings are too high, it may be causing cgminer to hang, which is probably why you need to reboot.

      Reply
  7. Gerd

    I used your Settings, but lowered them to 960 and 1300 for test and it started directly.
    Seems that was the problem (although it sometimes started with your Settings as well, just unreliable)

    Reply
    1. Max Lee Post author

      Well you have to adjust settings for your cards, not sure what cards you have but mine are set for R9 280X, less for 270X, and more for 290X.

      Reply
  8. ricky santos

    Hey Max, i was wondering if you could do a cudaminer ubuntu linux install, you’re cgminer/amd install was invaluable to me but i find myself with a gtx 750ti just iching to get mining, make one please i promise to donate!!!! thanks either way

    Reply
    1. Max Lee Post author

      oh man i spent like 2 days trying to get ccminer compiled, i dont recommend the linux version, use windows precompiled, i returned my ti 750s…

      Reply
      1. ricky santos

        yeah i’ve been trying i got it working great on windows but ubuntu has been a pain, the reason is that i like to dual boot my computer but if you can’t do it man there is no hope for me, thanks anyways and keep the vids coming

        Reply
  9. Jimmy

    Great stuff here, question about step 7. what do you actually mean by enable auto-start script? is that something like cgmon.tcl?

    Reply
        1. Max Lee Post author

          Actually does not restart, it only checks if it’s running. You may want to use 3rd party apps to control via CGminer API, there’s a bunch, try CGwatcher for a start.

          Reply
    1. Max Lee Post author

      Oh man, I gave up, that ccminer code is worthless junk, does not compile at all. I returned my Nvidia cards already, too many compatibility issues with linux and ccminer, I don’t recommend it. Only great if you use Windows, which I detest using for mining.

      Reply
      1. ricky

        yeah, i ran into the same problems, love linux cause when it works “it works” closest thing to set it and forget it out there for mining, windows is always complaining when it comes to mining , thanks, i’m glad it wasn’t just me, LOL…

        Reply
  10. Nico

    Hi, I try to mine LTC with Scrypt and CGminer.
    I have done “sh test.sh” and it gives me “CGMINER EXISTS!”
    What does it mean? I don’t even started it yet

    Reply
  11. FirstBret

    I have noticed you don’t monetize your site, don’t waste your traffic, you can earn additional
    cash every month because you’ve got hi quality content.
    If you want to know how to make extra money, search for: Mrdalekjd
    methods for $$$

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *