This is a
completeincomplete1) guide on everything there is to know about the PogoPlug series 42) regarding its use as a Bitcoin “Full Node” as per the research by members of the #bitcoin-assets community; particularly asciilifeform.
The thing ships with SSH, but you'll need to turn it on.
Assuming you have a DHCP server, check the clients list for a device named “Pogoplug” and make note of the IP address.
An unmodified Pogoplug will start a web server when it is powered on. You can send it administrative commands in the form of http requests via curl:
curl -k "https://root:firstname.lastname@example.org/sqdiag/HBPlug?action=command&command=dropbear%20start";
If it works, the output will be a wall of html markup. If you don't have the correct IP address, you'll get an error message similar to the following:
curl: (7) Failed to connect to the.wrong.ip.addr port 80: No route to host
If curl returns a “connection refused” message, you may need to cycle the unit's power.3) You will know it is ready to accept this query when its activity light is solid green.
On your laptop/desktop, type the following into your favorite terminal:
When it prompts for a password, type the following string of characters:
The fastest4) way to try out your new kernels is to load them over the network via TFTP.
In order for the Pogo to boot a file over the network, you will need to host that file on another machine.
The path '/var/atftp' is the root directory the Pogo will look in for whichever file you tell it to boot; you can change this to suit your preferences.
emerge atftp rc-update add atftp default /etc/init.d/atftp start mkdir /var/atftp echo "TFTPD_ROOT=\"/var/atftp\"" > /etc/conf.d/atftp echo "TFTPD_OPTS=\"--daemon --user nobody --group nobody\"" >> /etc/conf.d/atftp
The Pogo needs to be told how and where to look for whatever file you would like it to boot over the network. The settings must be written to the devices flash memory with the 'setenv' utility which is a symlink to the 'printenv' utility. If executed with only one argument, it will output the value of the specified parameter.
Open up a terminal to your pogo via SSH, and execute the following commands:5)
fw_printenv "ipaddr='your.pogo.ip.addr'" fw_printenv "serverip='your.tftp.server.ip'" fw_printenv "boot_tftp='tftp 0x800000 yourfilename; bootm 0x800000'" fw_printenv "bootcmd='run boot_tftp'"