r/litecoinmining • u/ODAwake • Mar 18 '14
A simple guild to set up Gridseed LTC mining rig. From a noon to a noob.
Hi, guys!
I just want to say, if I could set up this rig, anyone else will be able to do it just as well or better. I've never even considered crypto-mining or cared about crypto-currencies until just two weeks ago! I have very little IT or electrical experience but I felt very strongly about this emerging culture/market so I was on board 100%. Here's the picture my assembled and working rig:
Before I begin, I'd like to give HUGE thanks and credit to UnicornHasher, Andareed, and the good folks at Cryptomining-blog.com.These guys put out some good content out there that was very useful. However, the reason I'm doing this manual is because some of the things out there didn't seem to work or were not as straightforward to me (a total noob) as I hoped. So, this is the what actually worked in my setup.
Buying the rig:
I bought Package C, from Hash-master Hash-master. The guys were quite excellent! They shipped fast, for free (it's free in the US), and have a very knowledgeable staff to answer questions (being completely new person to this, I had a lot of them). All items came well packaged and undamaged. One of my miners lit up with sparks when I tried to plug it in and the Hash-master folks did not hesitate to get it replaced for me.
Contents of the package:
10x Gridseed 3355 Dual Miners 2x 360W 12V 5A power supplies w/ their cords. 10x 5.5mm Type M barrel plug ended wires (they came pre-stripped and pre-soldered which was very helpful). 10x USB-mini-USB cords 1x 10-USB hub w/ a power supply and its USB cord 1x Gridseed Controller w/ its power supply and cord.
Setting up the Rig:
UnicornHasher has very good instruction on how to connect all the wiring. You can follow his instructions quite easily. Go here: link. However, I ran into trouble with his manual because the wires I was using were different. Following his instructions I actually managed to switch polarity on my units. Needless to say they didn't start up. I was very lucky that these Gridseeds have polarity protection or they'd have turned into the most expensive set of Christmas lights.
Basically, you want to connect the WHITE or SMOOTH or the wires with the WRITING on it to the NEGATIVE connectors on the power supply. RED or RIBBED wires should connect to the POSITIVE connectors. See the writing above the connectors on the power supply: Pic 4
Whatever you do, just make sure you are consistent! In that case the worst that will happen, as it was in my case, the Gridseeds will just light up but won't do anything else. You know you hooked up the power correctly if the fans on your Gridseeds start working when you flip on the power switch. If you don't trust yourself, get someone who is more experienced than you to help you OR just try to hook up one of the units to make sure you got it right (this will limit the risk of a catastrophic loss).
Some people like to make their own rig racks. I just went to Home Depot and got that wire shoe stand for $20. It was assembled in under 10 minutes and ready to go. Also, get yourself a pack of zip-ties! If you decide to follow my pattern zip-ties will be your best friends. Your best, exceedingly expendable friends!
Windows Instructions:
I'll say it right away, I had absolutely no luck getting the Gridseed controller to work. Just throw that cursed thing away and use your laptop, computer, or Raspberri Pi (of which I'm super impressed!). Better yet, just let the good folks at Hash-master know that they can keep the controller and give you a discount instead. :) So, w/out the controller, you'll have to install a miner on the machine of your choice.
I can’t say why, but I find cgminer to be the most likable mining software. So, I was not exploring any other options like bfgminer or cpuminer. Here is what you need to do to run Gridseed units on your Windows machine:
Follow these instructions laid out by the good people at Cryptomining-blog.com. Everything is pretty straightforward there. Just open the Zadig program and see which ports become active when you plug in your rig/miner. Assign WinUSB driver to those.
Modify the .dat file in your cgminer directory so it looks something like this.
d:\cgminer\cgminer.exe (this should point to wherever your executable file is located) --scrypt -o <server>:<port> [tt]-u <username> -p <password> --gridseed-options=baud=115200,freq=<Pick between 900 and 600 in the increments of 50>,chips=5 --hotplug 30 (the --hotplug command forces cgminer to scan for new hardware every 30 seconds)
Getting cgminer started on Windows can be a hassle. The best and most effective way of doing it is by starting the mining program and a second a two later flipping the ‘on’ switch on your rig. That way cgminer is able to discover and spin up all of your mining units. I tried restarting the program with the miners on and all kinds of different combinations, but I’d be lucky if the miner would discover more than two mining units. Interestingly, even with the --hotplug option enabled, cgminer still struggles to identify the connected units in Windows. I left my rig running for hours hoping that the unidentified units would come online eventually. They never did.
Inserting the --hotplug 30 code ended up crucial in my attempts to get the rig going. The miners don't tend to get online simultaneously, so if some of them get discovered on the first try, the rest are likely to join their brothers come the second scan.
I had my laptop running cgminer for a couple of days while my Raspberry Pi was in mail and after a while it (the laptop) started to bug out. I have a hunch that it was happening because of the inevitable hardware errors in the mining units, but I'm not sure. Even though I think that if one has a big farm, having a small laptop would be the best solution, running a Raspberry Pi seems like the best option so far. Especially with Scripta coming about.
Raspberry Pi Instructions:
I got my Raspberry just last night. It was the first time I've ever laid my eyes on one. I was surprised how easy and straightforward it was to work with Raspberry! The only downside to it is that it has only two USB ports, one of which has to be used for the wireless stick. If you choose to wire the unit using the ethernet cable, you’ll have two free usb ports which could possibly double the number of mining units you’d be able to attach to it. I haven’t tried it yet, though. More units are on their way. I’ll let you know what happens next week.
Install Raspbian OS. Normally it should come on the SD card along with your Raspberry Pi. If not, follow the instructions here to get it installed.
Enable ssh Enter the following in the command terminal of your raspberry: [tt]sudo apt-get install ssh[/tt] (ssh is probably already came pre-installed, but hey, this won't hurt!) [tt]sudo update-rc.d ssh defaults[/tt] (This will make sure that ssh starts up as a part of the raspberry's boot sequence)
Get Putty: Putty is an Secure Shell (SSH) client that will allow you to use connect and control your raspberry remotely. You can get it here
Log in to your Raspberry via Putty and set up the necessary prerequisites and the software:
Enable Root:
sudo passwd root
(enter your password)
(re-enter your password)
Install all of the necessary libraries:
sudo -s
apt-get update
apt-get install -y build-essential libtool libcurl4-openssl-dev libncurses5-dev libudev-dev autoconf automake screen
Stabilize Raspberry's Wireless
So, in the first few days of using Raspberri Pi I noticed that it would reset the wireless connection every so often. Sometimes it would just completely halt the wireless and I'd have to restart it along with my rig. Thanks to SGBE (of Reddit), we now have a solution. Just enter the following code and modify the file so it has all of the indicated lines exactly as they are shown:
nano /etc/network/interfaces (this will launch Raspi's text editor Nano to modify the wireless configuration file.)
Now make sure that all of the following lines of code are added to the file:
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid <your-router-ssid> (SSD is the name of your wireless network as it appears when you scan for it.)
wpa-psk <your-password> (The password of you use to access your wireless.)
Save the file and restart your Raspberry Pi.
You're done! Now your wireless won't disconnect or reset. My Raspi has been running for 4 days straight now without any issues.
Install cgminer:
wget https://db.tt/UygLkqwd -O cgminer (Andareed made this. The dude is my hero! A hero, I tell you!)
chmod 777 cgminer (not sure what that does, but I put it in anyway)
Run cgminer:
Make sure you’re in the location where the executable is located. (Here’s a good link for navigation around Linux).
Enter the following:
screen (This detaches your session from the miner. That way when you disconnect or quit the shh you don’t interrupt your mining)
./cgminer --scrypt -o server <address>:<port> -u <username> -p <password> --gridseed-options=baud=115200, freq=<850,800,750 - 600 - pick one), --hotplug 30
At this point your rig should be running and you’re making your coins!
Check up on your cgminer just to make sure it’s plugging away: Login with Putty. sudo screen -r (The command -r reattaches you to an active screen. You’ll be able to see what’s going on w/ your miner, but won’t interrupt the work if you quit the session).
So far this setup lets me run my 9 miners flawlessly. I noticed that Raspberry was getting a little warm. Literally, just a little. So you can see that I stripped a part of it casing and hung it above my rig to be blown over by the fans from the mining units. This provides more than sufficient cooling for it.
Final Comments
- Even though you'll get two power supplies, you can easily use just the one to power all of your Gridseeds. That is unless you'll choose to mine BTC w/ those, which would be silly. Mining scrypt currencies will draw about 100W at 800MHz frequency, less than a third of the power supply's capacity. Here's the picture of what I have:
- So far I found that running my Gridseeds is the most stable somewhere in the range between 700 and 800 MHz. Below 700MHz the units are just about as fast as molasses in the winter. 700 MHz results in 297.9Kh/s for each unit. 750 MHz - 319.2Kh/s 800 Mhz - 340.4Kh/s
I found that Work Utility (WU), the number of solved shares per minute, is the best at 750 or 800 MHz. 850MHz and above resulted in a whole a lot of rejected shares as well as in a significant number of Hardware Errors (HW), which I think mess with your Windows. I've been running my rig through for the last 12 hours at 800MHz and so far I got only 10 HWs. I don't know if that's a lot or not, but it seems acceptable.
If something missing or broken or doesn't look right, [u]don't screw with it[/u]. Just call Hash-master folks and get it returned. They'll overnight you the necessary parts if necessary. I don't care to stimulate the economy THAT much, so 2-day shipping was totally acceptable for me.
The units are NOISY! Not the chips themselves, but the fans. Multiply them by 10 and it'll mess with your sleep if you decided to set it up in your room. Basement is a good place for this thing! Anywhere else, and it's a nuisance.
Gridseeds in scrypt-only mode generate no heat! I was obsessing about it for 2 days and never have they ever warmed up anywhere above the ambient temperature. So no extra fans are needed.
Upcoming Updates:
- I've ordered 5 more Gridseeds from hash-master so I'll let you know how well Raspberry will handle 10+ chips.
- I'll play around with SCRIPTA and see if there's a nice and easy way to use it.
- Gather more detailed performance statistics on the Gridseed units operating at various frequencies.
Feel free to donate or ask any questions (or if I missed anything in here). I'll help with anything I can.
LTC: Lb5bzad2AzaqWL2e3oRnLHenr1fFHtUijH
Sorry for typo's & errors. Not a native English speaker here.
2
u/ODAwake Mar 24 '14
Updated to stabilize Raspberri's wireless connection.
2
u/[deleted] Mar 18 '14
Cool guide, thanks for putting all this all together. Cheers mate!
2
u/Purp Mar 18 '14
Yeah no shit. You have to run it, let it connect to the pool, then plug in each miner one-by-one to have them be recognized. If you start cgminer with more than 2 already plugged in, it crashes. I wish someone would release better mining software for them.
PS you might want to turn your units upside down. The heatsink doesn't really get hot, and your fans will be less blocked that way.
2
u/yuhong Mar 19 '14
I read it is possible to take the fans off while in scrypt only mode BTW.
2
u/ibangpots Apr 17 '14
I had some problems getting the gridseeds going on Win7 64 with cgminer. Here's what finally got me going. . . CGminer gridseed build. modify the .bat file for your pool/ username. The regular cgminer batfile didn't work. I had the version with the SP32? something like that driver. I replaced the driver with winusb driver with zadag program. Then the most frustrating thing was that you have to start cgminer THEN plug the usb cable in to the gridseed, it is recognized after a few seconds. I have 5 gridseeds going now, will add more soon and a USB hub. I'm just using regular 12v powersupplies (as low as 0.5 amp seems to work fine, but get a bit warm.) Need to clean up my setup but happy with how they are operating. I bought from hashmaster with no issues. Running at 800mhz with about 3% rejections and a few hardware errors.
5
u/totes_meta_bot Mar 19 '14 edited Mar 19 '14
This thread has been linked to from elsewhere on reddit.
I am a bot. Comments? Complaints? Send them to my ^inbox!
1
u/[deleted] Mar 18 '14
Where is your 10th miner!? Still shipping?
1
u/Got_Engineers Mar 19 '14
Thanks for the guide! I have some stupid questions.
1
u/wtvar Mar 25 '14
is there some way to check that the miner is running? im currently using putty to get the mining started and it works great. but when i close putty and open it again and try "sudo screen -r" it comes up with "no screen to resume" so then theres also no mining going on i assume?
1
u/gus_ivan Mar 25 '14
Does your syntax to run the cgminer on a raspberry run all 10 of your miners? Do I need additional switches to make it go?
1
u/ulcuss Mar 27 '14
1
u/BendixY Mar 27 '14
I finally received my 10 pack :D I connected everything, but when i wanted to power it up, it blew out the fuses... Haven't really figured out why yet. Might it be because i only was able to replace 2 of the 3 power cords to EU- plugs and had to use an adapter for the other one? Or might the problem even be that my outlet has too high/low of a power output? It's 220-230V, AC/DC, 50Hz and supports up to 10 A.
1
u/too_much_to_do Mar 29 '14
I've had the complete opposite experience with hash-master. They took weeks to ship to me and then didn't even ship the controller with it.
How long were the barrel plugs they sent you? they look fairly long in the picture. The ones they sent me only are only 10 inches long.
http://imgur.com/ilvVvj5
How did the power cord for the PSUs look? mine came like this http://imgur.com/xTam5EC
Am I supposed to strip the wires? there are not 3 wires like in the bitcointalk write up (I'm assuming mine have no ground) and there are no instructions either with my shipment or on their site that explain how I am supposed to set it up.
Thanks
1
u/domitius420 Mar 30 '14
Thanks for the guide! I'm still pretty new to all of this and I'm trying to see which rig would be best for me. You are hashing at ~330 kH/s. How many LTC does this speed produce in 1 day? And are you in a pool or solo mining?
1
u/duinchaileen Apr 01 '14
cgminer.exe --scrypt -o stratum+tcp://us-east.cryptopros.com:7777 -u duinchlfc.1 -p x --gridseed-options=baud=115200,freq=800,chips=5 --hotplug 30 :5 pause
i can't get my miners to run,whats the problem?
1
u/duinchaileen Apr 01 '14 edited Apr 01 '14
windows 7 64bit.Now it says no devices detected.It just says stratum from pool 0 detected a new block and on and on.
Please help
1
u/Ebeneezer123 Apr 06 '14
Just trying my raspberry.... almost working...
thats whats cgminer tells me.... any help?
1
u/LakeWashington Apr 07 '14
I have one unit working but am lost on where to put the com info for the other 2 units I want to install. Can someone paste a sample bat file for multiple units?
1
u/Fluffow Apr 15 '14
Hey, how are the seeds going now? I wonder if I should buy one, what do you use to get Internet for your Pi?
1
u/supercellkid May 09 '14
Hi. Thanks for your guide regarding a gridseed on Rpi/rasbian/cgminer. I have gotten as far as installing cgminer (i think) *nb I am total linux noob). I am connecting via putty for everything, never used monitor yet on Rpi. I can SSh in alright doesnt seem to be any probs there. I copy pasted the install line for Cgminer. is ther supposed to be a "make command or something? Anyway I after that I copied your line to run CGminer only with my user/pass/pool details in there. here is what I am putting in:
./cgminer --scrypt -o server stratum+tcp://us-west2.multipool.us:3352 -u SupercellKid.BRAVO -p x --gridseed-options=baud=115200, freq=850, --hotplug 30
I have tried this with & without sudo at the front, I have also tried removing "server" coz I wasnt sure if that should be there.
CG or the Pi is coming back on the putty screen saying "Unexpected extra commandline arguments Segmentation fault"
What am I doing wrong. Im sure its something I am doing wrong.
3
u/yuhong Mar 19 '14
(not sure what that does, but I put it in anyway)
Changes permissions on the executable.
1
u/StefanThePro Mar 19 '14
Great Guide! Definitely beneficial to the community!
1
u/tonyrayo Mar 21 '14
Just so you know, it's okay if the RPi runs a little hot (even 50 or 60C is normal). It's also very easy to cool though, your solution works (which is the only thing that matters =p) but since I push my RPis a little harder than their default, I have sourced a good place for heatsinks that I've placed on three chips. Very Important Some people put heatsinks on their boards and then shove the board back into their case(s) and wonder why it doesn't help much. The only way you will see the true benefit of heatsinks is if you have a fan (can be as small as 80mm) blow over the heatsinks to remove, well, the heat!
1
u/TheRdox Mar 29 '14
Thanks for the tutorial. It was helpful in getting mine setup.
However, I wanted to post a warning. I know that some people have had good luck with Hash-Master.com, but lately they have had some negative feedback. Extremely slow shipping and they've ignored multiple requests to cancel my order (before it was shipped). I asked to cancel because of the "bad press" that I was reading about. It's been 2 weeks and I still don't have my order. I had to initiate a dispute with PayPal.
I did place an order with Zoomhash.com and they were on it. I ordered it Saturday, and on Monday I had them. From California to the Midwest! So I suggest to use them instead.
1
u/[deleted] Apr 25 '14
1
u/dvidsilva May 15 '14
<3
1
u/gorillamania Jun 11 '14
This was very helpful for me. 5 answers /u/changetip
1
u/[deleted] Jul 29 '14
I need a bit of help if you're still around...when I run the cgminer in my raspberry pi I get a help type screen for different commands. http://imgur.com/cf1T5LG Not sure what I'm doing wrong.
0
u/coinminer69er Mar 27 '14
Thanks for the guide OP, I think I've almost got it. I can log in through SSH, start cgminer but when I plug in the first GSD it doesn't seem to recognize it as it's not hashing or getting any accepted shares after 30 or so mins. Green LED comes on when I plug in the USB, fan is on, red led lights up occasionally. Below is a screenshot from cgminer, any help would be appreciated.
http://imgur.com/ZCLU4Ui
0
u/[deleted] May 08 '14
[deleted] — view deleted comment