I received my hardware to set-up a node (got the exact pieces listed above in this thread). Is there any doc ready to help newbies to set things up? Thanks!
The installation steps should be accurate still tweaking on configuration and terminology. Please do share any issue your run into along the way here!
This is great! I received my hardware yesterday and I wasn’t sure either on how to set up this device!
I’ll configure it this weekend and share the experience!
I started setting up my NanoPC and documenting the process here: https://notes.status.im/A0VSe1h2SD2ED_95Zy6AEA
Using Armbian server as the OS, so far I’ve found the installation to be easy but not the most user friendly process due to requiring doing some manual configuration to have the drive formatted, creating a partition and mounting it, as well as configuring swap, networking among other things… Probably using the desktop version would make things easier but it does not seem right to install a desktop environment for such device. Is Armbian going to be the recommended OS for the NanoPCs?
I’ve also found this: https://github.com/diglos/userpatches which looks like it generates an image with ethereum software but not sure if we can use this. (I will continue to setup mine manually).
I need to redo mine as I need a tracing node for some work I’m doing… i’ll try out these other images to see if they’re useful in that process.
hmm … this is probably a pretty basic question, but how do you connect the SSD drive to the board (I got the parts listed above) ?
Staying tuned for the answer as I received my kit last week. @petty any guidance?
In the bottom of the nanopc there is a slot for the drive.
It needs a M3 screw too (I had to find one lying around my office)
Added more steps in my log on how I installed Status in the NanoPC by using the guide shared by @hester, following the systemd installation method.
- I had to install the
arm64version of Go (makes sense considering the type of device used). I initially attempted to install the
amd64version of Go because that’s what I use on my laptop, and that did not work
- The installation of status-go failed initially because the
envsubstcommand was not available. I had to execute
apt install gettext-basein order to get this command. (I think this command should be added to the status-go install guide or at least have the required packages listed)
It would be nice if during the installation of status-go the enode address was outputted to a file somewhere instead of having to copy it manually.
- I had to use a different service name to check if the node was running:
status-go is running successfully in the NanoPC!
next steps, configuring
geth and improving the security of the nanopc
I read here status-go/README.md at develop · status-im/status-go · GitHub that we could execute
make enode to obtain the enode address.
Quick note of apology: The device recommended in the WIP manual doc comes with a NEMA powerplug (North/Central America). Please check to order a device that comes with a power plug that works in your region.
My NanoPC is not showing anything on the monitor. At first I thought it was something to do with the resolution of my somewhat obscure touch monitor, then the power plug because I was using the powerplug of my NUC which I thought should have the same output (It doesn’t, it’s more powerful ).
Now I’m using a run of the mill monitor and and the original US plug with an adapter, but still no luck. Did I break the NanoPC?
When I connect it to power and switch it on I hear the faintest regular tick. As though it’s on, but it’s not connecting to the monitor. (Used different HDMI cables).
Any words of advice?
I had a similar issue when I had started playing with the nanopc and in my case it was due to using an older HDMI cable… maybe that’s what is happening with yours?
… How much more powerful was the output of the powerplug you used? if the difference is in amperage, it shouldnt matter, however voltage should be 12V. (I could not find a datasheet online to see if the nanopc has an onboard step-down voltage regulator).
Higher in voltage , 19V. I’ll try another HDMI cable as well. Cable works with other devices though.
What I can tell is that I ordered the exact pieces listed above, and confirms that straight out of the box when I boot it and it’s connected through HDMI to a monitor, I do get a functional android OS with its display on the screen. I had nothing specific to set-up to get that.
Definitely seems broken in that case… I’ll give it another try over the weekend.
New Nano PC, new opportunity. So far so good, @rramos your manual on how to set up the Nano PC has been incredibly helpful!
Had an issue with navigating the the status-go source code, but it seems fine typing the whole path manually instead of using $HOME.
I’m think I’m stuck at
#Download Bootnode code and navigate to the folder
go get -v github.com/status-im/status-go
The result I get is
Can't load package: package github.com/status-im/status-go: no Go files in root/go/src/github.com/status-im/status-go
Any advice? When I check
dir /root/go/src/github.com I can find
/status-im/status-go and in the files
Here are the other steps leading up to the ‘Can’t load package’ message:
[email protected]:~# mkdir ~/go mkdir:cannot create directory '/root/go': File exists
echo "export GOPATH=\$HOME/go" >> .profile echo "export PATH=\$PATH:/usr/local/go/bin:\$GOPATH/bin" >> .profile source ~/.profile
sudo apt install -y jq gettext-base make curl git jq Reading package lists... Done make is already the newest version (4.1-9.1ubuntu1). jq is already the newest version (1.5+dfsg-2). curl is already the newest version (7.58.0-2ubuntu3.8). gettext-base is already the newest version (0.18.8.1-6ubuntu0.3). git is already the newest version (1:2.17.1-1ubuntu0.5). 0 upgraded, 0 newly installed, 0 to remove and 110 not upgraded
go get -v github.com/status-im/status-go Can't load package: package github.com/status-im/status-go: no Go files in root/go/src/github.com/status-im/status-go
I got lost at the last mile of connecting Status to the node. Status is giving a message ‘can’t connect to mailserver’ and I suspect it has to do with the password I have to include in the Enode field. @jakubgs @rramos should I have set this somewhere and can you explain me how I do that? At the moment I only set a password for the OS, but not for the node.
All seems well on the NanoPC. I have an enode and when I check the
make status I get
I added the enode address to Status > Profile > Sync Settings > Mailserver settings. I included the OS password as it’s the only thing I have set, and the field validation requires the enode format to include a password. This is where unfortunately I get the message “Can’t connect to mailserver”.
My phone and Nano PC are on the same WiFi network. And the node seems to be getting a static IP address, at least within the network; It prints the same IP address when I ask for the enode repeatedly.
I actually made a PR to include the mailserver password in the enode address here:
It was merged 5 days ago, not sure what version of
status-go you are on but make sure you are on newest
develop. And you can get a QR code using:
cd _assets/systemd/mailserver make enode-qr
_assets/compose/mailserver if you are running via Docker.
That must be it! The version of status-go I have is from about 2 weeks ago. Will try with the latest.
Here is the final version of the manual to set up a node. I’m sure it will evolve, especially once we have a more uniform language around node configurations. In the mean time, anyone wanting to set up their own ‘Mailserver’ to send and receive messages can find guidance in the manual and right here on Discuss.