-
Infinity8
Has anyone successfully run a Bitcoin and Monero node on a Raspberry Pi?
-
Infinity8
Well just found out why Monero runs so slow on my computer
-
Infinity8
My CPU doesn't even support AES
-
d4ndo[m]
What CPU are you running?
-
d4ndo[m]
AMD opteron?
-
d4ndo[m]
The Opteron series are pretty good cpu's even though they are 10 years old.
-
d4ndo[m]
But no AES support
-
Infinity8
d4ndo[m]: Q9550
-
d4ndo[m]
Yeah. 45nm. From 2008
-
d4ndo[m]
Old cpu.
-
Infinity8
Thinking about getting a Rock64 or RockPro64
-
Infinity8
Not sure which one to get
-
Infinity8
comments, suggestions?
-
Infinity8
Running a Bitcoin and monero node with a pi-hole as well
-
d4ndo[m]
Do you use the Rock64 for day to day work?
-
Infinity8
nah, it's a dedicated node
-
Infinity8
planning on doing NAS as well
-
d4ndo[m]
ok
-
Infinity8
but i'm not sure if the RAM will hold up
-
Infinity8
might just buy another one once I'm finished with the nodes + pi-hole project
-
Infinity8
just for a dedicated NAS
-
d4ndo[m]
A bitcoin and Monero node on the same device could be a problem.
-
d4ndo[m]
ram wise
-
d4ndo[m]
Can you boot from SSD ?
-
d4ndo[m]
I would also trun off swaping on SSD.
-
d4ndo[m]
Shortens the life span of the SSD.
-
Infinity8
d4ndo[m]: I'm on a hard drive atm
-
Infinity8
It's only taking about 2-2.5GB of RAM that's with the pi-hole
-
Infinity8
so 4GB should be sufficient as that's what I have in my node atm
-
Infinity8
It's just drinking a juicy 90W from the wall is my issue
-
d4ndo[m]
That is a lot.
-
d4ndo[m]
It is recommended to run a Monero node on an SSD. I couldn't even explain you why.
-
d4ndo[m]
But it runs much slower on a hard drive for reasons.
-
d4ndo[m]
You have that on USB3 port on the Rock64, could be usefull for an SSD.
-
d4ndo[m]
+e
-
d4ndo[m]
s/on/one/
-
d4ndo[m]
You could boot from eMMC and mount the home dircetory on the SSD.
-
d4ndo[m]
Then use the USB2 ports for hard drves (NAS)
-
Infinity8
d4ndo[m]: Still trying to decide what size SSD to get
-
Infinity8
Or to just put my Bitcoin node on a HDD and XMR node on SSD
-
Infinity8
in which a 250GB should be sufficient if I were to split it
-
d4ndo[m]
I think the monero blockchain size is about 80 to 90GB at the moment.
-
Infinity8
d4ndo[m]: It is
-
frogar
anyone here got testnet litecoin?
-
frogar
can't find any working faucet
-
d4ndo[m]
Infinity8: If you only use Linux, macOS orBSD - i recommend
borgbackup.org for Backups on your NAS. All you need is ssh and borg.
-
d4ndo[m]
-
d4ndo[m]
^- Quickstart
-
Infinity8
frogar: Just mine it
-
Infinity8
d4ndo[m]: So you think Rock64 or RockPro64 would be good in my case?
-
d4ndo[m]
I would use the rock64 as Backup or NAS and rent a vps for a monero node. You need to keep in mind the monero node also shares the blockchain on your upload.
-
d4ndo[m]
A vps also has access from everywhere.
-
d4ndo[m]
You could also run a tor node on that vps or other traffic intensiv stuff.
-
d4ndo[m]
sorry for my bad enlish.
-
d4ndo[m]
+g
-
Infinity8
d4ndo[m]: Ah, I'm going to be running a NAS on a separate network in that case.
-
Infinity8
ok brb.
-
Infinity8
ok i'm back
-
d4ndo[m]
I don't know your network setup. The bottom line is you need to know best what works on your network. But my guess is that the rock64 might be a bit overstrained with the Monero and Bitcoin node.
-
Infinity8
Strained in terms of CPU or RAM?
-
Infinity8
or both
-
d4ndo[m]
Probably RAM
-
d4ndo[m]
Anyone in the chat running a node on arm ?
-
d4ndo[m]
On reddit someone just posted how to setup a monero node on a Raspberry Pi.
-
d4ndo[m]
-
d4ndo[m]
-
d4ndo[m]
-
d4ndo[m]
He uses a Raspberry Pi 3.
-
d4ndo[m]
Other topic : To bad those guys do not use html tables to display the data :
moneroblocks.info/stats
-
d4ndo[m]
html tables are great for parsing data - using Gnu R to do some plots.
-
d4ndo[m]
OK- but they do provide an API via JSON. My fault.
-
d4ndo[m]
sorry
-
d4ndo[m]
What do you guys think of FossaSat-1 ? FossaSat is a pocketqube satellite which is being developed using free and open source ethics. You can communicate via a cheap Lora device 20$. Send some monero via LoRa satellite!?
-
d4ndo[m]
-
d4ndo[m]
-
charolastra
for the TX to find its way onto the blockchain it would need an internet gateway, right?
-
d4ndo[m]
yes.
-
Infinity8
d4ndo[m], That guide is why I'm here
-
Infinity8
apparently raspberry pi isn't recommended to run monero node because it doesn't support hardware AES
-
ErCiccione[m]
-
ErCiccione[m]
but there is also pinode-xmr that can work on different boards:
github.com/monero-ecosystem/PiNode-XMR
-
derpy_bridge
<[discord] Leo Cornelius [AIO]#9160>: hey
-
derpy_bridge
<[discord] BB-8#4208>: Hi
-
a8_
if my internet drops when im downloading blockchain is there risk of corruption?
-
a8_
because it dropped like 9 times and i dont wanna redownload :/
-
selsta
sync using monerod or download blockchain from getmonero.org?
-
selsta
I would recommend to sync using monerod
-
a8_
i am useing monerod
-
a8_
is there chance of corruption?
-
selsta
no
-
selsta
unless you have a power loss
-
charolastra
then it should be valid. in any case, TCP guarentees correctness of transmission
-
a8_
ok, im useing a vpn(for unrelated resions ) so when my internet drops the vpn killswich turns on and it like timesout all connections. could that cause issues?
-
selsta
no
-
a8_
ok thanks a ton
-
kiwi_20
Hi folks has anyone done monero mining here on an Android phone?
-
charolastra
lol, why would you do that
-
TrasherDK
charolata: You just made my day "TCP guarentees correctness of transmission"
-
kiwi_20
charolastra Because it's idle and has 8 cores. I'm upgrading to a new phone soon.
-
kiwi_20
Also I'm curious what the hash rate would be. Probably very low I know.
-
TrasherDK
Try it out, and let us know..
-
charolastra
i guess you'll mine 1 cent per day and ruin the hardware at the same time
-
charolastra
TrasherDK: but it's true, isn't it?
-
yanmaani
it might be a bit better than that
-
yanmaani
but not worth the time
-
hyc
yeah, i've been mining on phones for a couple years
-
hyc
they're actually on par with ~2-3 year older laptop
-
charolastra
how much are you making per day per device?
-
hyc
dunno.
-
hyc
0
-
yanmaani
why do it then?
-
yanmaani
renting a dedi you can at least recoup ~50% of the monthly rental, which is not terrible
-
hyc
to see how much can be done. their efficiency is higher than intel cpus
-
yanmaani
I mean you can install monero, nice it to hell, and then use your server as normal
-
yanmaani
they're more efficient, but they don't earn you any money??
-
TrasherDK
hyc's phones are probably more beaffy than my laptops :D
-
hyc
they only run on like 5W or less
-
hyc
solo mining, haven't hit any block yet
-
yanmaani
what'd you get if you did it in pool you think?
-
yanmaani
what if you'd buy one of those 1U ARM thingies?
-
charolastra
aren't we at GPU mining?
-
TrasherDK
Or one of those 1U EPYC thingies ?
-
hyc
I'm not really impressed with the ARm server hardware yet
-
hyc
AMD is still king for now
-
yanmaani
If you want cheap dedis it seems like a good niche
-
TrasherDK
I've got a box full of old routers/access-point that would do fine as node/nas servers.
-
d4ndo[m]
What kind of router are we talking here?
-
d4ndo[m]
Better use those router to setup a freifunk mesh node. Or any other mesh network in your area.
-
hyc
I have a couple old routers here but now I've forgotten which I've bricked
-
hyc
(botched openwrt installs)
-
d4ndo[m]
if the led's wont blink - it is bricked.
-
a8_
lol im downloading the blockchain to my harddrive, it will be so fragmented lol
-
asymptotically
is there anything i can modify to make a ledger work with latest master wallet?
-
asymptotically
never mind, i just cherrypicked the boost fixes PR onto an older release :D
-
xmrpow
@moneromoo incoming connections rising ;)))
-
moneromooo
Congrats :)
-
xmrpow
Thanks moo and hyc. Im curious if im having the latency problem now.
-
xmrpow
going to check it again.
-
hyc
you're going to have a lot more peer connections
-
hyc
so I'd guess the problem goes away
-
xmrpow
im sure thats going to solve the problem
-
xmrpow
but lets wait for the result
-
xmrpow
;9
-
xmrpow
;)
-
xmrpow
Delay problem solved. Delay is now in the ms range ;)
-
moneromooo
If you have an account for monero.stackexchange.com, feel free to add a Q&A about it.
-
xmrpow
About the p2p bind ip thing?
-
moneromooo
Yes. "I'm seeing slow block propagation" - "check you have enough peers, in and out"
-
moneromooo
With examples of why in peers could be absent, like the bind interface, router being not setup to pass them in, etc
-
moneromooo
Might be a question about it already actually.
-
xmrpow
ok
-
a8_
hey guys, monerod failes with this. what can be the cause?
-
a8_
2020-05-18 21:02:46.178 F Error starting server: Failed to bind IPv4 (set to required)
-
moneromooo
Are you running anything on that port ? Maybe another monerod ?
-
a8_
nope
-
moneromooo
Are you sure ?
-
a8_
yes i just booted pc
-
a8_
it doesnt start on boot
-
Inge-
windows or linux?
-
a8_
macOS
-
moneromooo
Do you have some software that prevents binding to interfaces ?
-
a8_
i do not
-
a8_
i havent had issues with binding before
-
moneromooo
Do you know how to use dtruss ?
-
moneromooo
(I think that's the name)
-
a8_
not really but i can look it up?
-
a8_
./monerod --data-dir /Volumes/Untitled/XMR/node --rpc-bind-ip 0.0.0.0 --rpc-bind-port 18089 --restricted-rpc --confirm-external-bind --public-node
-
moneromooo
Then run monerod with dtruss, you should get a list of syscalls. Paste that to some paste site.
-
a8_
this is my command btw
-
a8_
ok
-
Inge-
netstat -anp | grep 18089 ?
-
a8_
doesnt accept -anp
-
Inge-
right that was linux. See if you can use it to check for anything on that port, and if so, you might be able to get the program binding to it
-
Inge-
but not sure about how it works on Mac
-
a8_
let me try to bind to that port with another app
-
a8_
binds fine
-
a8_
odd
-
a8_
let me try dtruss
-
a8_
recording dtruss rn
-
a8_
-
a8_
here u go moneromooo
-
selsta
a8_: do you have the gui open?
-
a8_
uh yes
-
a8_
but deamon is closed
-
a8_
i orig used term cuz gui said it failed to start monerod
-
a8_
im trying to make. my node public
-
selsta
did the gui daemon always fail to start? or just recently?
-
a8_
when i tried useing the ``--rpc-bind-ip 0.0.0.0 --rpc-bind-port 18089 --restricted-rpc --confirm-external-bind --public-node`` in the startup flags option
-
a8_
i left it blank before
-
selsta
okay, can you try restarting and then only starting from terminal?
-
selsta
without opening the GUI
-
a8_
ok
-
a8_
brb
-
a8_
:( i messed up my blockchain file when rebooting
-
a8_
i need to redownload now
-
a8_
ok after clearing the folder it seems to have fixed itsself
-
moneromooo
bind fails with error 48. Not sure if hex or decimal. What's 48 on mac ? grep 48 `find /usr/include \*errno\*h`
-
a8_
reboot fixed bind :)
-
a8_
i think there was one running in backround or something cuz now my blockchain is corrupt
-
a8_
also is this normal? 2020-05-18 21:47:27.388 W --public-node is enabled, but RPC server 10.0.0.123:18089 may be unreachable from outside, please check RPC server bind address
-
moneromooo
Does not seem abnormal at laest.
-
moneromooo
Do you intend to give RPC service to someone from the internet ?
-
a8_
uh no, i just want to make a public node to help the network
-
moneromooo
That sound like "no, but yes" :)
-
a8_
oh ok :D
-
moneromooo
monerod supplies P2P (normal peer to peer comms) and RPC (usually private).
-
a8_
i think the error is cuz i cant connect to other local ip's, my router is messed up a bit
-
a8_
ah ok
-
moneromooo
You want P2P to be publicly accessible. You usually want RPC not to be. --public-node is for RPC.
-
a8_
so my startup flags are fine?
-
moneromooo
They're fine if you intend to serve public RPC access.
-
a8_
ok
-
a8_
:) happy to help the network
-
a8_
wait so does the warning mean that no one can use my node publicly?
-
moneromooo
"may" implies a probability between 0 and 1, exclusive.
-
Inge-
technically correct and completely useless :P
-
moneromooo
Try it. There are various websites where you can ask to connect to your mode to see if it's reachable.
-
moneromooo
Well, it's a prompt for "re-read and you'll get it" I guess :)
-
a8_
oh yea i forwarded 18089 not 18081
-
a8_
is that not correct?
-
a8_
nvm
-
moneromooo
It is correct.
-
a8_
should i open anything other then 18089 too?
-
a8_
or is that all i need
-
moneromooo
18080 for P2P.
-
a8_
ok
-
a8_
i will just open 18080 - 18089 cuz thats easer on my router then just 2 of them
-
moneromooo
That includes 18082, which has a zmq server. You might not want to open that one.
-
a8_
qhmm
-
a8_
i dont use zmq tho, never heard of it
-
moneromooo
It's a RPC server with different protocol, used by essentially close to noone but mymonero I think.
-
a8_
ok i opened 18080-18089 :)
-
a8_
i will restart my node app
-
moneromooo
Or you can use --no-zmq, and forward the range.
-
a8_
ok
-
a8_
do i type stop_daemon to stop the monerod? in the console
-
moneromooo
Maybe. exit or ^D work.
-
a8_
edit worked
-
a8_
exit*
-
a8_
2020-05-18 22:19:22.452 W The RPC server is accessible from the outside, but no RPC payment was setup. RPC access will be free for all.
-
a8_
yaaay
-
takel
hi
-
camthegeek
hi
-
a8_
how can i set my out_peers to unlimited on monerod?
-
a8_
or is that stupid to do
-
moneromooo
out_peers bignumberhere
-
a8_
yes but then it would just be "bignumber
-
a8_
when i do in_peers it says unlimited tho
-
moneromooo
Oh, yes, -1 is unlimited I think.
-
moneromooo
I'm not sure it's stupid. I would tend to say no.
-
a8_
ok
-
moneromooo
It'll just continuously scan for more peers, and mostly fail to find more.
-
a8_
out_peers -1
-
a8_
Max number of out peers set to unlimited
-
a8_
hmm
-
a8_
ok i will make it 26
-
moneromooo
Just ensure you don't restrict fds too much I guess.
-
a8_
fds?
-
moneromooo
file descriptors.
-
a8_
what do you mean? sorry im a monero newb
-
moneromooo
File descriptors are, hmm... entries in a table mapping to open files/devices.
-
moneromooo
"opened files/device at once".
-
a8_
oh yea
-
moneromooo
ulimit might work on mac, it should show the current limit.
-
a8_
macOS has that stupidly low by default
-
a8_
it caused crashes for me before
-
a8_
nikita@MacBook-Air /A/m/C/MacOS> ulimit
-
a8_
unlimited
-
a8_
i think i made it unlimited at one point :)
-
moneromooo
try ulimit -a
-
a8_
nikita@MacBook-Air /A/m/C/MacOS> ulimit -a
-
a8_
Maximum size of core files created (kB, -c) 0
-
a8_
Maximum size of a process’s data segment (kB, -d) unlimited
-
a8_
Maximum size of files created by the shell (kB, -f) unlimited
-
a8_
Maximum size that may be locked into memory (kB, -l) unlimited
-
a8_
Maximum resident set size (kB, -m) unlimited
-
a8_
Maximum number of open file descriptors (-n) 10240
-
a8_
Maximum stack size (kB, -s) 8192
-
a8_
Maximum amount of cpu time in seconds (seconds, -t) unlimited
-
a8_
Maximum number of processes available to a single user (-u) 1392
-
moneromooo
Just fds -_-
-
a8_
Maximum amount of virtual memory available to the shell (kB, -v) unlimited
-
a8_
nikita@MacBook-Air /A/m/C/MacOS>
-
a8_
i think its fine
-
a8_
oh sorry
-
a8_
10240
-
moneromooo
Should be fine then.
-
a8_
:)