Post
Topic
Board Hardware
Re: ASICMiner Tube Sales Information Thread [Round1 Ends, Round2 Starting Soon]
by
friedcat
on 27/08/2014, 04:23:51 UTC
How to run on pools other than ghash.io and btcguild with Raspberry PI and bfgminer

    1.Modify /etc/apt/sources.list on your Raspberry PI

    deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main non-free contrib
    deb-src http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main non-free contrib

    2.Update the aptitude package on your Raspberry PI

    sudo apt-get update

    3.Download bfgminer

    wget http://luke.dashjr.org/programs/bitcoin/files/bfgminer/4.7.0/bfgminer-4.7.0.zip

    4.Uncompress

    unzip bfgminer-4.7.0.zip

    5.Install dependencies

    sudo apt-get install autoconf libtool libncurses-dev yasm curl libcurl4-openssl-dev libjansson-dev pkg-config libudev-dev uthash-dev libusb-dev libevent-dev

    6.Enter bfgminer directory

    cd bfgminer-4.7.0

    7.Run configuration

    ./configure

    8.Compile bfgminer

    make

    9.Run bfgminer

    ./bfgminer  -o stratum+tcp://stratum.f2pool.com:3333 -u -p 123 --stratum-port --set-device PXY:diff=

    10.Set static IP for Raspberry PI(modifying /etc/network/interfaces)
    Take the IP address 192.168.0.100 as an example. Replace iface eth0 inet dhcp as:

    iface eth0 inet static
    address 192.168.0.100
    netmask 255.255.255.0
    gateway 192.168.0.1    

    netmask and gateway are decided by your Raspberry PI's local network settings.

    11.Configure ethernet controllers

    Same example as above. Modify the pool address on ethernet controller to 192.168.0.100 with port 3333.