[ANN] Peerbox project

Cool, nice to hear that.

Can you write up that process from noobs perspective? I guess some people wonder about the same thing.
Thanks.[/quote]

Sure. Will have to wait until tomorrow, just got invited to golf. 45degF, raining, 30mph winds. But we’re tough…

Importing Private Key into Peerbox

This is an alternative to copying wallet.dat from your PC running Peerunity (or qt) to the Peerbox. Why? Maybe you don’t have a USB memory stick, or perhaps you are having difficulties with the copy proceedure.

Note that there is a bit of a security risk, as you are exposing your private key and it’s possible some sort of malware on your PC might pick it up. I’m using the ‘clipboard’ to copy/paste the key. Run a quick virus scan?

Anyway, here we go:

  1. Open Peerunity Console:
    From the menu bar: Help > Debug > Console

  2. Unlock wallet:
    Type: walletpassphrase “phrase” 600
    You might need quotes around your passphrase if it contains spaces or special characters. 600 is the number of seconds to leave the wallet unlocked. 10 minutes should be more than adequate.

  3. Close Console window - it wants to stay on top and just gets in the way.

  4. Click “Receive” tab to find your PPC address.

  5. Right click on address you want to use and select “Copy Address”

  6. Reopen Console and type:
    dumpprivkey

  7. Either copy private key and paste it temporarily somewhere, like in Notepad or leave in console window
    If you have pasted it somewhere, at this point it doesn’t hurt to click the minus sign in Console to erase window contents and close Console window.

  8. Open Secure Shell and log in to Peerbox

  9. Type: ppcoind importprivkey
    Note: It seems that neither right-click nor Shift-Insert work when using Secure Shell in Windows. Use Ctrl-Shift-V instead.

    It will take a while. When processed, check with peerbox-info to see if coins are there.

Now you can run the “mintbox” command, sit back, and let the riches flow in.

Peerbox has been running for 9 hours and it still hasn’t caught up. Is that normal? How long does it usually take?

The op mentions that the image is optimized for 2GB cards. It seems not all 2GB cards are created equal. Mine was a few KB short of being able to accomodate the ISO, so I just used an 8GB card I had laying around.

I have a Mac. Is there a way I can shrink the peerbox.me ISO? Is it possible to do by maybe half a MB so I can make it fit on the 2GB card I have?

Regarding your first question: It depends on several things like your connection, your node luck and sd card i/o speed.

I would say that everything under 3 days is normal.

The rest: @peerchemist ?

I’m patient, I just wanted to be sure it wasn’t an issue

As willy said, under 3 days it is normal. What can happen is that your SD card is nearing the end of life and sometimes blocks become corrupted and than ppcoind will re-download them.

It’s done! I’ve tested the card before using it and there’s no bad blocks. All is well.

What’s the best way to go about keeping peerbox up to date? What command to run?

None.

Peerbox is not designed to be updated. Future versions will be though.

Hi all!

I need help. I have bought a brand new Raspberry Pi 2 (the one with 1 GB memory) to run Peerbox, but it’s not working.
Now I am not sure if I have done something wrong or if the Raspi was already broken on delivery.

I have copied the Peerbox-image on a microSD card (with 32 GB) as described in peerchemist’s guide, then connected my Raspi to the router. But, the LAN-LEDs on both the router and on the Raspi are off, so there the line seems to be dead. When I log into the router, the Raspi is not shown in the connections.

When I connect the Raspi to a monitor, I only get a coloured screen:

If I could at least find out if the Raspberry Pi 2 is broken or not. I know that a Raspberry Pi 1 and a smaller SD card would be sufficient for Peercoin, but I want to use it also for other coins later.

That is your undervoltage warning. Your power supply isn’t giving the Pi enough power. Stop using it immediately to prevent any damage. What power supply are you using? I had the same problem on mine and I fixed it using this micro USB cable and power brick. https://www.amazon.com/dp/B003L18S0E/ref=cm_sw_r_awd_SFKsvb1MBJTNX and http://www.amazon.com/dp/B00FCM7YIW/ref=cm_sw_r_udp_awd_xGKsvb00SHJKF

[quote=“Ötzi, post:210, topic:2485”]Hi all!

I need help. I have bought a brand new Raspberry Pi 2 (the one with 1 GB memory) to run Peerbox, but it’s not working.
Now I am not sure if I have done something wrong or if the Raspi was already broken on delivery.

I have copied the Peerbox-image on a microSD card (with 32 GB) as described in peerchemist’s guide, then connected my Raspi to the router. But, the LAN-LEDs on both the router and on the Raspi are off, so there the line seems to be dead. When I log into the router, the Raspi is not shown in the connections.

When I connect the Raspi to a monitor, I only get a coloured screen:

If I could at least find out if the Raspberry Pi 2 is broken or not. I know that a Raspberry Pi 1 and a smaller SD card would be sufficient for Peercoin, but I want to use it also for other coins later.[/quote]

Hi,

Peerbox is not made to work with Raspberry Pi 2.

I have not got a chance to test it with Raspberry Pi 2 and can not comment on whether it will work or not.

Hi peerchemist & fishb0ne,

thanks for your help! I have got many options and things to try now. It will take a while, because I have got a high workload.
Once I got it up and running, I will be back and posting here how I got the problems solved.

Fishb0ne, I used this charger and cable:
https://www.alternate.de/Netzteil-für-Raspberry-Pi-B±Pi-2-2A/html/product/1199457?tk=7&lk=8508

Hi peerchemist,

Would you like the community to buy you one so you can build a compatible Peerbox version for it?

I would definitely donate. I could even purchase it

Peerchemist,

I could send you mine. Lets keep things easy.
Just send my your post address by PM or Bitmessage if you like. I am in Germany.
If it is broken, you should then send it back to me so that I can claim the warranty.

BM-2cUiFnkv3CwtTtUP76a52jCkSzjzKYWtTg

hey hey :slight_smile:

Do not worry, I already have one (raspberry pi 2).

It is just that I am very limited with my free time to do some work on it. My raspi 2 has only been plugged into socket once :frowning:

There is more complications, it is more that simple recompile, the whole way of booting OS changed in the meantime for Raspi 2 and Raspi one.
Peerbox is just not compatible with new iterations of the base OS, so I have to invest some time into this before continuing. With my schedule and other projects, it just fell into second tier. For now.

Does Peerbox keep any sort of comprehensive log? Wanting to see about the ability to log traffic data like vnstat does, and number of connections. It would be nice for nodes to report these for data gathering.

Unfortunately I have had to take my secondary node offline, the one running Peerbox. I don’t have physical access to it more often than once a week and every time there is a power outage/flicker, something goes wrong with Peerbox. This is the 3rd time I have had to wipe it and re-image from the original ISO. I’m not sure what’s happening but last time power went out for a second, ppcoind would not run and it game a strange error that it was out of space, which is impossible since I am using an 8GB card.
Peerbox hasn’t been very resilient for me :frowning:

[quote=“fishb0ne, post:219, topic:2485”]Unfortunately I have had to take my secondary node offline, the one running Peerbox. I don’t have physical access to it more often than once a week and every time there is a power outage/flicker, something goes wrong with Peerbox. This is the 3rd time I have had to wipe it and re-image from the original ISO. I’m not sure what’s happening but last time power went out for a second, ppcoind would not run and it game a strange error that it was out of space, which is impossible since I am using an 8GB card.
Peerbox hasn’t been very resilient for me :([/quote]

Sorry to hear that. However I can not do anything about it without any details.
Which version? What is the error exactly?