Time to update. It is still original Raspberry Pi only but I am starting to work on Raspi2 support.
I am all out of 2GB SD cards, so from now on images will be tailored to fit on 8GB cards.
ppcoind updated to latest git (master) version
openssh updated and compiled as PIE (position independed executable) and fixed bug #19
root user disabled (fixes bug #9)
sunny user forced to change the password upon first boot (fixes bug #9)
default password for sunny is now “sunny”
nud, NuBits daemon added to repository
v0.24 branch is now obsolete, please update your Peerbox.
To install and use nud daemon:
sudo pacman -S nud
To test the nud:
sudo systemctl start nud
To make nud start at boot time:
sudo systemctl enable nud
Nud is set up to act as a node, it is still not meant to be properly utilized (ie. minting/voting) and it is not integrated in Peerbox tools (peerbox-info). Default unit is shares (S), defined with -unit=S in /etc/conf.d/nud.conf
You can still use it as you please by giving it commands via RPC, it is just not tested.
Syncing Nu blockchain can take over 48h, especially if you run it in parallel with ppcoind. It is recommended to let ppcoind sync first before installing nud.
If I may offer a suggestion, can you take into account that not all cards have the exact number of blocks? I ran into an issue with a 2GB card of mine, where I was just a few blocks short of being able to write the ISO, which caused a bunch of issues. I am not sure if I am up to date on all the technical aspects of this and I admit the card I am talking about is a brand I don’t know much about (Dan-Elec) and it was rather old, so this may not be an issue anymore.
[quote=“fishb0ne, post:2, topic:3524”]Awesome stuff!
If I may offer a suggestion, can you take into account that not all cards have the exact number of blocks? I ran into an issue with a 2GB card of mine, where I was just a few blocks short of being able to write the ISO, which caused a bunch of issues. I am not sure if I am up to date on all the technical aspects of this and I admit the card I am talking about is a brand I don’t know much about (Dan-Elec) and it was rather old, so this may not be an issue anymore.[/quote]
Yes, I am aware of that. And that is also part of the reason I’ve now made 8GB img default but shrinked to 7.8GB.
As SD cards wear out, they report less blocks. So your card is “loosing” blocks as it gets old.
Thank you for your support, and please if you can test the new images and report any problems
So is it possible to still use a 2GB card with RC2? I downloaded RC2 from peerbox.me yesterday and it seems to boot just fine; however ppcoind is not starting automatically. Before I spend a lot of time troubleshooting, should I just stop and get 8GB card?
Strange… I downloaded an image labeled “Peerbox-raspi-v0.25-RC2” directly from the peerbox.me website on 5/25 after this thread was started but before the links were posted here. The image I got then was only 2 GB. Now I see that the links here lead to an 8 GB image with the exact same file name.
…the first clue that something was wrong should have been when I had to rely on my own rudimentary hacking skills to guess the new “sunny” password.
After that, I got pretty frustrated that ppcoind wasn’t starting so I set it aside for awhile…
Final lesson: don’t be impatient and don’t run software from the Internet without a hash verification!
[quote=“mhps, post:8, topic:3524”]I tried nud. I put a nu.conf in ~/.nu with 600 permission. when I run
nud get info
error: incorrect rpcuser or rpcpassword (authorization failed)
am I supposed to tell the rpcuser/pwd to the daemon ? if yes, where? I see ppcoind doesn’t have it in /etc/conf.d/ppcoind.conf ?
Nud user/pass are set to default and should not be changed. However, the configuration resides in: /etc/conf.d/nud.conf and /etc/nu/nu.conf depending on what exactly you need to change.
It is same for ppcoind.