Bitcoin Forum
July 07, 2024, 08:09:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 [78] 79 80 81 »
1541  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][HSP] ★★ Horse Power ★★ SCRYPT ★★ Fast PoW ★★ on: September 20, 2015, 04:37:14 PM
Quote
Algo: Scypt
Works also fine with Scrypt miners  Cool
1542  Alternate cryptocurrencies / Service Announcements (Altcoins) / Re: 【BOT】C.A.T. Cryptocurrency Automatic Trader 3.1 - 0.5 ฿ LifetimeLicense 150+Feed on: September 19, 2015, 09:42:01 PM
Hi I am interested in purchasing CAT, I am curious do you have an option to run the application in headless mode?
Not meant to answer on behalf of Sampey, but I run C.A.T. on a VPS on Ubuntu Linux with xrdp. Whenever I want to access C.A.T. I connect to the xrdp service from anywhere.
HTH
1543  Alternate cryptocurrencies / Announcements (Altcoins) / Re: MicroCoin! A Coin for Microcontrollers like the Arduino! on: September 19, 2015, 08:32:26 PM
Quote
This coin will be launched on 9/18/15
Did I miss anything yesterday?
1544  Alternate cryptocurrencies / Altcoin Discussion / Re: BEST Altcoin trading bot? on: September 18, 2015, 07:39:24 AM
Don't know about the others, but C.A.T. has been around a long time and works very stable. On top of that Sampey is a great, helpful and honest guy. I would definitely buy it again.
1545  Alternate cryptocurrencies / Mining (Altcoins) / Re: Multipool is requesting a lot of work restart on: September 14, 2015, 01:11:22 PM
Those are three pools I have used, but there are certainly gazillions of other reliable scrypt pools out there:

Also make sure to check the Pool section in the altcoin board.
1546  Alternate cryptocurrencies / Mining (Altcoins) / Re: Multipool is requesting a lot of work restart on: September 14, 2015, 12:45:39 PM
The diff you are mining at (256) is way too high for your hashrate (~270kh/s), there will be new work before you are able to submit a share most of the time.
I have a small USB miner with about the same scrypt hashrate and it mines at a diff of 8 on a multipool vardiff port. I would recommend with that hashrate to not mine with a difficulty over 32.
HTH
1547  Alternate cryptocurrencies / Service Discussion (Altcoins) / Re: LIST managed node hosting services on: September 13, 2015, 02:20:30 PM
but a good question. isn't there a service where you can just order a node and they set it up? not everyone is able to run a VPS/maintain it
I can provide one or more managed nodes for a coin if needed.
However I personally also recommend you just get an ultracheap vps and do it yourself.
PM me if interested.
1548  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Genstake [GEN] [QT WALLET UPDATE] [STAKE-MINE] [SCRYPT] [FULL POW/POS] on: September 12, 2015, 08:41:23 AM
Yobit wallet is in maintenance since days, wish I could stake with the coins stuck there.
1549  Alternate cryptocurrencies / Announcements (Altcoins) / Re: MicroCoin! A Coin for Microcontrollers like the Arduino! on: September 12, 2015, 08:18:20 AM
Interesting.. but what will keep others from compiling the sketch on their (imaginary) 512-core big iron and instamining all coins ?
I'll be watching, but I have serious doubts.
1550  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][GRE] GreenCoin - A Tradeable Carbon Credit Ecosystem on: September 11, 2015, 07:30:21 PM
Are there any active pools mining this?
http://xpool.ca/ mines it as auxpow.
1551  Alternate cryptocurrencies / Mining (Altcoins) / Re: bitcoin hardware problem on: September 09, 2015, 04:42:12 PM
Hi,

d57heinz is certainly right, this looks a lot like a dragon 30Mh/s scrypt miner with B2 chips.
The 4 blades of the miner seem to be recognized properly in your system (/dev/ttyUSB0-3) and its probably only a matter of letting it hash against a scrypt pool like litecoinpool.org as d57heinz proposed.

HTH
1552  Alternate cryptocurrencies / Mining (Altcoins) / Re: My list of Alt coins that you want to mine (scrypt) on: September 08, 2015, 05:25:11 PM
  • MONA (this one i have just made a good profit on, i am not too sure about the dev but mining it worked for me Smiley )
According to https://bitcointalk.org/index.php?topic=392436.msg12348595#msg12348595 Monacoin will move to Lyra2REv2 in ~5000 blocks. If I understand this correctly scrypt will not be supported anymore then.
1553  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][MONA] Monacoin LAUNCHING 2014/01/01 0:00 GMT on: September 08, 2015, 05:23:59 PM
I'll move MONA to the Lyra2REv2 port on www.xpool.ca when the time comes. 18 more blocks???
Heya crackers Smiley
IMHO there are about 4850 blocks left to the fork @450000.

Cheers
1554  Alternate cryptocurrencies / Mining (Altcoins) / Re: Custom Innosilicon A2 Terminator image - Anx Edition on: September 08, 2015, 05:08:03 PM
As promised here is a howto explaining the growing and shrinking of SD card images and filesystems.

Growing is useful if you want to grow the filesystem from your image to take advantage of all space available on your SD card.
Shrinking is useful if you want to write i.e. an 8GB image to a 2GB SD card (given the content of the image is less than 2GB).

You will need a Linux computer with gparted installed. Many Live-CDs for Linux and BSDs that include gparted can be used so you can use these steps without devoting a computer to Linux permanently (though you really should Wink).

We will first deal with growing an image to your SD cards full size, since that is slightly easier to do (nvm, shrinking is not that hard either).

Growing an image on the SD card
First write the image you have downloaded from the OP to your 8GB SD card with something like

Code:
sudo dd if=~/Desktop/AnxA2-09012015.img of=/dev/sdX bs=512

Make sure that you use the correct device for sdX in the above /dev/sdX!
The below two commands help you to identify the device name of your SD card:

If you just have plugged it in, check the output of the below command (the last lines to find out what device name your SD card has)
Code:
dmesg

[1883229.800218] scsi119 : usb-storage 8-2:1.0
[1883230.804097] scsi 119:0:0:0: Direct-Access     USB2.0   CARD-READER      1.01 PQ: 0 ANSI: 2
[1883230.804824] sd 119:0:0:0: Attached scsi generic sg2 type 0
[1883230.814085] sd 119:0:0:0: [sdb] Attached SCSI removable disk
[1883230.831082] sdb: detected capacity change from 7948206080 to 0
[1883230.844116] sd 119:0:0:0: [sdb] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB)
[1883230.850080] sd 119:0:0:0: [sdb] No Caching mode page found
[1883230.850084] sd 119:0:0:0: [sdb] Assuming drive cache: write through
[1883230.866076] sd 119:0:0:0: [sdb] No Caching mode page found
[1883230.866080] sd 119:0:0:0: [sdb] Assuming drive cache: write through
[1883230.880111]  sdb: sdb1 sdb2


The other command below shows your partition tables, look for one that looks like the size of your SD card:
Code:
cat /proc/partitions

On my PC with one 80GB harddisk (sda) the output looks like:
major minor  #blocks  name

   8        0   78150744 sda
   8        1     498688 sda1
   8        2          1 sda2
   8        5   39061504 sda5
   8        6    3905536 sda6
  11        0    1048575 sr0
   8       16    7761920 sdb
   8       17      57344 sdb1
   8       18    2831360 sdb2

Obviosuly, /dev/sdb is the SD card with 8GB capacity.

Once the image is written to your SD card, run the following command (again replacing /dev/sdX with your device name):
Code:
sudo gparted /dev/sdX

A window like the following will appear:


Make sure that all partitions are unmounted by right-clicking them and selecting "unmount". You will not be able to resize the partition and filesystem while it is mounted:


Now you are ready to resize. Right-click on the partition /dev/sdX2 (sdb2 in my case) and select Resize/Move:


A new window will appear that allows you to resize:


Grab the right edge with your mouse and drag it completely to the right:


You can also enter values directly below instead of dragging with your mouse.
Once you are done, press Resize/Move.

A warning will eventually appear that you can safely ignore if you did everything right until here.

Now select Edit|Apply All Operations and give it some minutes to do its job:


Once this has finished, your image is resized to the full SD card size and you can start to use it in your miner.

Shrinking an image file to fit on a smaller card
Now this gets a bit more work as we need to do all work on the image file as we obviously can't just dd it to a smaller card and work on the card directly. Still it is very easy to do so:

First of all we need to mount the image to work on its filesystem. Linux offers the loop device system for such tasks. To create a device from the ANX image do as follows:
Code:
sudo losetup /dev/loop0 ~/Desktop/AnxA2-09012015.img

Now you can again run gparted but against the loop device:
Code:
sudo gparted /dev/loop0

As above in growing the filesystem you can now shrink the second partition to your needs. In our case I want to make the image to fit on a 2GB SD card. Since the boot partition needs some space and we do not want to stretch our luck too much, we make the partition ~1700MB:

Note:Actually one could make some maths to get the right matching number for partition size, but that's beyond the scope of this howto and in this case I don't mind wasting a few MB. In fact the image, after written to SD card can simply be grown to the full 2GB size of the target card with above growing procedure.

Again apply these changes by selecting "Edit|Apply All Operations" and get yourself a coffe (better two).

Once things are done from gparted we are left with an image that would fit on 2GB SD card but has ~6GB unused space at the end and actually is still an 8GB image.
So to be able to dd it to our 2GB sd card we need to truncate the image to the space currently used.
First we need to find out where out second partition we just resized now ends:
Code:
sudo fdisk -l /dev/loop0

Which will give you an output like below:
Disk AnxA2-09012015.img: 7948 MB, 7948206080 bytes
255 heads, 63 sectors/track, 966 cylinders, total 15523840 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002c262

             Device Boot      Start         End      Blocks   Id  System
AnxA2-09012015.img1            8192      122879       57344    c  W95 FAT32 (LBA)
AnxA2-09012015.img2          122880     3809279     1843200   83  Linux


The important number is the last block of the last partition: 3809279

From the above output we also know that the block size is 512 bytes. That leaves us with the following formula to determine where we will be truncating the image:

(3809279+1) * 512 = 1950351360

Note: the +1 is because blocks count from 0 so we adjust for that with one block added.

Now can trim our image to the size we calculated above:
Quote
truncate --size=1950351360 ~/Desktop/AnxA2-09012015.img

You should now be able to dd the above image to a 2GB SD card disk.

I hope this helps one or the other when fiddling with images. If you have feedback or corrections please let me know.
1555  Alternate cryptocurrencies / Mining (Altcoins) / Re: Custom Innosilicon A2 Terminator image - Anx Edition on: September 07, 2015, 05:56:12 PM
Great, having a stable and solid fs is important to me as my miners are getting switched on/off automatically. So there are days with 2-3 on/off transitions and having a lot of possible writes to the SD card ongoing makes me fear I am going to replace the first SD cards soon.
I would propose to have a picture with the images shipped which is just blank and has a text saying, "please wait a few minutes for statistics to be generated". This could be in place when the firmware first starts so you do not have broken links (i.e. if the graphs do not exist, copy the empty image there at boot).
For running I would propose to save the rrd databases regulary on the SD card somewhere, say every 1h. That is not perfect as it still gets the SD card some writes, but it reduces them a lot. If you i.e. tar.gz all rrd databases that should take minimal space and reduce writes even more. On boot, just check if the backup is existing and populate the tmpfs with the backup files.
I would even rotate those snapshots (having 2 of them, latest and latest+1) so that in case the switchoff happens when the tar.gz is built you have a working archive, so if unpacking the latest returns an error from tar, go for the latest+1.

Interesting - how do you shut it down?  I'm assuming something like a PDU?  I'm in the process of building a little daughter board to go into the Terminators (or really any ATX-based miner), that will be a WiFi remote rebooter and environmental sensor.  The lame PDU's I have only cut off one of the 240v legs, so sometimes the machines keep working, so I needed a better solution.

I actually powercycle mine as well - shut down from 3 to 6 PM every day because of the power plan I'm on, although they run 24-7 on weekends.
To be honest, I just cut power to them with Ethernet PDUs.
I have meanwhile 4 kinds of different IP-PDUs: Very old Aviosys 4- and 8-Port, an old Epower Switch, an ALIX Board with a USB Relay from Cleware and my latest one is the RT5350F-OLinuXino-EVB. The ALIX runs on voyage linux and the Olinuxino with OpenWRT. On both I have a cgi script running that exposes the same API as the Aviosys IP-Switch. All IP-PDUs are controlled from a script that constantly monitors coin price, difficulty, env. temperature in basement, current electricity price and based on this switches only on if my script thinks it can make profit...

Would you like me to add a 'Shutdown' option from the web interface?  This way you could easily just script it to shutdown the box a minute before you power it down, and ensure nothing is in a funky state.
I am not sure if this is good. Imagine people having a miner in a datacenter in a remote place and accidentally clicking shutdown. For me I can do the shutdown via ssh with public key auth. But you are right in that shutting down the thing properly would be the way to go. I think I will have to add that to my script so that it shuts the Pi's down a few seconds before switching off power.

Nice, I'd be happy to offer a howto on growing or shrinking the images (i.e. growing the 4GB image to an 8GB card or to shrink the 4GB for a 2GB card).

I'm sure that it would be appreciated - right now there's basically almost no real storage being used (beyond RRD), so it generally shouldn't be an issue.  I also save the CGMiner logs to the FS, but that's because I figured if you're using them, you're probably trying to debug something, and it might need to survive reboot.
Ok, will be my next post, but it might take some time to get it put together.

One thing I would *LOVE* to be able to do, but don't know how I would yet (haven't looked into it yet), is allow people to do the firmware update from the web interface.  If you've got any insight into that, I'd love to hear it... I think that would be awesome, and would also make batch updating machines a much more pleasant experience.
From my past experience there are a few ways to acomplish that:
  • Use Debians packages and have your own repo, run apt-get -y upgrade from cron.
    This would be the most professional way and it could even run automatically. But building Debian packages for every single file you, Innosilicon and others have added to the base image would be huge task. And there are really simpler things in life than running a debian repo...
  • Ship the image with 2x <4GB partitions, one is active and will be mounted as rootfs, the other on inactive.
    If the user wants to update, download a tar file and extract it to the inactive partition (or dd an image), once inactive partition is populated and was checked, switch uboot to boot from this partition, making the other one now the inactive one.
    This is a nice way, but it might be easy to f*ck up uboot configuration, leaving the user with a non-working miner and the urgent need to reflash. OTOH, you can offer in the GUI to switch back to the previous version by changing uboot configuration to point to the currently inactive partition, giving basically a way to go back to the old version. Naturally you could also copy over all config to the newly populated partition.
  • Something I would call differential updates: Basically you make your current vanilla image the baseline image and work in a separate copy of the baseline image. Once you are ready to realease changes you run rsync in dry mode (meaning it doesn't sync but onyl report what it would do) and pipe the resulting filelist through tar. This will pack you all files that have changed compared to the baseline image. Naturally you would have to manually exclude files like the rrd's that may have been created in your tests etc..
    These updates can be then applied by just unpacking over the installation. A great disadvantage is that you have to take care yourself of restarting things etc or even stopping services before you are going to overwrite critical files. Basically you want to include a script with a defined name in the archive that does all that before and after the updates have applied (i.e. before: stop webservice, after: reboot).
Given that I think you will be only replacing very few files, the last option sounds like best. I have done this for a prototype of an embedded appliance that needed to autoupdate a few years ago.

The long term things I've love to add would be:

#1, Single config file for everything (probably xml), so you could backup and restore configs
#2, Reflashing through the web interface
#3, Persistent settings through updates (really requires the web interface to be viable).

Sounds all very promising. All update methods I described preserve (or let you preserve) configs.
1556  Alternate cryptocurrencies / Mining (Altcoins) / Re: Custom Innosilicon A2 Terminator image - Anx Edition on: September 06, 2015, 11:38:49 AM
A few questions and wishes though:
  • With emdje's fw I was able to set the speed of each blade separately, this would be a nice option as my 88 wants to run one of six blades at a lower speed for best performance
  • Are you considering to put the 2 cdmrrd directories on a tmpfs to have less write on the SD card (I like the graphs, but I fear they could wear out the SD card quite quickly)?
  • How about taking the primary configured pool as ping target ?
  • A secondary pool config to switch to would be nice but it's not that big deal

I can add to the TODO list to allow individual blade setting as well - I'll probably make it an option, so you can set them all the same, or choose them individually if you're so inclined.  Just for my own reference, how were you determining you should run a blade at a lower clock rate?  What happened at higher ones?

Thank you for your feedback. The mentioned 88 has one blade that gives upto 3-5% errors when run at 1200MHz, when I change this one blade to 1000MHz, I feel like I get overall better results from this specific miner. Otherwise its a nice feature to check how a specific blade behaves at a specific speed but admittedly except the above 88 all my other miners run at the same speed on all their blades.

A good suggestion on cgmrrd, what I'll do on the next one is make that tmpfs, and then make sure that as part of the bootup process it regenerates things, so there aren't a bunch of broken links.  I don't mind the broken links as much on the first install, but would like it cleaner once up.

Great, having a stable and solid fs is important to me as my miners are getting switched on/off automatically. So there are days with 2-3 on/off transitions and having a lot of possible writes to the SD card ongoing makes me fear I am going to replace the first SD cards soon.
I would propose to have a picture with the images shipped which is just blank and has a text saying, "please wait a few minutes for statistics to be generated". This could be in place when the firmware first starts so you do not have broken links (i.e. if the graphs do not exist, copy the empty image there at boot).
For running I would propose to save the rrd databases regulary on the SD card somewhere, say every 1h. That is not perfect as it still gets the SD card some writes, but it reduces them a lot. If you i.e. tar.gz all rrd databases that should take minimal space and reduce writes even more. On boot, just check if the backup is existing and populate the tmpfs with the backup files.
I would even rotate those snapshots (having 2 of them, latest and latest+1) so that in case the switchoff happens when the tar.gz is built you have a working archive, so if unpacking the latest returns an error from tar, go for the latest+1.

On the pool as the ping target, the reason I didn't do that was a couple of the pools I tested were blocking ICMP, so no ping responses - so I figured Google was the next best thing, since they work hard to be as fast as possible, and would probably represent your base case Internet latency.  It might be worth it to have a 3rd one which is primary or maybe even all pools (different line for different ones) - that way you could see at what level an outage occurs, etc.

What do you mean "secondary pool config switch"?  Do you mean two different sets of 3 pool?

Exactly, and a selection to work on group 1 or 2. I was quite happy with that feature to quickly change where and what I mine without loosing all the primary pools and worker-logins (it's not much of a deal but I found it very comfortable).

Also I noticed the image is 8GB in size, but the partitions inside account only for about 2.8GB. May I propose to either grow the fs to use the remaining space and/or create an image that also fits on 2GB/4GB cards. (Actually I use it with all 3 sizes of cards)

I would be happy to help with all of the above ideas/wishes, just let me know what I can contribute.

Ah, that's legacy from the original InnoSilicon image I used - but I will look to resize it to 4GB, that way it will work fine for everyone, and be faster to flash.

Nice, I'd be happy to offer a howto on growing or shrinking the images (i.e. growing the 4GB image to an 8GB card or to shrink the 4GB for a 2GB card).
1557  Alternate cryptocurrencies / Mining (Altcoins) / Re: Gridseed chip 80 scrypt with cgmner or bfgminer 5.2 on: September 04, 2015, 01:55:34 PM
I think you will need jmordica's fork of cgminer from https://github.com/jmordica/cgminer-gc3355 .

Configure parameters are noted in the readme of the above link. Otherwise you just need to make sure you have all the requirements/dependencies installed to build it on your Pi.

HTH
1558  Alternate cryptocurrencies / Mining (Altcoins) / Re: Custom Innosilicon A2 Terminator image - Anx Edition on: September 03, 2015, 11:05:30 AM
Thank you for your continous great work, awesome firmware!

The temperature and hashrate graphs are an enormous help!
DHCP by default eases life a lot when setting them up or upgrading, the same goes for timezone setting.

A few questions and wishes though:
  • With emdje's fw I was able to set the speed of each blade separately, this would be a nice option as my 88 wants to run one of six blades at a lower speed for best performance
  • Are you considering to put the 2 cdmrrd directories on a tmpfs to have less write on the SD card (I like the graphs, but I fear they could wear out the SD card quite quickly)?
  • How about taking the primary configured pool as ping target ?
  • A secondary pool config to switch to would be nice but it's not that big deal

Also I noticed the image is 8GB in size, but the partitions inside account only for about 2.8GB. May I propose to either grow the fs to use the remaining space and/or create an image that also fits on 2GB/4GB cards. (Actually I use it with all 3 sizes of cards)

I would be happy to help with all of the above ideas/wishes, just let me know what I can contribute.

1559  Other / Beginners & Help / Re: Can i solo mine with a rented rig ? on: September 02, 2015, 09:30:57 AM
Please do not confuse cloud mining ponzis with miner rental services like miningrentals (never worked with them), betarigs or nicehash.

With all of the above miner rentals you choose where to point the hash to, unlike with cloud mining where you get some profit based on some shady calculations.
I am personally using betarigs and nicehash a lot and can say they are completely legit and honest in what they offer.

And you can solo mine with them either on your private pool or - which is probably a very bad idea - pointing them directly to the rpc of your coind.
1560  Other / Beginners & Help / Re: Is it possible to run a Bitcoin Node on a Webhost? on: September 01, 2015, 07:57:06 PM
I would say no. You would at least need shell access and the ISP's TOS should allow you to run other programs which most web hosts don't.

Better get a VPS if you want to run a full node.

HTH
Pages: « 1 ... 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 [78] 79 80 81 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!