Search content
Sort by

Showing 10 of 10 results by DordOfLarkness
Post
Topic
Board Pools
Re: ckpool.org ZERO FEE SPLNS no registration mining pool US/DE/CN
by
DordOfLarkness
on 05/02/2020, 22:14:22 UTC
I think I've been on for a year now or so.  Happy to do so.  Hoping more folks see the light. Smiley Smiley
Post
Topic
Board Mining support
Re: basic cgminer commands via SSH: display miner status?
by
DordOfLarkness
on 03/07/2019, 17:20:12 UTC
Great! Makes sense.    Thanks for the hot tips, the info, and the links.  Woo hoo!

I'll drop back in if I have further questions.

Really appreciate it!   Cheesy Cheesy Cheesy
Post
Topic
Board Mining support
Topic OP
basic cgminer commands via SSH: display miner status?
by
DordOfLarkness
on 30/06/2019, 17:02:25 UTC
Greetings.  I've been enjoying using cgminer with my Avalon 841.
While, yes, I can log into my Openwrt server via the web client, I've been preferring to start/stop the miner via SSH and a terminal window.  (Which I now have an automated command set up on my phone that I can even use Siri to start or stop the miner by just saying "miner stop" or "miner start". Kinda stupid, but so am I.)

One thing I haven't figured out is how to get the status of the miner via SSH.  Yes, I know I can get the info via the web client...even remotely.  I'm just curious if this is possible via SSH.

Available commands:

Code:
start Start the service
stop Stop the service
restart Restart the service
reload Reload configuration files (or restart if that fails)
enable Enable service autostart
disable Disable service autostart

I would think there would be a "status" command or something.  Looking in the readme, I find some neat options (-V to see the version and -n to see what's connected via USB) but nothing that tells me if it's running and what pool it's connected to...  I'm sure I'm missing something very basic...

Thanks!



Also noticing that -V and -n work when calling cgminer from the root directory:

Code:
root@OpenWrt:~# cgminer -V
cgminer 4.10.0

they don't work when calling them from /etc/init.d/cgminer

Code:
root@OpenWrt:~# /etc/init.d/cgminer -V
Syntax: /etc/init.d/cgminer [command]

Available commands:
start Start the service
stop Stop the service
restart Restart the service
reload Reload configuration files (or restart if that fails)
enable Enable service autostart
disable Disable service autostart

Obviously, there are some extremely basic Linux/Openwrt concepts I'm missing here and I'm probably playing with fire somewhat haha.
Post
Topic
Board Mining support
Re: Avalon 841 OpenWrt CGMiner multi-pool setup and usage
by
DordOfLarkness
on 11/03/2019, 03:19:27 UTC
Sorry, I didn't put enough info in my original question...I was coming from another thread and didn't frame things clearly.

Given the chances of actually finding a block by yourself with such a low hash-rate i wouldn't personally bother, but to each their own...

You're right, the chances are so low, the solo lottery is kind of pointless.  I'm doing that part as an exercise. I enjoy tinkering with the gear.  For what I'll be making in return, the whole thing is just an exercise...in many things haha

Thanks for the info on crontab.  Very helpful indeed, and very much appreciated.

End result should be something like:

Code:
0 0 * * 3 cp /root/cgminer.pool1.conf /etc/cgminer.conf && /etc/init.d/cgminer reload
0 0 * * 4 cp /root/cgminer.pool2.conf /etc/cgminer.conf && /etc/init.d/cgminer reload

This will overwrite cgminer.conf with the contents of cgminer.pool1.conf on Wednesdays, and the contents of cgminer.pool2.conf on Thursdays at 0:00 (12am).

If you pay attention, The Command Line Interface is easier than a Graphic User Interface, on a magnitude of scale for most tasks. Edit a text file, vs the dreaded registry, or a simple command line vs open window, click here, scroll bar, click tab, go back, unset radio button, next tab, etc...

Of course you can combine both and use the most efficient one for each task.

Just to reiterate, this was exactly what I needed.  I hadn't heard of crontab before, and my initial searches confused me.  This was very clear, and I really appreciate it.  I think I'm all set.  Also, that taught me the /etc/init.d/cgminer reload trick.  I could use that command direct in the shell I think.  Could be useful.

I'm certainly a fan of the CLI/Shell approach.  I have vim pretty well under my fingers, but in general I don't have a whole lot of flight hours on a Linux/Unix terminal compared to many... so again, I appreciate the helpful info. Cool
Post
Topic
Board Mining support
Topic OP
Avalon 841 OpenWrt CGMiner multi-pool setup and usage
by
DordOfLarkness
on 10/03/2019, 22:00:59 UTC
I'm a newbie setting up my first miner, an Avalon 841.  I'm using the OpenWrt firmware via a raspberry Pi and am trying to set up my pools

I have two pools set up.  The way OpenWrt is working, Pool 1 is always active.  Pool 2 is never active.  The web-based setup doesn't seem to have an option to activate pool 2.  I can change pool 1 to pool 2, but of course that loses all the earlier data from the CGminer Status page.  Maybe there's no other way of doing it?

I've looked at the direct commands for CGMiner, but I didn't seem to see one that would activate a pool... and I'm not even sure I can run direct commands via the shell while the unit is being controlled by the OpenWrt application.  I tried and it seemed to run another instance of CGMiner... or something... couldn't tell if it was working.  I can get around some in a Linux shell, but I'm no master by any stretch of the imagination.

On that note, as I was looking for automatic ways to go between pools, I found the "quota" settings at the official CGminer README at in http://ck.kolivas.org/apps/cgminer/README that showed promise. (90% pool.ckpool.org 10% solo.ckpool.org)  That said, the config file at etc/config/cgminer on my Pi doesn't look like the same type of config commands...  and they seem to be generated by the OpenWrt application.  

Can I still use typical CGMiner commands in the config file there?

Thanks so much.
Post
Topic
Board Pools
Re: ckpool.org ZERO FEE SPLNS no registration mining pool US/DE/CN
by
DordOfLarkness
on 10/03/2019, 19:12:12 UTC
Asic miners are loud industrial beasts, 77db is considered "normal". The only "Silent miner" that ever was, was the R4 (i own one). Maybe the S7 LN previous to that, but the R4 was specifically designed to be silent, and it truly is (50db at 100%). Sadly nobody made something like it again. I'm sure a MicroBT with two boards, or sn S17, with a similar design would do wonders, oh well home use is not their target, 99% of the mining is done in warehouses where noise is not a problem.

My only hope is someone designs a mod case to recreate the R4 design with current hardware, if that fan is available somewhere, but knowing the Chinese it should be...

https://d1ueyc5nx1it61.cloudfront.net/9aec2b2d16298081722.JPG

Heh heh.  That would be pretty great for sure.  I do have one other little trick up my sleeve I may try:
https://i.ibb.co/Vv89qN8/IMG-4610.jpg

I have this huge wooden, acoustically insulated, fanned case that I originally bought for my computer when I was setting up the recording studio.  Being I'm right next to a loading dock, it's rather moot and I rarely close the doors on it.  Temps would get into the 90F or low 100s with the computer in there and the doors closed, so there's a good chance it won't work with the beast that the 841 is.  

That said, I may still try it. (Maybe with a tube going directly from an AC unit into the fan intake of the case.) That would be a pretty major re-working of the studio, but... if I get a lot more hours out of it, it may be worth the trouble.



I have enough gear scattered about that I don’t have to shift.

When I had just one miner I would simply make a change on the miners GUI on Sunday morning.

Cool.  Got it.  Thanks!  I may fool around with some things just out of curiosity, (I'm such a sucker for automation) but that approach certainly works.  


Thanks again!
Post
Topic
Board Pools
Re: ckpool.org ZERO FEE SPLNS no registration mining pool US/DE/CN
by
DordOfLarkness
on 10/03/2019, 17:13:47 UTC
Ok, so I have my 841 set up and it's been working for the last few days.

A couple observations:

  • I work in a business where I record audio.  I was thinking that I would just turn off the miner when I needed to record, however that won't be the case.  Even with the settings that philipma1957 posted, that fan is so loud that I can't work in the same room while it's on.  It's a one room office hahah.  So, I'll just be mining when I'm not there.  That will certainly impact my ranking.
    Hi all!!
    So for someone like me (small miners) never in the top 100 or even 200, just how long (if ever) would I have to wait for a payment?
    Im just wondering if it would be like 4-5 months or are we talking years here?
    Thanks in advance.
    At the current hashrate, 4-5 years.

    I'm currently ranked 480.  I know there is ramp-up time and that the 841 has a decent hash rate.  However, I only have one unit, and that one unit will be only running an average of about 14 hrs/day. It'll probably be years for me too before I see anything.  I guess that's just the nature of the beast.  I'll watch the ranking and see if this will be worth my while.  I'm probably going to be moving from this office in 4-5 years.  Oy. 


  • I would mine here 6 days a week------ pool.ckpool.org

    I would mine here 1 day a week------ solo.ckpool.org

    Re: your recommended schedule: These are the two pools that I was looking at. I was wondering if there was a way to utilize both, and it's like you read me mind!  I'll definitely do the 6/1 split as my original point of departure.  Thanks again.  I really appreciate it.  Smiley
    This probably involves scheduling using crontab to relaunch cgminer after changing its config, unless the Avalons expose such feature in their UI.
    I'm curious how you're doing your scheduling Philipma1957.  Are you using crontab or are there other solutions?  Looking into it, I think I can pull off crontab but it's a little out of my experience.  That said, I am doing this mad project to learn a thing or two...

Post
Topic
Board Pools
Re: ckpool.org ZERO FEE SPLNS no registration mining pool US/DE/CN
by
DordOfLarkness
on 28/02/2019, 19:29:24 UTC

That's some great info.  I'll be running this on 120v lines, and even during the NYC winter, my steam heat (which I have no control over) is way too much for the room.  I can't crack windows when I'm not here. I'm on the 1st floor and it's a bit of a security thing. (No bars.)  

I certainly don't mind getting a lower hash rate to keep this working.  Thanks again for pointing me in that direction.  Great info!
Post
Topic
Board Pools
Re: ckpool.org ZERO FEE SPLNS no registration mining pool US/DE/CN
by
DordOfLarkness
on 28/02/2019, 17:34:52 UTC

I would check the draw and use a power cost calculator you might find even on industrial asic could be pretty noticeable cost wise. Maybe a $100 or so added to the electric bill a month.

Indeed.  I have quite a few other computers (crunching numbers for SETI hahah) and other equipment that I typically leave on 24/7. Once the 841 is set up, I will discontinue that practice.  A lot of those computers are very old and inefficient, so I'm hoping that turning them off will make up for most of the new draw from the 841.  I'll be splitting the two (120v) power supplies for the 841 between two breakers.  It'll be dicey, but an adventure that should garner some laughs.  Fortunately there are no life support systems here.


I would read how to clock the A841  a bit lower  to save some power and sound.

I have a thread on it, I will look for the link.



I would mine here 6 days a week------ pool.ckpool.org

I would mine here 1 day a week------ solo.ckpool.org

I did read about adjusting the voltage offset, but that doesn't sound like clocking.  Any further information you can link would be wonderfully welcome.  Thanks!

Re: your recommended schedule: These are the two pools that I was looking at. I was wondering if there was a way to utilize both, and it's like you read me mind!  I'll definitely do the 6/1 split as my original point of departure.  Thanks again.  I really appreciate it.  Smiley
Post
Topic
Board Pools
Re: ckpool.org ZERO FEE SPLNS no registration mining pool US/DE/CN
by
DordOfLarkness
on 28/02/2019, 15:50:35 UTC
Greetings.  I'm Dord, but you can just call me noob.  I am in a situation where I don't pay for the electricity in my office.  I can probably get away with having one little ASIC and stay under the radar.  So, I picked up an 841 for very little just to check it out for kicks.  (I'm obviously not going to buy my first home with this... but maybe some paper towels on occasion)

If I were to join CKPool, would I be such a piddly little player in this pool of pros that it wouldn't be worth the while?

thx