In the second installment of our DIY litecoin mining guide, we’ll look at how to install and configure Linux to properly mine with your GPUs at optimal settings. Don’t be dissuaded if you’ve never used Linux before—our step-by-step guide makes it easy.
Linux has a few advantages over Windows, including the ability to install to a USB stick (which means you don’t need a harddrive), lesser hardware requirements (you can get by just fine with less than 4GB of RAM), and simpler remote administration capabilities. Best of all, Linux is free! However, be aware that if you’d like to undervolt your GPUs to save power, Windows might be a better choice for you (update 10/2013: no longer true!).
If you missed the hardware portion of our guide, make sure to check it out first. Otherwise, read on.
Build a Litecoin Mining Rig, part 2: Linux Setup
So you’ve decided to use Linux to run your mining rig—a fine choice! If you’re still a bit nervous because you’ve a complete Linux newbie, don’t be. Simply follow the step-by-step instructions exactly as they’re written, and you’ll be fine. Even if you’ve never done anything like this before, you should be up and running in about an hour.
Step 1: Configure BIOS settings
Before we even get to Linux, make sure your mining computer’s BIOS settings are in order. Power on your computer, and press the “delete” key a few times immediately after power on. You should end up in the BIOS configuration area. Do the following, then save & exit:
- Change power options so that the computer automatically turns itself on whenever power is restored. The reason for this is two-fold: first, it’ll make sure that your miner automatically starts up after a power outage. Second, it makes powering the computer on much easier if you don’t happen to have a power switch connected to the motherboard.
- Make sure that your USB stick is first in the boot-up order (you may need to have a USB stick attached).
- Disable all components that you don’t plan to use. This will save a little bit of power, and since your miner will likely be running 24/7, it’ll add up. For me, that meant disabling onboard audio, the SATA controller, the USB 3.0 ports (I only had a 2.0 USB stick), the Firewire port, and the serial port.
Step 2: Install Xubuntu Desktop to your USB stick
Xubuntu is a lightweight version of Ubuntu, a popular Linux distribution. Most other distros should work just fine, but be aware that the GPU drivers require the presence of Xorg, which means server distros that don’t have a GUI will not work properly.
- Download the Xubuntu Desktop x64 v12.10 installation image.
- You’ll need to either burn the installation image onto a CD, or write the image to a second USB stick. If you use a CD, you’ll need to temporarily hook up a CD-ROM drive to your mining rig for the installation (make sure you temporarily enable your SATA controller if you disabled it in step 1!).
- Once you have the installation media prepared, you’re ready to install Xubuntu to the blank USB stick on your miner. Make sure your blank USB stick is inserted into a USB port on your mining, and then boot into your installation media. The Xubuntu installer should appear.
- Make sure to click the “auto-login” box towards the end of the installer; otherwise take all of the default installation options.
- If you’re using a USB stick that is exactly 8GB, the installer may complain about the default partition sizes being too small. Create a new partition table with these settings: 5500mb for root (/), 315mb for swap, and the remaining amount for home (/home). If you’re using a USB stick larger than 8GB, you will not have to do this.
- When the installation is complete, you should automatically boot into the Xubuntu desktop. Make sure to remove your installation media.
Step 3: Install AMD Catalyst drivers
Open a terminal session by mousing over the bottom center of the screen so that a list of icons appears. Click on “terminal” (it looks like a black box).
- Type the following commands (press “enter” at the end of each line and wait for Linux to finish doing it’s thing):
sudo apt-get install fglrx-updates fglrx-amdcccle-updates fglrx-updates-dev sudo aticonfig --lsa sudo aticonfig --adapter=all --initial sudo reboot
- After your computer reboots, you can verify that everything worked by typing:
sudo aticonfig --adapter=all --odgt
- If you see all of your GPUs listed, with “hardware monitoring enabled” next to each, you’re good to go.
Important: you may need to have something plugged into each GPU to prevent the OS from idling it. You can plug 3 monitors into your 3 GPUs, but that isn’t very practical. The easiest option is to create 3 dummy plugs, and leave them attached to your GPUs. They’ll “trick” the OS into believing that a monitor is attached, which will prevent the hardware from being idled. Check out how to create your own dummy plugs.
If you ever add or remove GPUs to your rig later, you’ll need to re-run this command: sudo aticonfig --adapter=all --initial
Step 4: Install SSH, Curl, and package updates
- Install SSH by typing:
sudo apt-get install openssh-server byobu
With SSH installed, you can unplug the keyboard/mouse/monitor (put dummy plugs into all GPUs, though) from your miner, and complete the rest of the installation from your desktop computer. Simply download Putty onto your desktop, run it, and enter the IP address of your mining rig. That should bring up a remote terminal session to your miner, which is more or less just like sitting at the keyboard in front of it.
If you plan to manage your mining rig remotely over the internet, you’ll need to forward port 22 on your router to your miner. Make sure that you use a strong Xubuntu password!
Setup should be quicker from this point, as now you can simply copy text from this webpage (highlight it and press control-C) and then paste it into your Putty session by simply right-clicking anywhere inside the Putty window. Neat, eh?
- Install Curl and package updates by typing (or copying & pasting into Putty) the following commands:
sudo apt-get install curl sudo apt-get update sudo apt-get upgrade
Step 5: Install cgminer
Cgminer is the mining software we’ll be using. If the first command doesn’t work, you’ll need to check out the cgminer website and make a note of the current release version. Substitute that in the commands below.
Update: Cgminer 3.7.2 is the last version to support scrypt—do not use any version after that! In addition, depending on which version you choose to use, you may receive an error complaining about libudev.so.1 when you try to run cgminer—you can find the fix for that here.
- Type the following:
wget http://ck.kolivas.org/apps/cgminer/2.11/cgminer-2.11.4-x86_64-built.tar.bz2 tar jxvf cgminer-2.11.4-x86_64-built.tar.bz2
- If everything was uncompressed successfully, we can delete the downloaded archive; we don’t need it anymore:
rm *.bz2
- Now check if cgminer detects all of your GPUs properly:
cd cgminer-2.11.4-x86_64-built export DISPLAY=:0 export GPU_USE_SYNC_OBJECTS=1 ./cgminer -n
Step 6: Create cgminer startup script
We’re almost done—now we just need to create a few simple scripts to control cgminer.
- If you’re still in the cgminer directory from the previous step, first return to your home directory:
cd ..
- Type the following to create a new file with nano, a Linux text editor:
sudo nano mine_litecoins.sh
- Type the following into nano (note where the places you need to substitute your own usernames!) :
#!/bin/sh export DISPLAY=:0 export GPU_MAX_ALLOC_PERCENT=100 export GPU_USE_SYNC_OBJECTS=1 cd /home/YOUR_XUBUNTU_USERNAME/cgminer-2.11.4-x86_64-built ./cgminer --scrypt -I 19 --thread-concurrency 21712 -o stratum+tcp://coinotron.com:3334 -u USERNAME -p PASSWORD
- Save the file and quit nano, then enter the following:
sudo chmod +x mine_litecoins.sh
Note that the cgminer settings we’re using in our mine_litecoins.sh script correspond to a good starting point for Radeon 7950 series GPUs. If you followed our hardware guide, these settings will give you good hashrates. If you’re using another type of GPU, you’ll want to use Google to find optimal cgminer settings for it.
Also note that you’ll need to create an account at one of the litecoin mining pools, and plug your username and password into the script (the -u and -p parameters). I have Coinotron in there as an example, but there are quite a few to choose from.
Step 7: Create auto-start scripts
We want cgminer to automatically start mining whenever the rig is powered on. That way, we keep mining losses to a minimum whenever a power outage occurs, and we don’t have to worry about manually starting it back up in other situations.
- Type the following to create a new script and open it in nano:
sudo nano miner_launcher.sh
- Enter the following text into the editor (substitute your Xubuntu username where shown!):
#!/bin/bash DEFAULT_DELAY=0 if [ "x$1" = "x" -o "x$1" = "xnone" ]; then DELAY=$DEFAULT_DELAY else DELAY=$1 fi sleep $DELAY su YOUR_XUBUNTU_USERNAME -c "screen -dmS cgm /home/YOUR_XUBUNTU_USERNAME/mine_litecoins.sh"
- Save and quit nano, and then type:
sudo chmod +x miner_launcher.sh
- Now we need to call our new script during startup; we do that by adding it to /etc/rc.local. Type the following to open /etc/rc.local in nano:
sudo nano /etc/rc.local
- Add the following text, right above the line that reads “exit 0” (substitute your own username!):
/home/YOUR_XUBUNTU_USERNAME/miner_launcher.sh 30 &
Step 8: Create an alias to easily check on cgminer
We’re essentially done at this point, but you’ll probably want to manually SSH into your miner from time to time to manually check on your GPU temperatures & hashrates, etc. Creating an alias will make that easy.
- Type:
sudo nano .bashrc
- Scroll to the end of the file, and then add this text above the line that reads “# enable programmable completion…”
alias cgm='screen -x cgm'
- Save and quit out of nano.
That’s it—you’re done! You’ll probably want to test everything now. The easiest way to do that is to close your Putty session and power down your miner. Turn it back on and the following should happen:
- Your miner should boot into Xubuntu. This may take about a minute, depending on the speed of your USB stick.
- 30 seconds after Xubuntu has loaded, cgminer will automatically start and begin mining. You’ll probably notice the fans on your GPUs spin up when this happens.
- You should be able to SSH into your miner at any time and type cgm to bring up the cgminer screen. To close the screen (and leave cgminer running), type control-A, then control-D.
- If you ever need to start cgminer manually (because you quit out of it, or kill it, etc), simply type ./miner_launcher.sh
Congratulations—you have your own headless linux litecoin miner!
The next section of our guide covers setup under Windows, and then we take a look at optimizing cgminer settings for better performance.
@Joseph,
You need to make the USB drive “bootable”. Following link has instructions on how to do that. (I believe CB had also put a link up there that walks you through the process)
http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows
HTH
First I wanted to say thank you badger for the fantastic guide. I beat my head for a few days with constant problems but turned out to be a fault SSD. I went with a different brand but onto my problem.
sudo apt-get install fglrx-updates fglrx-amdcccle-updates fglrx-updates-dev
sudo aticonfig –lsa
sudo aticonfig –adapter=all –initial
sudo reboot
Using this requires the standard drivers and only allowed 1 of my GPU’s to work (assuming I would need dummy plugs) I went ahead and changed the version to a slightly newer one. 9.1.11 are the ones I am using.
I cannot find any way to get to the 600Kh/s, there has to be something I am missing.
This is the best I have gotten so far. I’d like to eventually add a 4th and 5th GPU but got to fix the current KH/s.
[P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
GPU 0: 66.0C 2393RPM | 256.6K/275.1Kh/s | A:376 R:0 HW:0 WU: 218.9/m I:13
GPU 1: 64.0C 2269RPM | 253.5K/271.2Kh/s | A:188 R:0 HW:0 WU: 247.2/m I:13
GPU 2: 58.0C 1847RPM | 252.2K/270.0Kh/s | A: 94 R:0 HW:0 WU: 221.3/m I:13
Any help would be greatly appreciated.
Your Intensity is very low (I: 13)
try to increase it, e.g. with parameter -I 18 or even -I 20, when calling cgminer
or do it interactively while mining, type g and then i (maybe you have to select a GPU beforehand) and set it higher
Thank you for the reply and I gave it a shot but it only went up about 5%, I feel like for some reason they are sharing the load instead of handling it by themselves. I went ahead and installed BAMT Litecoin and am now getting 660 KH/z with only a 1050 clock and 1350 mem. Cards keep cool at 74 with box fan, without the fan they hang around 78. Loving it so far mined my first LTC the other day.
after playing with it for a while under windows i decided to try the xubuntu way
but i don’t get near the advertised speeds
tested with sapphire 7770 and MSI TF3 7950
cgminer several versions and even bfgminer
CPU usage is horrible, around 80-100%
are the current drivers in the repos broken for litecoin?
Yes
scrypt is removed from cgminer.
You should only use version 3.7.x not higher..
Hello, I need some help. When I set up Cgminer’s Intensity up to 13 it freezes the computer after 30 secs of mining (and it stops mining). I only have one GPU 7050 so I don’t know why is happening that. If I leave the intensity below 13 I am only getting 260 Kh/s.
My rig:
Hardware
GPU: 7950(1); RAM: 4GB; PSU: 850w;Mobo: HP 3031h (I took it from my old computer); Processor: intel dual core.
Software
OS: Xubuntu;
Cgminer’s config:
My launch file:
#!/bin/sh
export DISPLAY=:0
esport GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
cd /home/templar77/cgminer
./cgminer –config ./cgminer.conf
And my config file:
{
“pools” : [
{
“url” : “http://ltc.give-me-coins.com:3333”,
“user” : “Templar77.1”,
“pass” : “x”
}
]
,
“intensity” : “12”,
“vectors” : “1”,
“worksize” : “256”,
“lookup-gap” : “2”,
“thread-concurrency” : “17920”,
“shaders” : “1792”,
“gpu-engine” : “900-1025”,
“gpu-fan” : “40-100”,
“gpu-memclock” : “1550”,
“gpu-powertune” : “20”,
“gpu-vddc” : “1.100”,
“temp-cutoff” : “99”,
“temp-overheat” : “95”,
“temp-target” : “80”,
“api-port” : “4028”,
“expiry” : “120”,
“failover-only” : true,
“gpu-threads” : “2”,
“log” : “5”,
“queue” : “1”,
“scan-time” : “60”,
“temp-hysteresis” : “3”,
“scrypt” : true,
“kernel” : “scrypt”,
“kernel-path” : “/usr/local/bin”
}
Plz help me, I’ve been trying everything for two days but my rig keeps crashing and I can only get 260 Kh/s out of it without crashing it.
Thanks!
[Sorry for my bad English]
Your cgminer settings are kind of odd and are probably over-working your GPU. What brand and model of 7950 do you have?
If you have the top tier MSI, Gigabyte, or Sapphire card, you can give the settings from my optimization guide a try.
My card is the 7950 XFX GHOST. I can’t go above Intensity 13 because my rig crashes. I’m only getting 330 Kh/s atm and don’t know how to increase that. This is my best conf:
“intensity” : “13”,
“vectors” : “1”,
“worksize” : “256”,
“kernel” : “scrypt”,
“lookup-gap” : “0”,
“thread-concurrency” : “8192”,
“shaders” : “0”,
“gpu-engine” : “1050”,
“gpu-fan” : “0-85”,
“gpu-memclock” : “1250”,
“gpu-memdiff” : “0”,
“gpu-powertune” : “0”,
“gpu-vddc” : “0.000”,
“temp-cutoff” : “95”,
“temp-overheat” : “85”,
“temp-target” : “75”,
“api-port” : “4028”,
“expiry” : “120”,
“gpu-dyninterval” : “7”,
“gpu-platform” : “0”,
“gpu-threads” : “1”,
“log” : “5”,
“no-pool-disable” : true,
“queue” : “1”,
“scan-time” : “60”,
“scrypt” : true,
“temp-hysteresis” : “3”,
“shares” : “0”,
“kernel-path” : “/usr/local/bin”
}
Hey,
Anyone tell me how you program the mining rig? You connect your computer to the motherboard? Then you work with a terminal from there?
Dear CB–
First of all thanks for the great guides and information. I am having some difficulty installing xubuntu on my rig though. I have created a live usb using Linux Live USB creator and am saving to a second USB stick. I also have a USB keyboard and mouse plugged in to the mobo. When I start the rig up and it boots into grub the mouse, keyboard, and usb sticks work, however when I choose to install ubuntu from the Grub menu and the xubuntu loading screen comes up I notice that the status lights on my usb sticks are not blinking and I eventually get an error saying “unable to find a medium containing a live file system”. I was tinkering with the setup for hours trying different usb slots and I found that it does a little better when I plug the live key into my USB 3.0 slot it will bring up the install menu but then after clicking through one or two screens there is a fatal error. It seems that xubuntu is not recognizing my USB 2.0 slots at all, and not reading the USB 3.0 slots correctly. I thought maybe it was the key that was bad, but I have tested the key on my personal desktop and everything works fine I am able to run a live session and navigate through the install menu. What do you think is the problem? Please help! Thank you!
Are you using the ASRock board that I recommend? If so, with some USB sticks only the USB 2.0 ports seem to work properly. Make sure that the USB 2.0 ports are enabled in BIOS, and try with both sticks plugged into them. If that fails, and you have a CD drive around that you can hook up temporarily, you might want to try burning the Xubuntu installation image to a CD and installing it that way.
Hey there CB–
Thanks for the input, turns out that I had a bad mobo and have since replaced it so all is well on that end. That said I am having some issues getting the cgminer screen up, I am new to ubuntu terminal but I believe I followed all of your instructions and all went well but when I type “cgm” I get the response “there is no screen to be attached matching cgm”. Why do you think this is? Thanks for your help.
Davin:
If you type cgm and get that as output, then there’s no screen session to attach to under the cgm alias. The screen session should have been started through the miner_launcher.sh script invoked by rc.local at boot. That is, if you have followed all instructions to the letter.
Please make sure you have:
– No typos / syntactical errors
– No misplaced lines (for example accidentally below the exit 0 in rc.local)
– Properly set mine_litecoins.sh executable flag (chmod +x)
– Proper substitution of values such as YOUR_XUBUNTU_USERNAME and your cgminer version in its directory path
– You have actually rebooted since setting everything up
Here’s how to try to run miner_launcher.sh and mine_litecoins.sh directly to see what is going on.
Copy the line from rc.local and run it from a terminal:
/home/YOUR_XUBUNTU_USERNAME/miner_launcher.sh 30 &
You will probably have to enter your user account’s password. This is normal (because you now issue “su” as non root user under the hood). Wait for a bit more than 30 seconds and issue “cgm”. If you get the same output, the screen exited already (but its exit code / output was suppressed).
If that happens try to run mine_litecoins.sh directly. Do this by issuing:
/home/YOUR_XUBUNTU_USERNAME/cgminer-2.11.4-x86_64-built/mine_litecoins.sh
or
cd /home/YOUR_XUBUNTU_USERNAME/cgminer-2.11.4-x86_64-built/ && ./mine_litecoins.sh
If cgminer exits for some reason, running mine_litecoins.sh directly should show you why.
I was having the same problem but then I changed the timing for the bios boot up from 1 to 5 and it worked after that… I have no idea why it did but maybe that will work for you
re. Templar77
I had a similar problem with an MSI card – turned out to be a faulty card.
Have you tried running Valley Benchmark on it..
http://unigine.com/products/valley/
(the free version is fine for testing)
My bad card crashed after about 10 mins of running this.
I’m running xubuntu.
In ssh, when I open cgminer, the display will freeze after a few seconds. I can’t monitor gpus and no keys work. I can get out with ctrl+a,d. My pool says my system is still running. Any ideas?
What is the command to shut down or reboot cgminer?
Those having trouble with bad hashrates, try LOWERING your settings. I’ve not tried a 7950, but every card I have used (5970, 7790,7870, 7870XT) doesn’t produce a good hash rate when either the engine and memory speeds are maxed out. Start with standard settings, try faster AND slower settings.
The following tips are for scrypt, bitcoin was less fussy:
Memory seems to suffer with latency jumps, I find these at 1000Mhz, 1250Mhz, 1500Mhz, those are the speeds to try first in my experience. If your card will only run just below the next speed jump up, it could be worth testing. If your card runs standard at 1000, you’re very unlikely to increase performance by increasing to 1100, if you can get it to 1200, it may be slightly quicker, or it may not, crashes are to be expected while finding the limits. Some cards may benefit from an underclocked memory, All my 1600MHz memory cards are running at 1500, my 1325 cards at 1250. A system can run for days on marginal settings then crash. Turn it down and try again. Once you’ve found the best memory speed, play with the engine speed, there’s usually a sweet spot, maximum hasn’t worked on any of my cards. with 7xxx, I’ve found that around 8192 per 128 bit of memory works best, except a 2GB 7790, which preferred the 8192 used by 1GB 7790s.
You can easily spend days tweaking a system. If you have multiple cards, comparison testing makes it far easier to pick good settings. Memory and engine speeds can be fiddled while cgminer is running, threads are a restart.
The last thing to do is crank up the intensity. If you find the first card runs significantly faster than the others with all set to I 20, you’ve probably got a bandwidth issue between cpu and gpus. I now run the NB and HT standard but my cpu throttled to 1GHz for 6 card rigs I find I get better hashrates if the system is booted headless. Don’t use dummy plugs or the system will think there’s a monitor.
Advanced users may finally want to find the lowest gpu voltage that reliably runs the optimum engine speed.
first, thx for the guide !! AWESOME.
I am stuck on step 3: above when updating the packages.
I believe that the issue is I am not connected to the internet.
But I am unable to find any where info on how to configure or enable the wifi.
Can you please confirm that in order to successfully execute:
sudo apt-get install fglrx-updates fglrx-amdcccle-updates fglrx-updates-dev
I need to be connected to the internet?
Presently I get the error “Unable to locate package… ” on all three packages in the command above.
Hey man, you need to plug your rig into the internet and update Xubuntu, it will work after updates, I just had to do it then as well.
Davin,
Had all the same issues with using USB to install. After days of trawling forums the answer is to enable IOMMU in your BIOS. This is only neccessary for 64bit Distros.
AT
Hi,
Don’t I need to set static IP for the new server so I can consistently Telnet into it using Putty?
if yes, how do I do that?
Cheers for your guide mate,
tho i got a problem, i cant boot up my cgminer.
Its not the settings i use for it since they are right, when i give linux the command i get screen not found, how do i fix that?
Altic
Hey altic – seems I am having similar problem – did you find a solution? what hardware/software is your system built from? email me at synapps1402 at gmail and we can try to figure out fix
CryptoBadger -thank you for putting together a great tutorial!
i am building first rig using Sapphire Radeon 7950’s (black+red single fan model) and your tutorial – I have Xubuntu 12.10 and cgminer3.3.4 installed on an intel chip and msi motherboard…I’ve followed your guide but am getting hung up…any advice would help – thanks!
1. I can’t use the cgm command to enter into cgminer – I get a ‘There is no screen to be attached matching cgm’ error message?
2. Joined a pool which shows me as a dead worker with a hash rate=0
Have a great holiday and thanks again!!
Altic and synapps, your message indicates cgminer has not started, indicating a problem with miner_launcher.sh not kicking in. Try going over the guide instructions regarding miner_launcher, and check your nano entries letter by letter. I found that every space and position of the entries can be significant as well. A space not entered, or a quotation mark overlooked and left off, is all it takes. Configure your entries to be exactly as they look in the guide, also double check your step 7, the auto start part. Finally, you can start cgminer usually in any case by the command ./mine_litecoins.sh. If doing it this way, it has to be done every time the rig has been off and comes back on. good luck
Hello Cryptobadger, First, congratulations on your fantastic success out of your idea to start this website. I’m celebrating your accomplishment with you! I hope you can lead me out of my ongoing dilemma, which is One card only, out of three, ever working on my rig since May. Every two or three weeks I’ve tried to fix it, with no success. Of course, with the recent runup, my remorse is huge right now. I’ve tried the –adapter=all — initial command, as well as –adapter=all –initial -f. No matter what I’ve done, I have 3 GPU’s showing in my cgm screen, one working normally, one with settings of eng 300 mem 150 vddc 0.950 and one that is turned off. Each card works normally when installed by itself on the motherboard. All my parts are as recommended in your guide with xubuntu.
If you can give me light out of this darkness I will be very grateful!!!
Also, it would be great if you add a specific troubleshooting section to the guide, where the specific symptom is described, and the series of steps to diagnose and resolve are given. You have the advantage of a lot of feedback on all the issues that come up, and such a troubleshooting section would organize, simplify and accelerate the path to success for everyone. Best wishes and appreciation, Glenn
Amit, you must be connected to internet to download all the software involved. Also, your modem or router may re assign an IP address, after a power failure, for ex. You can find your rigs IP address by the command /sbin/ifconfig. The address will show in the first few lines of the info this command pulls up. best of luck
First of all, thank you so much for taking the time to write this awesome guide.
Just 2 questions: Do you recommend pool mining with this setup as well? And secondly, according to
https://litecoin.info/Mining_Hardware_Comparison
there is this ATI 7990 which seems to have >1300 khs. Do you recommend using this card?
Thank you…!
Hi, thanks for the easy to follow guide, however 1 thing isnt working for me.
I followed your guide to the letter except I use 3.7.2. When it comes to ./cgminer -n all I get is:
./cgminer: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory
What do I do from here?
Thanks
No problem, everything now up and running. Had wrong version of Xubuntu for the version of cgminer I was trying out. 13.04 works well with 3.7.2
Cheers
Humm strange. I read somewhere else that cgminer beyond 3.5 didn’t support litecoin anymore.
As of 3.8 cgminer no longer supports any GPU mining. Is that what you mean? I definitely have LTC going in to my Coinbase account 🙂
I read somewhere in litecoin forum that there was no support in 3.5+. Good to know that it still works for 3.7.2. Do I also need to download the litecoin client wallet?
If you want to get the coins out of your pool then yes 😉
Thanks!
More up-to-date ISO link for Xubuntu http://cdimage.ubuntu.com/xubuntu/releases/12.10/release/
Just downloaded Xubuntu 13.04. When I enter the command “sudo aticonfig –adapter=all –odgt”, I get “Error – X needs to be running to perform AMD overdrive commands.”
What is the fix for this, Thanks!
You running from putty or locally? If through putty then do you have the dongles on the graphics cards?
Ive encountered a different issue.
Occasionally, my rig will crash and restart automatically. However, upon restarting, it definitely does not invoke rc.local. Typing cgm in putty gives an error that no screens are running.
When I manually sudo reboot in putty, after a restart, rc.local is run and cgm works as intended.
Does anyone know why rc.local isnt being run after crash?
2nd hang-up. entering command “./mine_litecoins.sh” brings response “libudev.so.0:cannot open shared object file: no such file or directory”.
I tried this command because cgminer was not starting on reboot.
All guidance/help to fix these errors will be gratefully received!!
Yeah you need to use 13.04. That error occurs when you are using a version of cgminer that is too new for 12.04/10.
Use xubuntu 13.04 and cgminer 3.7.2
Should work then
Or make sure you have the stuff needed:
sudo apt-get install libcurl4-openssl-dev pkg-config libtool libncurses5-dev libudev-dev screen xterm
furiannn, thanks for responding. I did the recent upgrades and all through putty. As for “dongles” you must explain that term to me before I can answer. Thanks
furiannn, now downloading the libudev file per your command above. Yes, hve downloaded 13.04 and 3.7.2 due to your info earlier that they were working well for you. Hopefully with the download I will see everything going OK. Will report. Thanks much
furiannn, I downloaded the libcurl file you suggested, and ran sudo reboot, but after trying the command ./mine_litecoins.sh, I’m still getting the exact answer I showed earlier ” “libudev.so.0:cannot open shared object file: no such file or directory”. Are there other files needed to be downloaded as well to obtain this particular file?? cgminer is not automatically loading after reboot.