Bitcoin Forum
June 27, 2024, 10:25:35 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Guide For Mining In LINUX  (Read 641 times)
Gazza1 (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
January 15, 2014, 04:16:50 PM
Last edit: January 15, 2014, 04:33:54 PM by Gazza1
 #1

Does somebody have a step by step guide for setting up mining in Linux?  I prefer Xubuntu, or something lightweight and fast, Ubuntu would be fine too though.  I've tried many of the guides on the internet and they all seem to come up with an error at one point or another.

This is for GPUs

I'm just looking for something straight forward.




Impossible is a word found only in the dictionary of fools.
Gazza1 (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
January 15, 2014, 05:39:41 PM
 #2

bump for move

Impossible is a word found only in the dictionary of fools.
Kenshin
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
January 15, 2014, 06:06:02 PM
 #3

bump for move

Here you go:

http://www.cryptobadger.com/build-your-own-litecoin-mining-rig/

This covers from hardware assemble to mining.
chek2fire
Legendary
*
Offline Offline

Activity: 3416
Merit: 1142


Intergalactic Conciliator


View Profile
January 15, 2014, 10:49:26 PM
 #4

What you need to know and what you want to mining? I have setup a netbook with xubuntu and some asic usb miners

http://www.bitcoin-gr.org
4411 804B 0181 F444 ADBD 01D4 0664 00E4 37E7 228E
Gazza1 (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
January 17, 2014, 12:08:25 AM
 #5


Thanks man.  Best guide I've seen so far.  I followed everything to a T and the miner won't start when it reboots or even if I execute it directly.  I don't know what I could of done wrong.  

I'm testing it on my main machine with just one video card since I am still learning.  Everything seemed to go sucessfully after trying it multiple times, the miner just won't start.  I wish I could say where it might be going wrong.

I am really looking forward to figuring this out and to be done with teamviewer and windows.

Impossible is a word found only in the dictionary of fools.
Kenshin
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
January 17, 2014, 12:11:51 AM
 #6

You must have done something wrong. Did you use the same hardware as described in the list?

Tell us what your hardware, PSU, GPU, Motherboard, RAM. And we can help you.
Gazza1 (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
January 17, 2014, 12:14:08 AM
 #7

My main machine is using an Asus P8-Z77M Pro, 3770k, 16GB ram, a fresh empty install on SSD, Corsair HX 750, and a single sapphire 7970.

My other rigs are sapphire 7970s and 280x's with all corsair and seasonic gold with MSI z77a-gd65 mobos, 8gb ram, and ivy bridge g1610's

I used the Xubuntu 12.10 from the link and the recommended version of cgminer

For now I am just trying it on the main rig until I get it right

Impossible is a word found only in the dictionary of fools.
jdh015232
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500


View Profile
January 17, 2014, 12:16:28 AM
 #8

my guide says to buy windows...:p
Kenshin
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
January 17, 2014, 12:18:15 AM
 #9

Did you install the drivers, like in the guide?

You said the miner will not start. You mean the whole PC got no power? or the GPU just not mining?

Did you do this part?

Quote
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
Gazza1 (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
January 17, 2014, 12:23:25 AM
 #10

Yes I did that part and the verify worked.  The machine boots, the cgminer just won't start

Impossible is a word found only in the dictionary of fools.
XBladeRunner
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
January 17, 2014, 12:44:25 AM
 #11

Do you mean does not start at system boot or won't start manually? Are there any error messages?
Gazza1 (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
January 17, 2014, 12:53:38 AM
 #12

no error messages at all throughout the whole process.  It won't start at boot, or manually from the terminal or right click execute

It must be something really simple I'm just not seeing

Impossible is a word found only in the dictionary of fools.
Kenshin
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
January 17, 2014, 01:42:30 AM
 #13

no error messages at all throughout the whole process.  It won't start at boot, or manually from the terminal or right click execute

It must be something really simple I'm just not seeing

what command do you run? Could you paste your script here?
Gazza1 (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
January 17, 2014, 04:39:09 AM
 #14

Well I tried it 7 times.  I followed the steps to a T, I even copied and pasted all the commands.  I changed out the parts where my username belongs, I even tried the newest version of cgminer included the needed fix for it.  cgminer will not start.  There are no errors throughout the process.  What a pain.

Impossible is a word found only in the dictionary of fools.
Gazza1 (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
January 17, 2014, 04:44:22 AM
 #15

this is in miner_launcher.sh

Quote
#!/bin/bash
DEFAULT_DELAY=0
if [ "x$1" = "x" -o "x$1" = "xnone" ]; then
   DELAY=$DEFAULT_DELAY
else
   DELAY=$1
fi
sleep $DELAY
su cheetah -c "screen -dmS cgm /home/cheetah/mine_litecoins.sh"

this is in mine_litecoins.sh

Quote
#!/bin/sh
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
cd /home/cheetah/cgminer-2.11.4-x86_64-built
./cgminer --scrypt -I 13 --thread-concurrency 8192 -o stratum+tcp://stratum-eu.dgb.luckyminers.com:3332 -u xxxx -p xxxx

Then I tried with cgminer 3.7.2

I try starting it with ./miner_launcher.sh and also rebooting



The one thing that is always different from the instruction is when I type sudo nano .bashrc there is nothing in the file at all, it doesn't say # enable programmable completion… anywhere.

Impossible is a word found only in the dictionary of fools.
Gazza1 (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
January 17, 2014, 10:41:08 AM
Last edit: January 17, 2014, 11:16:04 AM by Gazza1
 #16

this guide doesn't work and gives error when installing video driver.  why is linux such a pain the ass.
http://blog.truepps.com/complete-guide-to-mine-scrypt-on-xubuntu-13-10/

Impossible is a word found only in the dictionary of fools.
esotericizm
Hero Member
*****
Offline Offline

Activity: 750
Merit: 500



View Profile
January 17, 2014, 11:21:14 AM
 #17

have you downloaded the APP_SDK and ADL_SDK? I noticed the first guide posted didn't seem to include it
Kenshin
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
January 17, 2014, 04:51:04 PM
 #18

this is in miner_launcher.sh

Quote
#!/bin/bash
DEFAULT_DELAY=0
if [ "x$1" = "x" -o "x$1" = "xnone" ]; then
   DELAY=$DEFAULT_DELAY
else
   DELAY=$1
fi
sleep $DELAY
su cheetah -c "screen -dmS cgm /home/cheetah/mine_litecoins.sh"

this is in mine_litecoins.sh

Quote
#!/bin/sh
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
cd /home/cheetah/cgminer-2.11.4-x86_64-built
./cgminer --scrypt -I 13 --thread-concurrency 8192 -o stratum+tcp://stratum-eu.dgb.luckyminers.com:3332 -u xxxx -p xxxx

Then I tried with cgminer 3.7.2

I try starting it with ./miner_launcher.sh and also rebooting



The one thing that is always different from the instruction is when I type sudo nano .bashrc there is nothing in the file at all, it doesn't say # enable programmable completion… anywhere.


So strange, it should work.  Undecided

I built 4 miners following this guide without any problem, that is why I introduce this to you.
Gazza1 (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
January 17, 2014, 09:40:41 PM
Last edit: January 18, 2014, 05:46:11 PM by Gazza1
 #19

No worries man

I finally got it to work Cheesy  Grin  Thanks for the help guys.

I used a combination of this guide below and the guide you gave me.  I used xubuntu 13.10 this time just for kicks
https://docs.google.com/document/d/1Gw7YPYgMgNNU42skibULbJJUx_suP_CpjSEdSi8_z9U/preview?sle=true


Impossible is a word found only in the dictionary of fools.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!