Community discussions

MikroTik App
 
Askey307
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 62
Joined: Fri Sep 29, 2017 10:20 am
Location: South Africa
Contact:

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

Sun Aug 23, 2020 7:07 pm

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
 
Sob
Forum Guru
Forum Guru
Posts: 6463
Joined: Mon Apr 20, 2009 9:11 pm

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

Sun Aug 23, 2020 8:17 pm

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.
Excessive quoting is useless and annoying. If you use it, please consider if you could do without it.
 
Askey307
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 62
Joined: Fri Sep 29, 2017 10:20 am
Location: South Africa
Contact:

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

Sat Oct 17, 2020 6:54 pm

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.
 
Sob
Forum Guru
Forum Guru
Posts: 6463
Joined: Mon Apr 20, 2009 9:11 pm

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

Sat Oct 17, 2020 8:15 pm

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..).
Excessive quoting is useless and annoying. If you use it, please consider if you could do without it.
 
Askey307
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 62
Joined: Fri Sep 29, 2017 10:20 am
Location: South Africa
Contact:

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

Thu Oct 22, 2020 9:12 pm

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.
 
BitFaktur
just joined
Posts: 3
Joined: Thu May 11, 2017 4:51 pm

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

Sat Dec 26, 2020 3:53 pm

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.
Nice, could you post your kvm line your starting the vm with?

It should look something like this:
qemu-system-x86_64 -hda vm-chr-6.48-disk-1.qcow2 -m 512 
The VM starts on my machine but i can only access it trought MAC (Layer 2) and not its IP (Layer 3)
Do i need to specify network or forwarding parameters?

Thanks in advance!
MTCNA - The Future is now!

Who is online

Users browsing this forum: No registered users and 14 guests