Page 1 of 1

CHR/The Dude Server on Raspberry Pi 3B or 4

Posted: Sun Aug 23, 2020 7:07 pm
by Askey307
Hi Guys

Is it possible to run CHR on a Pi without having to install any OS like linux to run a VM?
The idea is the have a small foot print of a device in the office for our site monitoring with the Dude.
We're currently running it on an old DDR2 machine and the boss does not want to buy a router specifically for the dude and definitely not a pc.
We have bunch of Pi's laying around not being used.

Regards

Re: CHR/The Dude Server on Raspberry Pi 3B or 4

Posted: Sun Aug 23, 2020 8:17 pm
by Sob
Hmm, can you run x86 virtual machine on bare metal ARM device? The answer won't surprise you - no.

Maybe it could be possible to run it under RasPi's Linux as VM using some emulator, but I don't know if anything ready to use exists. Even if it does, another problem could be speed.

Re: CHR/The Dude Server on Raspberry Pi 3B or 4

Posted: Sat Oct 17, 2020 6:54 pm
by Askey307
Managed to get it to work on a RP 4 with Raspbian and VM. No issues yet. Works actually pretty well tbh. Just had heat issues at first but that's sorted.

Re: CHR/The Dude Server on Raspberry Pi 3B or 4

Posted: Sat Oct 17, 2020 8:15 pm
by Sob
Interesting, could you share any more details? I don't mean step by step guide, although I suppose someone would appreciate that. Just some pointers for start, like what do you use? I most likely won't be trying it myself, I'm just curious. I keep finding some software named ExaGear, but it seems dead now. Then there's even ESXi for ARM that can run on RasPi (I didn't expect that), but doesn't support running x86 code. I guess QEMU should be able to do it, but I'd expect to find more info about that than I'm finding so far, which is none (well, I'm not trying too hard, but still..).

Re: CHR/The Dude Server on Raspberry Pi 3B or 4

Posted: Thu Oct 22, 2020 9:12 pm
by Askey307
Interesting, could you share any more details? I don't mean step by step guide, although I suppose someone would appreciate that. Just some pointers for start, like what do you use? I most likely won't be trying it myself, I'm just curious. I keep finding some software named ExaGear, but it seems dead now. Then there's even ESXi for ARM that can run on RasPi (I didn't expect that), but doesn't support running x86 code. I guess QEMU should be able to do it, but I'd expect to find more info about that than I'm finding so far, which is none (well, I'm not trying too hard, but still..).
After a lot of playing I found a nice combo. I use Void Linux for Pi and Qemu. Both super low system requirements and works like a charm. If you know Debian based basics; you'll able to config no issues. Puppy Linux and Tiny Core also worked. Puppy was bit unstable so I couldn't trust it. Tiny for some reason froze from time to time. I run Void now stable for the past week. CHR really does not require much. I've even tested with my Pi 3B and it worked well. Memory was constantly between 450-600mb usage. Haven't seen once where it used more than 800 out of the 1GB available. So my Pi4 is a little bit overkill in this scenario as I only use the CHR for The Dude Server so nothing major at all. I'll be migrating it to the Pi3 permanently as it's more than enough for the job so I can use the Pi4 elsewhere.

I've seen Exagear pop up from time to time under my security labs etc. Haven't tried it.

A guide....Mmmm that might actually be a darn good idea. Once done, I'll link it under this post.