[[Bitcoin]]
 

Bitcoin

Bitcoin
founder: stick
depends on:
interested: nephirus
ruza
pasky
kiki
software license: -
hardware license: -
status: active

Our Bitcoin account addresses are:
1BRMLAB7nryYgFGrG8x9SYaokb8r2ZwAsX (hot wallet)
1BRMCWpKFe7bcJfYRgpBhBPgroBKEF6E35 (cold wallet)

Bitcoin seminars

We meet irregularly for Bitcoin Seminar

Next session

Do you want to organize some? Have some topics to present? Do You mine? Do you sell your stuff for Bitcoins? Do you trade? Tell us your story!

2011/06/11 23:07

Past sessions

#1 - 20.6.2011 20:00
#2 - 14.11.2011 20:00
  • future BTC use-cases
  • upcoming Bitcoin conference in Prague
#3 - 28.11.2011 20:00
  • special guest genjix
#4 - 2.4.2012 20:00
  • what interresting happened in last 6 months?
#5 - 28.1.2013 20:00
#6 - 11.4.2013 20:00
  • was a huge success according to number of visitors counted
  • Bitcoin Trezor progress
  • DDoSes on bitcoin services, MtGox fails and lags, ongoing price fall and many other topics
  • special guest: slush (actually he is regular visitor :))
2011/06/11 23:07

Resources

Mining

CPU khash/sec software
Intel(R) Pentium(R) D CPU 3.40GHz 2x 1337 jgarzik's cpuminer
Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz 4x 2500 jgarzik's cpuminer
AMD Athlon™ 64 X2 Dual Core Processor 4800+ @ 2.5GHz 2x 1168 jgarzik's cpuminer
Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz (HT on) 8x 1450 jgarzik's cpuminer
GPU khash/sec software
nVidia GT216 [GeForce GT220] (rev a2) 10550 DiabloMiner,
poclbm
nVidia Quadro FX 570M 5000 DiabloMiner
nVidia G84 [GeForce 8600 GT] 6300 poclbm
nVidia G92 [GeForce 8800 GT] (rev a2) 28000 poclbm
nVidia G94 [GeForce 9600 GT] (rev a1) 16000 DiabloMiner
nVidia GF104 [GeForce GTX 460] (rev a1) 48000 poclbm
nVidia GF108 [GeForce GT 430] (rev a1) 12000 poclbm
nVidia GF110 [GeForce GTX 580] 120000 DiabloMiner
ATI Technologies Inc Radeon HD 5830
(Cypress LE)
261000 phoenix+phatk
ATI Technologies Inc Radeon HD 5830
(Cypress LE)
271500 phoenix+phatk (900/900)
ATI Technologies Inc Radeon HD 5830
(Cypress LE)
278000 phoenix+phatk (900/300)
ATI Technologies Inc Radeon HD 5830
(Cypress LE)
318000 phoenix+phatk (1035/300)
ATI Technologies Inc Radeon HD 5870
(Cypress LE)
406000 phoenix+phatk (900/300)

Mining Notes

How to run?

./DiabloMiner-Linux.sh -u <user> -p <pass> -o api.bitcoin.cz -r 8332
./poclbm.py -d 0 -u <user> --pass=<pass> -o api.bitcoin.cz -p 8332
./minerd --userpass <user>:<pass> --url http://api.bitcoin.cz:8332
./phoenix.py -u http://<user>:<pass>@api.bitcoin.cz:8332/ -k phatk DEVICE=0 AGGRESSION=12 -v FASTLOOP=false WORKSIZE=128 BFI_INT VECTORS

ATI Overclocking

aticonfig --od-enable
aticonfig --odsc=900,900 # was 800,1000 by default
aticonfig --odcc 

Problem compiling jgarzik's cpuminer

Makefile.am: installing `./INSTALL'
configure.ac:96: error: possibly undefined macro: AC_MSG_ERROR
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.

libcurl.m4 is missing in your OS (i.e. apt-get install libcurl4-gnutls-dev)

Autorun phoenix after boot (Linux)

configure gdm autologin (you cannot use ~/.xinitrc and ~/.xsession) in your Window manager add to “Startup applications” “xterm -e screen -c /home/brm/.screenrc-phoenix”

~/.screenrc-phoenix

autodetach on
startup_message off

screen -t phoenix 0 bash /home/brm/BITCOIN/phoenix-1.4/miner.sh 

~/BITCOIN/phoenix-1.4/miner.sh

#!/bin/bash
. ~/.bashrc

export "DISPLAY=:0"
export LD_LIBRARY_PATH="/opt/AMD-APP-SDK-v2.4-lnx32/lib/x86/:$LD_LIBRARY_PATH"
ADRESAR="${HOME}/BITCOIN/phoenix-1.4/"

cd ${ADRESAR}

${ADRESAR}/phoenix.py -u http://brm@brmlab.cz_ati:zlatokopi@api.mining.cz:8332/ -k phatk DEVICE=0 VECTORS AGGRESSION=6 -v FASTLOOP WORKSIZE=128 BFI_INT

/etc/ld.so.conf.d/ati.conf (must be named *.conf)

/opt/AMD-APP-SDK-v2.4-lnx32/lib/x86/

run ldconfig

Memory underclocking for better performance, lower temperatures (Linux)

set 5830 to 900MHz core, 300MHz memory

Only GUI .deb tool for setting: http://sourceforge.net/projects/amdovdrvctrl/

generate own settings, save it. Mine: ~/a.ovdr

<?xml version="1.0" encoding="utf-8"?>
  <OVERDRIVE_PROFILE>
  <PERFORMANCE_LEVEL level="2" gpu="90000" mem="30000" voltage="1163"/>
  <PERFORMANCE_LEVEL level="1" gpu="60000" mem="30000" voltage="1063"/>
  <PERFORMANCE_LEVEL level="0" gpu="15700" mem="30000" voltage="950"/>
  <FAN_SETTING percentage="100"/>
  <FAN_CTRL enabled="no"/>
  <FAN_CTRL_CURVE type="0"/>
  <FAN_CTRL_POINT nr="0" temperature="2000" percentage="0"/>
  <FAN_CTRL_POINT nr="1" temperature="4000" percentage="2500"/>
  <FAN_CTRL_POINT nr="2" temperature="6000" percentage="5000"/>
  <FAN_CTRL_POINT nr="3" temperature="8000" percentage="7500"/>
  <FAN_CTRL_POINT nr="4" temperature="10000" percentage="10000"/>
  <MONITOR_SAMPLE_TIME interval="10"/>
  <COLOR_PROFILE enabled="no" longitude="-13.000000" latitude="52.000000" color_temp_day="0" color_temp_night="0" transition="30"/>
</OVERDRIVE_PROFILE>

How to use setting batch mode (three card rig): ~/minuj.sh

#!/bin/bash
AMDOverdriveCtrl -i 0 -b a.ovdr
sleep 1
AMDOverdriveCtrl -i 3 -b a.ovdr
sleep 1
AMDOverdriveCtrl -i 6 -b a.ovdr
sleep 1
cd /home/kiki/phoenix
export DISPLAY=:0.0; aticonfig --pplib-cmd "set fanspeed 0 100"
export DISPLAY=:0.1; aticonfig --pplib-cmd "set fanspeed 0 100"
export DISPLAY=:0.2; aticonfig --pplib-cmd "set fanspeed 0 100"
aticonfig --od-enable
#aticonfig --od-setclocks=300,900 --adapter=all
sleep 2
./phoenix.py -u http://name:password@api.bitcoin.cz:8332/ -k phatk DEVICE=1 BFI_INT VECTORS AGGRESSION=12 &
sleep 2
./phoenix.py -u http://name2:password2@api.bitcoin.cz:8332/ -k phatk DEVICE=2 BFI_INT VECTORS AGGRESSION=12 &
sleep 2
./phoenix.py -u http://name3:password3@api.bitcoin.cz:8332/ -k phatk DEVICE=3 BFI_INT VECTORS AGGRESSION=12 &

Verification

aticonfig --odgc --adapter=all
aticonfig --odgt --adapter=all

DANGER !

Bios modification to unlock high frequency.

prereq: dos boot disc,

atiflash http://www.techpowerup.com/downloads/1968/ATIFlash%203.86.html

radeon bios editor (rbe) http://www.techpowerup.com/downloads/Utilities/RBE/

tutorial http://www.techpowerup.com/downloads/Utilities/RBE/

example, not working on all, watch ^^^tutorial,:

tested: http://www.alza.cz/sapphire-hd-5830-xtreme-d237936.htm
boot to dos
card listing:
atiflash -i
acquire bios from first card:  
atiflash -s 0 bios0.rom 
on some windows machine (maybe under wine) run rbe,
load bios file, under "additional features" set upper limit GPU" (I set 1050)
save modified bios
go back to minning machine
atiflash -p 0 modbios.rom
then reboot to linux,
modify ^^^ a.ovdr, 
set <PERFORMANCE_LEVEL level="2" gpu="100000" mem="30000" voltage="1125"/> 

test for stability, watch for temperatures

my stable settings is gpu=103000, voltage 1163 (stock voltage)

MtGox YubiKey

YubiKey II is and USB device provided and used by MtGox as an OTP device to login into their webpage.

Using Yubikey on Linux

No driver needed. Plug-in your Yubikey.

  • short press (cca 0.5s) generates login OTP
  • long press (cca 3s) for withdrawal OTP
kernel: usb 5-2: new low speed USB device using uhci_hcd and address 4
kernel: input: Yubico Yubico Yubikey II as /devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input13
kernel: generic-usb 0003:1050:0010.0003: input,hidraw0: USB HID v1.11 Keyboard [Yubico Yubico Yubikey II] on usb-0000:00:1d.0-2/input0

YubiKey serial num

  • It is not an QR code. It is Data_Matrix in ASCII encoding containing 6digits number printed under. You can generate your own here.

One Time Password

fixed id AES encrypted OTP whole output string
6B or 48b fixed string 16B or 128b AES128 22B = 44 chars

http://jobo.files.wordpress.com/2011/07/yubikeys.pdf

 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki