bitcoin assets wiki

too honest for a shady logo

User Tools

Site Tools


pogo

Pogo

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.

Enable SSH on a stock Pogo

The thing ships with SSH, but you'll need to turn it on.

Discover the unit's IP address

Assuming you have a DHCP server, check the clients list for a device named “Pogoplug” and make note of the IP address.

Send it the magic curl request

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:ceadmin@your.pogo.ip.addr/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.

Connect from your workstation

On your laptop/desktop, type the following into your favorite terminal:

ssh root@your.pogo.ip.addr

When it prompts for a password, type the following string of characters:

ceadmin

Loading a kernel over network

The fastest4) way to try out your new kernels is to load them over the network via TFTP.

Create a TFTP server

In order for the Pogo to boot a file over the network, you will need to host that file on another machine.

Gentoo Linux Instructions

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

Configure the Pogo

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'"
1) work in progress
2) The thing is a loss leader; buy them while you can.
3) from the log:
trinque rebooted the pogo, light on the front went green, and the curl worked
danielpbarron lol
trinque might be good in the docs to say “make sure light's green, idiot”
4) from the log:
asciilifeform with tftp can go from changed netbsd kernel option, rebuild, run, in less than five seconds
5) “fw_printenv” isn't included on a stock Pogo; you'll need to copy it over somehow. Official instructions to come..
pogo.txt · Last modified: 2015/05/06 17:15 (external edit)