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.
I got xubuntu installed. Everything seems to be going well. When I did the “sudo aticonfig –adapter=all -odgt” command I see all of my cards and their temps but I do not see “hardware monitoring enabled”. Is this an issue?
Not in my experience. You will see it later when you run the cgminer command to make sure your cards are all being seen.
Anybody out there!!
Anyway I have now started from scratch again following the above to the letter.
Only Im getting this error:
./cgminer: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory
when entering
./cgminer as above
any ideas??
> any ideas??
Yeah…read the guide again 🙂
My mistake lol! Ive been reading it so much I can’t believe I missed that bit about libudev.so.1
Will try now.
Phil, are your 290x’s recognized now? Please explain how you did this! I’m in the boat you have just got out of it would seem!!!
Yes mate all working after lots of trial and error! I have His 7970 btw. Go back through the guide and check everything you only need 1 digit wrong for it to go tits up.
Anyone else have an extremely slow xubuntu system? I’m running a 6 core 3.5 ghz cpu and 8 GB of ram on an usb drive. Xubuntu is ridiculously slow and laggy. Anyone else have this issue?
Well what did you guess happens if you run stuff from an USB drive ?
It’s perfectly normal.
I have ran several distros on several different machine builds in the past, all off of USB ie. backtrack from usb on a windows machine with similar specs as listed above. Ran way faster! It is running unusually slow.
All of which probably didn’t generate coins in the background 🙂
But anyway, as usual: Specify “my system is soooo slow!!111”.
You can’t read s*** out of that statement.
It’s probably, as it always is, not slow 100% of the time but at certain parts.
E.g. my system takes x sec to login via SSH.
E.g. it is slow when copying files
E.g. it sits there for 10 minutes installing only a little update package
The entire system is slow. I haven’t even started mining. Anything and everything I do on the system is slow. I can already tell your just trolling these comments being a dick to people, which usually means your don’t know crap.
No specs and nothing but complaining like you had posted two sites of useful information ?
That’s the way to go !
Seriously, hf figuring it out on your own.
With the given information you provided, N8c answered your query already. If you cant handle the frustration and troubleshooting, dont mine. Most of the noobs dont realize that and gets pissed at their ‘investment’.
Perhaps the usb stick is slow… I bought a 8gb stick from pny that I thought was running at cassette speeds.
And no reason to post snarky comments
Look around at N8c comments to other users, I consider them rather rude.
Me like smashing faces. Verbally.
I have Xubuntu 12… on a sempron with 4GB ram and its ok. Its only slow and unresponsive when its mining?
It is nowhere near as fast as my main pc with windows 7 but that has i73770k 8GB ram and SSD!
Is this correct. I have 2 HIS 7970’s in my rig?
[2013-12-14 17:01:11] CL Platform 0 vendor: Advanced Micro Devices, Inc.
[2013-12-14 17:01:11] CL Platform 0 name: AMD Accelerated Parallel Processing
[2013-12-14 17:01:11] CL Platform 0 version: OpenCL 1.2 AMD-APP (1016.4)
[2013-12-14 17:01:11] Platform 0 devices: 1
[2013-12-14 17:01:11] 0 Tahiti
[2013-12-14 17:01:11] ADL found more devices than opencl!
[2013-12-14 17:01:11] There is possibly at least one GPU that doesn’t support OpenCL
[2013-12-14 17:01:11] Use the gpu map feature to reliably map OpenCL to ADL
[2013-12-14 17:01:11] WARNING: Number of OpenCL and ADL devices did not match!
[2013-12-14 17:01:11] Hardware monitoring may NOT match up with devices!
[2013-12-14 17:01:11] GPU 0 AMD Radeon HD 7900 Series hardware monitoring enabled
[2013-12-14 17:01:11] 1 GPU devices max detected
[2013-12-14 17:01:11] USB all: found 12 devices – listing known devices
[2013-12-14 17:01:11] No known USB devices
Try sudo reboot and try running the command again. I had this at first when I had a putty session open, but then I connected a monitor to the mining rig and it worked fine.
THANKS!
Its all finally working. I have 2 gpus on the rig and the third on my main pc – Im waiting for my 1000w psu on monday!
Are these kh/s normal before any kind of optimising?
I need a break and will get to that later.
cgminer version 3.7.2 – Started: [2013-12-14 18:21:08]
——————————————————————————–
(5s):834.8K (avg):855.6Kh/s | A:8232 R:0 HW:1 WU:768.0/m
ST: 2 SS: 0 NB: 6 LW: 80 GF: 0 RF: 0
Connected to world.wemineltc.com diff 160 with stratum as user phil.2
Block: 5e3e0f00… Diff:2.93K Started: [18:29:26] Best share: 65.1K
——————————————————————————–
[P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
GPU 0: 67.0C 2132RPM | 431.1K/433.8Kh/s | A:4516 R:0 HW:0 WU: 408.4/m I:19
GPU 1: 60.0C 1635RPM | 433.0K/427.2Kh/s | A:3876 R:0 HW:1 WU: 366.0/m I:19
——————————————————————————–
[2013-12-14 18:29:14] Accepted 018113e6 Diff 170/160 GPU 0
[2013-12-14 18:29:18] Accepted d79186ae Diff 304/160 GPU 1
[2013-12-14 18:29:26] Stratum from pool 0 detected new block
[2013-12-14 18:29:34] Accepted fd888c90 Diff 258/160 GPU 0
[2013-12-14 18:29:43] Accepted c7938015 Diff 328/160 GPU 0
[2013-12-14 18:29:57] Accepted 01890dd5 Diff 167/160 GPU 0
[2013-12-14 18:30:07] Accepted 53ed359e Diff 781/160 GPU 1
[2013-12-14 18:30:11] Accepted 99534dde Diff 427/160 GPU 1
[2013-12-14 18:30:12] Accepted 29535a3e Diff 1.59K/160 GPU 1
[2013-12-14 18:30:28] Accepted 33bb81a9 Diff 1.27K/160 GPU 0
[2013-12-14 18:30:38] Accepted d127f14c Diff 313/160 GPU 1
Phil, Here is my command line which is working well for 3 7950’s on wemineltc, giving hash rates around 650 kh/s each, good luck!
./cgminer –scrypt -I 20 –thread-concurrency 21712 –gpu-engine 1100,1100,1100 –gpu-memclock 1500,1500,1500 –gpu-powertune 20 –no-submit-stale -o stratum+tcp://us3.wemineltc.com:3333 -u (workername) -pw x –failover-only -o stratum+tcp://global.wemineltc.com:3334 -u (workername) -pw x
Many thanks! I will try that tmr as it’s 1am here.
I set my engine clock to 800 and memory to 1250 and Max I can get is 503 kh/s lol.
Btw what make cards do you have?
I have sapphires, very good cards, but I also have read the His is a good brand. You can probably find the right engine and memory speed for the 7970 somewhere in the chat threads here. Seems like I have seen a different thread concurrency used for them also. Just substitute the roght values into the scrypt line. good luck.
I’ve read somewhere that changing the BIOS or flash the BIOS for the cards helps it? Have you changed any drivers or anything?
Cheers
you may find that setting powertune to 20 revs up your kh/s, even at the same eng/mem settings you are using now.
Hi mate, I have tried your settings on gpu0 and it makes hash rate go to 409 wtf is going on!
cgminer version 3.7.2 – Started: [2013-12-15 14:45:07]
——————————————————————————–
(5s):858.1K (avg):959.0Kh/s | A:1960 R:196 HW:0 WU:796.6/m
ST: 2 SS: 0 NB: 2 LW: 31 GF: 0 RF: 0
Connected to world.wemineltc.com diff 196 with stratum as user phil.2
Block: 6b98b85b… Diff:2.93K Started: [14:46:16] Best share: 2.19K
——————————————————————————–
[P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
GPU 0: 63.0C 1282RPM | 409.0K/459.7Kh/s | A:1372 R: 0 HW:0 WU: 384.1/m I:20
GPU 1: 52.0C 1284RPM | 502.1K/499.3Kh/s | A: 588 R:196 HW:0 WU: 412.4/m I:20
——————————————————————————–
Temp: 61.0 C
Fan Speed: 0% (1287 RPM)
Engine Clock: 1100 MHz
Memory Clock: 1500 Mhz
Vddc: 1.170 V
Activity: 64%
Powertune: 20%
Fan autotune is enabled (0-85)
GPU engine clock autotune is disabled (800-1100)
Change [A]utomatic [E]ngine [F]an [M]emory [V]oltage [P]owertune
Or press any other key to continue
Phil, I believe the 7970’s need different settings from the 7950. I know the info is in the threads somewhere, maybe in the optimization section. One thing I hope Cryptobadger will do at some point is open a troubleshooting section and begin to cut and paste the perennial questions that come up over and over, with all the answers given that have been proven to cure the issues. Once they are in one place, organized, it will cut the traffic on these threads to a fraction of the present. (Make it easier for me to find answers, too 🙂
BTW, I assume you’re Ozzie? My dream is a gold detecting trip to Australia for 3 months in 2014!
Good idea! I’m welsh mate not Ozzie!
I’ve tried changing power tune, thread concurrency, intensity…. Nothing makes a blind bit of difference.
I’ve read on another site some guy flashed the BIOS for his card and he got it to 650.
It’s like my cards are just idling and not at full speed.
Hello all! I’m up to the point in the guide where you shutdown and restart and everything should run automatically. I’m running putty from my laptop. When I run the command cgm I get “There is no screen to be attached matching cgm”. I also ran the command ./miner_launcher.sh and then tried cgm and got the same result. When I substitute my ubuntu username into the scripts do I use username@computer name? I just used the username. That is the only thing I think that may be causing this to happen. Can anyone help with this?
Also, not sure if it makes a difference but my cgminer built file is in downloads directory
nevermind everyone, just had to move my cgminer directory into my home directory
Hello again everyone! On the wemineltc pool there is a statement that says cgminer versions higher than 3.5 do not support litecoin mining. This guide recommends the newest version that supports scrypt of 3.7.2, does anyone know if this is a conflict or not?
I’m using cgminet 3.7.2 so don’t worry about it. Cheers
Hi, yeahhhh
Finally got cgminer to start mining. however, it is only mining at 3.345K/s on both msi hd7950 gpu’s. what am i doing wrong
Help.
Thanks
I’m having the same issue with 2 x 7870 – they were mining at ~ 400 KH/s on Windows 7 x64. I moved this to a different rig and I’m getting single digits with this build
🙁
Two problems: First of all, miner_launcher.sh isn’t working. I try to execute it and nothing happens. mine_litecoins.sh works fine. I’ve triple checked the text and it is same as on this guide (obviously put my username to appropriate places).
Second problem: I can’t get cgminer screen to show up in putty. Again I’ve triple checked that I*ve done everything correctly but when I write “cgm” it just says there are no screens associated.
Help, anyone?
Nevermind, got it working 🙂 Everyhing was fine, I just had to boot up the computer and let it do it’s own thing instead of trying to run the script myself.
If you ever need to start cgminer manually (because you quit out of it, or kill it, etc), simply type ./miner_launcher.sh
When I do this it asks me for password (xubuntu password?) but does nothing and goes back to command prompt?
Phil, the pw is accepted but not shown, just hit “enter” and it will execute the command.
To clarify, typing the command, then entering the pw, will next show you the command prompt, but behind the scenes miner_launcher is starting cgminer. You can give it a minute to work, then type “cgm” into the command prompt, and it should get you the screen showing cgminer at work in the pool.
As an aside…
Just thought I’d add these links regarding the safety of unattended rigs, thought it might be useful to those in the USA.
Still trying to find something similar in the UK though…
http://www.pioneeringtech.com/safe-t-sensor-helps-prevent-microwave-fires-false-alarms
http://www.amazon.com/SafeT-Element-Safe-T-sensor-Microwave-Ovens/dp/B008E4C91M
Can anyone tell me why my hw shows 4 even though i have lowered the intensity and memory and engine clocks. I’m still mining at approx.897 kh/s with 2 msi hd 7950. I don’t want to end up burning up a card. Any help or explanation would be helpful.
Thanks
ok thanks ezpacer. I still cant get any higher than 500 kh/s on my rig its frustrating as everyone else seems to get 650+ with ease!
Ive overclocked the cards to the MAX and it goes down instead of up; it must be amd/sdk drivers or something…..
cgminer version 3.7.2 – Started: [2013-12-15 20:00:35]
——————————————————————————–
(5s):799.7K (avg):875.1Kh/s | A:40572 R:588 HW:0 WU:864.1/m
ST: 2 SS: 0 NB: 23 LW: 360 GF: 0 RF: 0
Connected to world.wemineltc.com diff 196 with stratum as user phil.2
Block: ceea0923… Diff:2.93K Started: [20:47:22] Best share: 88.3K
——————————————————————————–
[P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
GPU 0: 62.0C 1902RPM | 383.9K/448.4Kh/s | A:19992 R:392 HW:0 WU: 414.0/m I:20
GPU 1: 56.0C 1443RPM | 383.9K/427.1Kh/s | A:20776 R:196 HW:0 WU: 454.3/m I:20
——————————————————————————–
Temp: 62.0 C
Fan Speed: 35% (1621 RPM)
Engine Clock: 1125 MHz
Memory Clock: 1575 Mhz
Vddc: 1.170 V
Activity: 64%
Powertune: 0%
Fan autotune is disabled (0-85)
GPU engine clock autotune is disabled (800-1125)
Change [A]utomatic [E]ngine [F]an [M]emory [V]oltage [P]owertune
Or press any other key to continue
why has this gone up the page!? I clicked post comment so surely it should be last?
Phil, I haven’t read the entire thread, but your post shows Powertune at 0. Try setting it to 20. Thant should help. Intensity is already set at 20, but if you press G, then C, then the GPU number, hit P and change that to 20.
Cannot get cgminer to run at this step!
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
Hey guys please help i cant get the script to run cgminer to work. What am i doing wrong i did exactly the same that the tutorial said except i change mine to
i made a file sudo nano mine_litecoins.sh put this into it in 6 lines. when i run it with sudo chmod +x mine_litecoins.sh it doesnt even open cgminer! HELP! im also using 4 R9’s.
#!/bin/sh
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
cd /home/miner/cgminer-2.11.4-x86_64-built
./cgminer –scrypt -I 19 –thread-concurrency 21712 -o stratum+tcp://pool1.us.multipool.us:7777 -u x.x -p x -I 13
> i did exactly the same that the tutorial said
Please re-read the first two paragraphs of point five…
Also, please don’t spam the comments just because no one answered in like 20 minutes !?
chris,
I had the same problem. if you type ./miner_launcher.sh it will as for your passcode and after entering passcode it will give you another prompt. at that point type cgm. Hope that helps good luck
Hello,
I have tried installing Xubuntu but during the installation process, the UI doesn’t seem to recognize my Logitech MK320 wireless keyboard and mouse. I was able to attach a PS/2 mouse or keyboard, and they work, but the motherboard I have only has one PS/2 port. Also, I have tried a wired USB mouse and it doesn’t seem to power on. The Logitech keyboard and mouse both work fine in the BIOS setup screen, just not in the installer. FYI, I was able to install Windows 7 and everything works fine, however, I would rather be running Linux. Is there a BIOS setting or something I’m missing?
Thanks for the help,
-CowboyNick
To avoid suicide, DO NOT issue the sudo apt-get update and sudo apt-get upgrade commands as specified in this guide. You will irreversibly damage the installation, the machine won’t reboot, and you’ll have to start ALL OVER AGAIN. I wasted an entire weekend figuring out what I was doing wrong, and I FINALLY realized that blindly upgrading every package WAS A TOTALLY STUPID THING TO DO!
Hey there,
please specify your experience by providing some details, since apt-get upgrade usually doesn’t screw up anything if the setup is fine.
I followed this guide to the T, same hardware, same xubuntu version. Whenever I issued apt-get upgrade as per the guide, the machine would always hang on reboot with a blank screen and the ONLY thing I could do to get it to boot back up is to do a FRESH INSTALL of the OS. I have set up about 6 rigs since then, all avoiding the apt-get upgrade command and they work great.
Hi JR. I’ve had this same issue and posted about it here several times. I’ve reloaded xubuntu numerous times as well. I thought the app-get was required to get the new drivers etc for the cards. How did you for the cards working without getting the most recent card drivers?
Thanks!
Will this work the same with cgminer 3.7? What about using a more recent version of Xubuntu?
3.7.2, 13.10, 13.11 9.4 beta driver. everything’s fine.
Hello Guys,
i wonder if any of you have found a way to monitor the vrm temperatures in xubuntu. since scrypt mining is so taxing on the card i wouldnt wonder if those temps get out of control. anybody got a program to read those temps out of linux?
thanks in advance
andruman
Hi Folks
I have a Problem with putty or the x-server?
I followed the installation process as explaint above without any probs but then it comes to ssh over putty. I cant use any commands that require X like aticonfig
username@maschinename:~$ sudo aticonfig –adapter=all –odgt
ERROR – X needs to be running to perform AMD Overdrive(TM) commands
username@maschinename:~$ fglrxinfo
Error: unable to open display (null)
username@maschinename:~$ ./start_miner.sh
cgminer version 3.7.2 – Started: [2013-12-16 17:04:02]
——————————————————————————–
ST: 2 SS: 0 NB: 1 LW: 2 GF: 0 RF: 0
Connected to pool diff 63 with stratum as user username
Block: 6a12bc52… Diff:3.09K Started: [17:04:02] Best share: 0
——————————————————————————–
[P]ool management [S]ettings [D]isplay options [Q]uit
——————————————————————————–
[2013-12-16 17:04:01] Started cgminer 3.7.2
[2013-12-16 17:04:01] clDevicesNum returned error, no GPUs usable
[2013-12-16 17:04:01] No devices detected!
[2013-12-16 17:04:01] Waiting for USB hotplug devices or press q to quit
[2013-12-16 17:04:01] Probing for an alive pool
[2013-12-16 17:04:02] Pool 0 difficulty changed to 63
[2013-12-16 17:04:02] Network diff set to 3.09k
Here is my start_miner script:
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
cd /home/username/cgminer
./cgminer –scrypt -o poolserver -u username -p password$
Any of these commands work fine if I log into the physical machine and use them directly.
System Xubuntu 13.10 with AMD DRIVER 13.11 beta (13.4 has bad hashrates) I3-4130T, 4GB RAM, 3x AMD Radeon R9 290X royalQueen
My miner is not very silent with 3GPUs so he stands in the basement. without remote management it is very frustrating :/
Any ideas how to solve the problem, I ve read the past day through many ubuntu forums without any hints.
Thanks
gmc
It’s pretty simple to be honest.
Just run a ‘export DISPLAY=:0’ once in every user session before going for further commands.
A couple things I noticed doing this project is that running the rig with a monitor hooked up, with cgminer already running, means you can’t load up the session and grab the screen from it when you ssh to your rig from another computer. I’m sure there’s some Linux magic you can use to take over that session when you ssh in, but I was only able to bring up the miner with CGM by rebooting/powering off, replacing where the monitor was plugged in with my dummy plug, and powering back up as a headless system. Once it powers up as a headless system, if you followed all the steps above, cgminer will start on it’s own.
Another thing I noticed was, when I had it running with the monitor on it, when I ssh’d into the rig and ran the miner_launcher.sh, it seemed to start up a second session of cgminer, running about half of the hashrates that my rig was running locally. That may account for the people who ssh into their rigs, run the miner, and wonder why they are only getting half the hashrates they think they should be getting.
my question is: I installed cgminer 2.11.4 onto my rig because that was what was in this awesome guide but now I would like to upgrade to cgminer 3.7.2 the trouble is that i don’t know how to download or untar from the terminal. Does anyone know the exact script on how to do this effectively?
There is a way to uninstall the old cgminer…but I found it easier to just do a fresh install of xubuntu and then where ever its says 2.11.4 rwplace with 3.7.2…
Check for all files and scripts that you copy and past.
Sure some one can tell you another way but that is how o dis it.
I NEED HELP!!!!
I’m using two AMD 7850’s on a Crosshair V Formula-Z and I can’t get the terminal to track my gpus (no “hardware tracking enabled” present). It only shows me the GPU name, the Sensor #, and the Temperature in celsius. I don’t know how to move past this point and have had to restart my computer like 3 times. What would stop the terminal from recognizing my GPUS’s?
I dont think yoy can have the bridge installed between the two cards and mine
Litecoin is looking a bit bearish….. Nooooo!
I can’t seem to install the xubuntu image file.
This is the first time I have ever attempted to use anything linux-based, so I’m probably missing something obvious.
I used Linux Live USB creator to mount the iso onto a usb, and then attempted to install the file onto my second USB on my headless linux rig.
When I start the rig, I get a prompt asking if I want to install xubuntu. When I choose “yes”, the blue xubuntu screen hangs for a while, but I eventually get a message saying “(initramfs) Unable to find a medium containing a live file system”
Thus far I have tried reinstalling the iso using all the windows files suggested in the suggested link. But I keep getting the same error message. I have also switched the USB ports to see if that would make a difference, and have changed the boot priority order in just about ever configuration possible in the bios.
Does anyone have any ideas on how I should proceed?
Make sure second stick is freshly wiped.. and look up the proper partitions…somewhere on thread someone had it listed out. I could not get it working either and just used old hd’s I had laying around. Get up and goingthen figure out probs Iis what I say.