Bitcoin Forum
July 09, 2024, 06:01:20 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 [4]
61  Bitcoin / Hardware / Re: The last Batch of AntMiner S2 1TH/s Miner, Now $1700 per unit on: July 09, 2014, 04:18:25 PM
I have several S2's however anytime I have a power outage, or I need to move one I have to reset them up.

Any Ideas about what I am missing?

Jerry

Hi Jerry,

    I wrote a shell script that will repackage the firmware files from bitmaintech. It makes a unique file for each miner (Name, IP, and Pools), and all you have to do is "upgrade" each file to the correct miner. I can send you this if you'd like to try it?
62  Bitcoin / Hardware / Re: [Guide] Dogie's Comprehensive Bitmain AntMiner S2 Setup [HD] on: July 03, 2014, 06:30:16 PM
Hi folks,

    I only have two antminer S2, but sure enough, one was fixed with the June 19th update, and the other still does not hold it's configuration changes... until now.  Wink I like Linux; because I can make it do whatever I need it to do. In this case, I wanted the same things that you do, to keep it's configurations after a reboot.

    My fix is a shell script that unpacks the bitmaintech provided initramfs (firmware) tar files, changes the network settings to be unique for each S2, and inserts my custom pool settings. It's not perfect. It's not even elegant, but it does work.

    Just put the pub_bminit.sh script on a Linux server, and change the permissions for it to be executable. Adjust the pieces highlighted with red. Just tell it where the initramfs tar file is located, like this:

./pub_bminit.sh /home/username/Downloads/initramfs.bin.SD-20140619.tar
___
#! /bin/bash

export PATH="/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin"

if
  [ -n "${1}" ]
then

  if
    [ -f "${1}" ]
  then
    export SD_VER=`basename ${1} | awk -F\- '{print $2}' | awk -F\. '{print $1}'`
    mkdir -m 0755 -p "/tmp/${SD_VER}/modified/fs"
    cp "${1}" "/tmp/${SD_VER}/.ORIG`basename ${1}`"
    cd "/tmp/${SD_VER}/"


    #--> unpack the initramfs (firmware) file
    tar xfz ".ORIG`basename ${1}`"
    dd if=initramfs.bin.SD of=initramfs.cpio.gz bs=64 skip=1
    gunzip initramfs.cpio.gz
    cd modified/fs
    cpio -vidF ../../initramfs.cpio

    #--> add a number for each miner for the loop
    for i in 1 2
    do                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                             
      #--> double-check the current directory                                                                                                                                                                                               
      if                                                                                                                                                                                                                                     
        [ `pwd` != "/tmp/${SD_VER}/modified/fs" ]                                                                                                                                                                                           
      then                                                                                                                                                                                                                                   
        cd "/tmp/${SD_VER}/modified/fs"                                                                                                                                                                                                     
      fi                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                             
      #--> insert your custom pool info                                                                                                                                                                                                     
      cat > ./etc/cgminer.conf.factory << EOF                                                                                                                                                                                               
{                                                                                                                                                                                                                                           
  "pools": [                                                                                                                                                                                                                                 
    {                                                                                                                                                                                                                                       
      "url": "stratum+tcp://stratum.yourpool1.com:3333",                                                                                                                                                                                     
      "user": "yourusername_10${i}",                                                                                                                                                                                                         
      "pass": "yourpassword" 
                                                                                                                                                                                                               
    },                                                                                                                                                                                                                                       
    {                                                                                                                                                                                                                                       
      "url": "stratum+tcp://stratum.yourpool2.com:3333",                                                                                                                                                                                     
      "user": "yourusername_10${i}",                                                                                                                                                                                                         
      "pass": "yourpassword" 
                                                                                                                                                                                                               
    },                                                                                                                                                                                                                                       
    {                                                                                                                                                                                                                                       
      "url": "stratum+tcp://stratum.yourpool3.com:3333",                                                                                                                                                                                     
      "user": "yourusername_10${i}",
      "pass": "yourpassword"

    }
  ],
  "api-listen": true,
  "api-network": true,
  "api-allow": "W:0/0",
  "bitmainbeeper" : true,
  "bitmaintempoverctrl" : true
}
EOF

      #--> insert your custom network info
      cat > ./etc/network.conf.factory << EOF
hostname=antminer10${i}
ipaddress=10.0.0.10${i}
netmask=255.255.255.0
gateway=10.0.0.1
dnsservers="8.8.8.8"

EOF

      #--> rebuild the initramfs (firmware) file
      find . | cpio -H newc -o > ../initramfs.cpio
      cd "/tmp/${SD_VER}/modified"
      gzip initramfs.cpio
      mkimage -n 'Angstrom-bitmainer-eglibc-ipk-v2' -A arm -O linux -T ramdisk -C gzip -d initramfs.cpio.gz initramfs.bin.SD
      tar cfz "../initramfs.bin.SD-${SD_VER}.tar" initramfs.bin.SD
      mkdir -m 0755 -p /opt/firmware/${SD_VER}/10${i}
      mv "../initramfs.bin.SD-${SD_VER}.tar" /opt/firmware/${SD_VER}/10${i}/

    done
    #--> end of the loop

  fi

fi
___
63  Bitcoin / Hardware / Re: [0.1 BTC bounty] A1 BTC Miner - need Software on: June 27, 2014, 05:45:03 PM
    Try this one:

        http://www.lketc.com/endown.aspx

    If this helps, feel free to send the bounty to here:

        1DF9GXVbnrJF8SFMC7rSKTwA5TeK6qHru7
64  Bitcoin / Pools / Re: [1450 TH] BitMinter.com [1% PPLNS,Pays TxFees +MergedMining,Stratum,GBT,vardiff] on: June 26, 2014, 12:28:26 PM
Happy Birthday, BitMinter!!!
65  Bitcoin / Pools / Re: [1450 TH] BitMinter.com [1% PPLNS,Pays TxFees +MergedMining,Stratum,GBT,vardiff] on: June 25, 2014, 11:26:18 PM
Hi,

    I agree. I think we need more outages like that!!!  Wink

    Way to go. Congratulations on the block!!! Today has made up for the past few days.  Grin
66  Bitcoin / Pools / Re: [1450 TH] BitMinter.com [1% PPLNS,Pays TxFees +MergedMining,Stratum,GBT,vardiff] on: June 23, 2014, 12:46:16 AM
Hi,

    Google is a great DNS provider. 8.8.8.8, and 8.8.4.4 are the two IPs that I am familiar with for Google's DNS servers.
67  Bitcoin / Pools / Re: [ANN] Central Cavern P2Pool Node Launched! on: June 19, 2014, 08:35:16 PM
Hi all,

    Thanks for the assistance with the difficulty settings. The tips were very helpful, and gave me some ideas on what else to look for.

    This http://forum.netcodepool.org/forum/showthread.php?tid=238 kind of went along with one suggestion, and sure enough the numbers have improved, including reducing the rejects.
68  Bitcoin / Pools / Re: [ANN] Central Cavern P2Pool Node Launched! on: June 19, 2014, 05:42:02 PM
Hi,

    Thanks for the quick response. I've only been messing with bitcoin mining for a few weeks now; so please excuse my ignorance. I had thought that it is the "difficulty" setting from the pool that is regulating how hard my miners are working. There have been some very brief peaks in the 1TH/s range for each miner, but they keep throttling down to the 800+ to 900+ GH/s range, underperforming by about 300 GH/s combined.

    This underperformance could impact my potential payout by about 10%, right? I have to admit that it's nice that they are running quite a bit cooler when I use your pool.  Grin However, I would like to get them back up to 1TH/s each. Any ideas?
69  Bitcoin / Pools / Re: [ANN] Central Cavern P2Pool Node Launched! on: June 19, 2014, 05:08:35 PM
Hi,

    Your pool sounds like just what I've been looking for, but it seems like my miners are hitting a ceiling of a "difficulty" of 999.98. I am used to seeing that as more of a dynamic value. Is that hard-coded on your pool?
70  Bitcoin / Hardware / Re: Building a custom KncMiner Firmware on: June 17, 2014, 09:52:48 PM
Hi,

    I've only just started mining; so I'm not really in a position to tip you.  Wink However, I wanted to thank you for your terrific walk-through. I had two brand new Bitmain Antminer S2 arrive yesterday, and was very frustrated that any changes to network and pool configurations would not persist through a reboot... or worse yet, a power outage.

    I was able to apply what you had written to making customized firmware loads for each S2. Now they will remember who they are, and what they are supposed to be doing.  Grin

    Thanks again!!!
Pages: « 1 2 3 [4]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!