OK I'll be that guy...have no idea how to set up a usb stick
so.....if someone could point me to the dummy directions I'd appreciate it
![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
be step by step ....my first ASIC was a plug and play KNC Jupiter 550gh ....so never had to learn any of this stuff
to top it all off I'll likely run them on a Unbuntu machine(s) (which i just run putty.exe on) so them skills are lame to (the 2 laptops monitoring with putty.exe my Titan(s))
(there is always that one clueless guy ..yep its me)
![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
lost in the cornfield maze need a search and rescue team
![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
If you want to run the sticks on linux, you'll need either bfgminer or cgminer. Either way you are probably going to have to compile them, but I've had little trouble with this so it's probably just a matter of running a few simple commands.
Here's what you'd do to get cgminer on linux going:
1. Open a terminal.
2. wget
http://gekkoscience.com/misc/cgminer-gekko.tar.gz This downloads the file- you can save it from your browser instead, it's the same thing.
3. tar -xvzf cgminer-gekko.tar.gz
This extracts the files. which are compressed (like a zip file for linux)
4. cd cgminer-gekko
Enters the cgminer-gekko folder you just extracted.
5. sudo apt-get install build-essential autoconf automake libtool
You need to install the dependencies for cgminer.
6. ./autogen.sh
This will generate a configure script for you which will set up compiling for your system.
7. ./configure --enable-gekko
This will configure the build. This is the most likely place to have anything go wrong, if it does, let me know exactly what's up. Odds are it would be some package that you should have installed.
8. make
Performs the build. If you get an error there- again, let me know details.
You are ready to run cgminer. This should look something like:
./cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr --compac-freq 150
Although if you don't have permissions setup you may have to become root or use sudo, eg,
sudo ./cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr --compac-freq 150
cgminer should now detect any compacs plugged in while it is running. Obviously you'll use a slightly different command to launch cgminer, if you use that one you'll be mining for us! Most pools even post example commands, let me know if you need help figuring it out.
--
novak
I got the cgminer-gekko onto my Pi running raspbian, had to add a few things to get it to compile right, and don't have my sticks, so don't know if it will work yet.
For anyone compiling on a Pi running raspbian, on step 5 above I added: libcurl4-openssl-dev pkg-config libncurses5-dev and libudev-dev (guess their not in raspbian and it came up with some errors)
So step 5 was: sudo apt-get install build-essential autoconf automake libtool libcurl4-openssl-dev pkg-config libncurses5-dev libudev-dev
Then step 7. ./configure --enable-gekko --disable-libcurl (raspbian will show an error if libcurl is not installed, but cgminer doesn't need it)
Step 8 I just did: sudo make install
Tried to run cgminer (with nothing plugged in) before adding the other dev packages and it wouldn't start, added the dev's and it started up looking for miners.
Then copied from http://ck.kolivas.org/apps/cgminer/ readme The long version:
On linux, the direct USB support requires no drivers at all. However due to permissions issues, you may not be able to mine directly on the devices as a
regular user without giving the user access to the device or by mining as root (administrator). In order to give your regular user access, you can make
him a member of the plugdev group with the following commands:
sudo usermod -G plugdev -a `whoami`
If your distribution does not have the plugdev group you can create it with:
sudo groupadd plugdev
In order for the USB devices to instantly be owned by the plugdev group and accessible by anyone from the plugdev group you can copy the file
"01-cgminer.rules" from the cgminer archive into the /etc/udev/rules.d directory with the following command:
sudo cp 01-cgminer.rules /etc/udev/rules.d/
After this you can either manually restart udev and re-login, or more easily just reboot.
Thanks ckThis should save everyone else planing on running the sticks on a Pi some time (if it works when my sticks arrive).