tonytre
Newbie
Offline
Activity: 15
Merit: 0
|
|
April 20, 2014, 10:03:09 PM |
|
Hello all,
I have ordered my first gridseed from GAWminers, and have followed the guide to download cgminer for Ubuntu from this post. I believe I have succussfully downloaded it as I was able to get it to start up at the end, but obviously it says no USB device detected.
I have been mining with 3 r7 265's for the past month, but before that had no experiece in linux or computer building. I built my first computer and with some help was able to get my cards mining. I use sgminer and get it started by cd ~/ and then ./mine.sh.
I was wondering if there was a way to start cgminer like that, as I think the only way I was able to get it running was by calling cd ~/ then ./cgminer/cgminer -o xxxxx and all the information for gridseed after. I was wondering if there was a way to start the gridseed mining by calling on a .sh file like I do for my gpus. I am hoping someone doesn't mind answering my elementary question. I want to be prepared to have the gridseed up and running right when it gets here and not have any software issues. Will the gridseed work by running cd ~/ then ./cgminer/cgminer -o stratum+tcp://server:port -u username.worker -p password --gridseed-options=baud=115200,freq=888,chips=5 --hotplug 30? It currently starts to look for a pool when I type that in now and feel like it should work once the gridseed is hooked up, and is there any easier way to get it running other than how I stated.
I also plan to just open cgminer in a second terminal, as my gpu's currently run on sgminer. Will this cause any problems?
Thanks!
Are you running cgminer as root? I think you have to do that or it won't be able to talk to the GSD's. I have two rigs, one is Gridseed 5 chip based and the other uses DualMiners. In both cases I run cgminer as a service via Daemontools. I've posted a "how to" here in case you're interested: https://bitcointalk.org/index.php?topic=577018.0If you're on a real linux box and not a Raspbery Pi, then you can probably skip my instruction about installing ramlog because you probably don't need it. If your cgminer still can't see the GDSs, then you can tell if they're visible on the USB bus via this command. This might help rule out a USB hub or connection problem: lsusb -t If you need an example config, here's the one that I'm using with the mox235 variant of cgminer (same as girnyau but with better JSON API output): { "gridseed-options": "baud=115200,freq=850,chips=5", "gridseed-freq" : "8D6E50A55748=900,8D9136685748=875", "kernel-path": "/usr/local/bin", "failover-only": true, "verbose": true, "api-listen": true, "api-port": "4028", "expiry": "120", "hotplug": "5", "log": "5", "no-pool-disable": true, "queue": "1", "scan-time": "30", "scrypt": true, "shares": "0", "pools": [ { "url" : "stratum+tcp://uswest.wafflepool.com:3333", "user" : "REPLACEME_workername", "pass" : "x" }, { "url" : "stratum+tcp://sf.clevermining.com:3333", "user" : "REPLACEME", "pass" : "x" }, { "url" : "stratum+tcp://us-west.coinshift.com:3333", "user" : "REPLACEME.workername", "pass" : "x" } ] }
The above config defaults to a frequency of 850 unless overridden. You can see that the "gridseed-freq" option demonstrates overriding the frequency on a per serial number basis. You have to replace "REPLACEME" in all cases above with your bit coin address. Do yourself a favor and copy and paste the address. These addresses are case sensitive, so one upper or lower case mistake and your earnings go into a hole. Change "workername" to the name you want for your rig, in case you have more than one and you want to be able to tell them apart. I'm also using the mox235 version of Scripta as the web front end, but it's kind of involved getting it installed and working on an existing Linux system. Here's a link to the basic instructions I followed, if you're feeling up to it: https://litecointalk.org/index.php?topic=9908.msg138403#msg138403Remember to use the mox235 version of scripta with the mox235 version of cgminer. They've both been modified to provide improved information, including displaying the serial number and frequency of each GSD (which is insanely useful if you have more than one and want to tune them). Note that if you use my mechanism of running cgminer under a service, you don't want to integrate the Scripta rc.local file. Also you should replace their start/stop scripts with your own that call daemontools to start and stop the miner. But frankly I just use Script for status, not control. Also, when I leave the Scripta cron jobs on, they cause USB disconnects. I suspect this is a cgminer bug when multiple cron jobs hit the API simultaneously. Some people have successfully staggered their Script cron jobs to avoid the problem. Probably too much information, but I hope some of it helps... Thanks for the good information. First I've heard that it should be run in root, so that will be the first thing I try when it arrives on Monday/Tuesday. Scripta is probably a little too much for me at this time, but I will continue to read up about it, and maybe give it shot. I probably should have waited to post until I actually have the device, but I am so pumped for it that I couldn't wait. Mining has turned into an addiction for me, and will definitely get more gridseeds if I figure out how to run the first one correctly. So should the first thing I try be cd ~/ then sudo ./cgminer/cgminer -o stratum+tcp://server:port -u username.worker -p password --gridseed-options=baud=115200,freq=888,chips=5 --hotplug 30? I have followed this guide exactly, and could post screenshots of my home folder/cgminer/cpuminer to make sure I have downloaded everything correctly, but the best course of action is probably too just wait until I have it. I'm trying to understand why there is both cgminer and cpuminer in the linux download. Is the cpuminer there to use incase the cgminer doesn't run right, or is it part of cgminer? I thought they were two seperate programs, but as I mention I just started teaching myself how to use linux and coding. I used a macbook pro throughout college, and this computer I built was the first time doing anything other than installing a new HDD in my laptop. There is still so much for me to learn about the terminal. Thanks for the help!
|
|
|
|
blackvoice
Newbie
Offline
Activity: 56
Merit: 0
|
|
April 22, 2014, 02:46:51 AM |
|
This machine can not work well
|
|
|
|
jamieb81
|
|
April 22, 2014, 02:49:16 AM |
|
Works not well? works fine for thousands of us here.
care to explain what's the problem?
|
|
|
|
pallas
Legendary
Offline
Activity: 2716
Merit: 1094
Black Belt Developer
|
|
April 22, 2014, 07:48:19 AM |
|
and why the hell did you quote the whole OP with pictures just to say "it doesn't work"? :-)
|
|
|
|
jjj0923
|
|
April 22, 2014, 10:51:47 AM |
|
and why the hell did you quote the whole OP with pictures just to say "it doesn't work"? :-)
PUE - Probable User Error : LOL
|
|
|
|
sandor111
|
|
April 22, 2014, 01:49:29 PM Last edit: April 23, 2014, 09:24:39 PM by sandor111 |
|
For Windows: https://www.dropbox.com/s/ttqa9p851siz8oi/minerd-gc3355.zipWindows .bat with backup pools :loop minerd.exe --gc3355=\\.\COMxx --gc3355-autotune --freq=850 --url=stratum+tcp://pool1:port --userpass=user:pass --retries=1 minerd.exe --gc3355=\\.\COMxx --gc3355-autotune --freq=850 --url=stratum+tcp://pool2:port --userpass=user:pass --retries=1 minerd.exe --gc3355=\\.\COMxx --gc3355-autotune --freq=850 --url=stratum+tcp://pool3:port --userpass=user:pass --retries=1 goto loop pause
|
|
|
|
Flowan
Newbie
Offline
Activity: 14
Merit: 0
|
|
April 23, 2014, 09:03:40 PM |
|
Thanks for this awesome topic! Made my day
|
|
|
|
soothaa
|
|
April 23, 2014, 11:22:20 PM |
|
I briefly skimmed the last few pages looking for mods on the Gridseed 80, any known ones yet? Power consumption isn't really a concern, and I'm currently getting ~6MH/s @ 850MHz
|
|
|
|
suchmoon
Legendary
Offline
Activity: 3682
Merit: 8935
https://bpip.org
|
|
April 24, 2014, 08:09:48 AM |
|
I briefly skimmed the last few pages looking for mods on the Gridseed 80, any known ones yet? Power consumption isn't really a concern, and I'm currently getting ~6MH/s @ 850MHz
This might help: https://bitcointalk.org/index.php?topic=576784.0
|
|
|
|
soothaa
|
|
April 24, 2014, 02:56:31 PM |
|
I briefly skimmed the last few pages looking for mods on the Gridseed 80, any known ones yet? Power consumption isn't really a concern, and I'm currently getting ~6MH/s @ 850MHz
This might help: https://bitcointalk.org/index.php?topic=576784.0Perfect, thanks!
|
|
|
|
wolfey2014
|
|
April 24, 2014, 03:58:07 PM |
|
I briefly skimmed the last few pages looking for mods on the Gridseed 80, any known ones yet? Power consumption isn't really a concern, and I'm currently getting ~6MH/s @ 850MHz
For real? NICE! That's really decent performance for a non-overvolted unit! Have a look at today's update from http://cryptomining-blog.comThey're over volting one right now!
|
I Modify Miners Professionally! PM me for details!
|
|
|
brian_23452
|
|
April 24, 2014, 07:09:45 PM |
|
Anyone have any idea why a blade would hash but not submit work? I am using cgminer on windows 7. No matter how many blades i plug in, it sees them all, and they all hash, but the last board never submits any work (based on device id it is a different one each time but i don't know if the device id is unique to each unit or of it changes each time i plug it in). What I mean is, if i plug one blade in, one board submits work and one doesn't. If i plug two blades in, i get 3 boards submitting work, one not. If i plug 3 blades in, 5 boards submit work, 1 doesn't. etc. etc. The "non working" board does hash though, it just doesn't submit work. I have checked everywhere and see other people have had this issue, but not found a solution.
Any have any ideas?
|
|
|
|
nev_dull
Newbie
Offline
Activity: 14
Merit: 0
|
|
April 25, 2014, 05:13:17 AM |
|
I got 3 dualminer2 today as well as a Gridseed. I am able to get them all up and running (using different versions of cgminer for each) without any problems-- at least when testing to wafflepool, scryptguild and clevermining. I was actually trying to solomine an altcoin directly to a wallet-- I've got a GPU box doing that just fine (host:8332) to the exact same wallet however when I point either the gridseed or the dualminers at the wallet it connects and appears to be hashing away just fine except I never get any accepts or rejects. The hashrates the cgminers report are reasonable yet no accepts. The only thing I can think of that is different between mining to a multipool and a local wallet is that the local wallet is using http (getwork I believe) rather than stratum. cgminer shouldn't have an issue mining to a wallet-- after all I use an unmodified cgminer on my GPU box with no problems also using http. Anybody have any ideas why this isn't working?
|
|
|
|
sandor111
|
|
April 25, 2014, 09:20:21 PM |
|
Support for individual chip frequency is added. It’s possible to run regular USB miners and G-Blades on a single instance, because the number of chips is now auto detected. Binaries (Win, Rpi) have been updated. I'm still working on a summary like cgminer, almost done, but it feels like I'm reinventing the wheel.
|
|
|
|
suchmoon
Legendary
Offline
Activity: 3682
Merit: 8935
https://bpip.org
|
|
April 25, 2014, 09:32:51 PM |
|
Support for individual chip frequency is added. It’s possible to run regular USB miners and G-Blades on a single instance, because the number of chips is now auto detected. Binaries (Win, Rpi) have been updated. I'm still working on a summary like cgminer, almost done, but it feels like I'm reinventing the wheel.
I think you've mentioned something about an API but I can't find that post now. Does it have an API? Any other means to monitor it remotely short of scraping stdout? Thanks.
|
|
|
|
sandor111
|
|
April 25, 2014, 09:39:08 PM |
|
Support for individual chip frequency is added. It’s possible to run regular USB miners and G-Blades on a single instance, because the number of chips is now auto detected. Binaries (Win, Rpi) have been updated. I'm still working on a summary like cgminer, almost done, but it feels like I'm reinventing the wheel.
I think you've mentioned something about an API but I can't find that post now. Does it have an API? Any other means to monitor it remotely short of scraping stdout? Thanks. Yes, the API is accessible on port 4028, sending will output a JSON encoded array with mining stats for each chip. It's disabled on Windows though.
|
|
|
|
suchmoon
Legendary
Offline
Activity: 3682
Merit: 8935
https://bpip.org
|
|
April 25, 2014, 09:50:38 PM |
|
Support for individual chip frequency is added. It’s possible to run regular USB miners and G-Blades on a single instance, because the number of chips is now auto detected. Binaries (Win, Rpi) have been updated. I'm still working on a summary like cgminer, almost done, but it feels like I'm reinventing the wheel.
I think you've mentioned something about an API but I can't find that post now. Does it have an API? Any other means to monitor it remotely short of scraping stdout? Thanks. Yes, the API is accessible on port 4028, sending will output a JSON encoded array with mining stats for each chip. It's disabled on Windows though. Great, I'll try it out. Thanks!
|
|
|
|
Elokane
|
|
April 26, 2014, 03:03:43 PM |
|
Is there a way to make the 5 chip units start using CGMiner on Windows without having to start CGMiner and only then plug them in?
This often leads to issues of them not being picked up and this arduous process having to repeat itself multiple times until CGMiner identifies all of them.
|
|
|
|
Ferris419
|
|
April 26, 2014, 06:25:15 PM |
|
https://github.com/siklon/usb-miner/tree/master/software/cpuminerShort summary: * Added hashrate statistics * Added auto per-chip frequency tuning * Added JSON API at port 4028 -> send {"get":"stats"} to get stats for each miner/chip * Input any frequency you want -G, --gc3355=DEV0,DEV1,...,DEVn enable GC3355 chip mining mode (default: no) -F, --freq=FREQUENCY set GC3355 core frequency in NONE dual mode (default: 600) -f, --gc3355-freq=DEV0:F0,DEV1:F1,...,DEVn:Fn individual frequency setting -A, --gc3355-autotune auto overclocking each GC3355 chip (default: no) It should work on Rpi, but I haven't tested it yet. im looking for this cpuminer compiled for windows can someone point me to a place to download it? thanks in advance
|
Bitcoin is gonna hit 100K usd
|
|
|
jamieb81
|
|
April 26, 2014, 06:26:20 PM |
|
https://github.com/siklon/usb-miner/tree/master/software/cpuminerShort summary: * Added hashrate statistics * Added auto per-chip frequency tuning * Added JSON API at port 4028 -> send {"get":"stats"} to get stats for each miner/chip * Input any frequency you want -G, --gc3355=DEV0,DEV1,...,DEVn enable GC3355 chip mining mode (default: no) -F, --freq=FREQUENCY set GC3355 core frequency in NONE dual mode (default: 600) -f, --gc3355-freq=DEV0:F0,DEV1:F1,...,DEVn:Fn individual frequency setting -A, --gc3355-autotune auto overclocking each GC3355 chip (default: no) It should work on Rpi, but I haven't tested it yet. im looking for this cpuminer compiled for windows can someone point me to a place to download it? thanks in advance look a few post up, sandor is the one that made it and the link is in his signature
|
|
|
|
|