Skip to content

Instantly share code, notes, and snippets.

@richardkiss
Created June 25, 2013 18:42
Show Gist options
  • Save richardkiss/5861120 to your computer and use it in GitHub Desktop.
Save richardkiss/5861120 to your computer and use it in GitHub Desktop.
PROCESS
- install Raspian
- expand filesystem
- get on wifi
(zfec dependencies)
$ sudo apt-get install python-dev
$ curl http://python-distribute.org/distribute_setup.py | sudo python
(get zfec working)
$ git clone git://github.com/richardkiss/py-zfec.git
$ cd py-zfec
$ python setup.py build
$ sudo python setup.py install
(electrum)
from http://electrum.org/download.html
$ sudo apt-get install python-pip python-qt4 pyqt4-dev-tools
$ sudo pip install ecdsa slowaes
$ git clone git://github.com/spesmilo/electrum.git
$ pyrcc4 icons.qrc -o gui/icons_rc.py
$ python mki18n.py
(failed)
$ sudo python setup.py install
(Chromium)
$ sudo apt-get install chromium-browser
(uuencode)
$ sudo apt-get install sharutils
(printer) http://www.penguintutor.com/linux/printing-cups
$ sudo apt-get install cups
$ sudo usermod -a -G lpadmin pi
$ sudo getweb 1020
ssh -L9999:localhost:631 [email protected]
http://localhost:631/ and "manage printers"
(wodim)
$ sudo apt-get install wodim
- go offline
- create gpg key
$ gpg --gen-key
- create electrum offline wallet
- burn keys to CD with wodim
RESTORE
-------
$ sudo apt-get install python-dev python-pip python-qt4 pyqt4-dev-tools chromium-browser sharutils cups wodim
(get zfec working)
$ git clone git://github.com/richardkiss/py-zfec.git
$ cd py-zfec
$ python setup.py build
$ sudo python setup.py install
(electrum)
$ sudo pip install ecdsa slowaes
$ git clone git://github.com/spesmilo/electrum.git
$ pyrcc4 icons.qrc -o gui/icons_rc.py
$ python mki18n.py
(failed)
$ sudo python setup.py install
(printing)
$ sudo usermod -a -G lpadmin pi
$ sudo getweb 1020
ssh -L9999:localhost:631 [email protected]
http://localhost:9999/ and "manage printers", "add printer", "make default"
go offline
copy files from CD-ROM to /tmp/cd
$ gpg --import < /tmp/cd/sec*gpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment