Tuesday, April 23, 2013

Changing DNS in Ubuntu >= 12.04

sudo sublime-text /etc/dhcp/dhclient.conf
prepend domain-name-servers 8.8.8.8, 8.8.4.4;
sudo resolvconf -u

Wednesday, April 17, 2013

Friday, April 12, 2013

bitcoin - pool management - cgminer or bfgminer

To ADD a Pool
After the miner has started
1. Press P to access pool management
-- press A to add a pool
-- enter URL of the pool (press Enter)
-- enter "worker" name or username at your pool (press Enter)
-- enter password for that worker (press Enter)
2. Press S to access Settings to save your config file
-- press W to write the file
-- press Enter for bfgminer.conf or choose another file name


To REMOVE a Pool
After the miner has started
1. Press P to access pool management
-- press R to remove a pool from the list above
-- enter the # of the pool you want to remove (again, see list above, it should start with 0: Enabled GBT ...)
2. Press S to access Settings to save your config file
-- press W to write the file
-- press Enter for bfgminer.conf or choose another file name

How to get the IP address of the docker host from inside a docker container

/sbin/ip route|awk '/default/ { print $3 }'