My home lab space is very limited so I don't have room for a "spare" monitor mouse and keyboard for my Proxmox host and other projects. I also don't want to lose access to my PC when I need to trouble shoot so a traditional KVM doesn't sound ideal. Lately a few new very small external IPKVM solutions have come out but I really wanted to have something more powerful(and more tinker friendly). After looking over the different KVM projects I settled on PiKVM but don't need any of the advanced features the dedicated HATs provide. Looking at the DIY options I don't really want to use up a full size Raspberry Pi 4b and using a Raspberry Pi 2w requires using the WiFi due to the single USB controller. I found the Radxa Zero 3E! It looks like it has all the required hardware but will it work with PiKVM? I guess I'm going to find out.
Note on the WiFi version Radxa Zero 3W, much of the same setup should work other than configuring the WiFi and flashing to the EMMC(the 3E doesn't have EMMC). Honestly for a WiFi version I would stick with a Pi Zero 2w, easier setup and is slightly cheaper.
I made a simple 3D printed case for the Redxa Zero 3E!
https://www.thingiverse.com/thing:6907577
The Hardware
Radaxa Zero 3E
https://radxa.com/products/zeros/zero3e
The specs look good.
- Hardware MPEG4 Encoding 1080p @ 60hertz
- MIDI CSI connector (22pin)
- Onboard 1Gbps Ethernet
- USB-C OTG support
- Rockchip RK3566 SoC (4 Arm A55 cores @ 1.6Ghz, over kill for this)
- 1/2/4/8GB of LPDDR4 (1GB should be fine I got the 2GB incase I reuse this SBC for something else later)
Now to get HDMI in
Vivitar USB HDMI Capture card
The Software
PiKVM
Operating system
https://www.armbian.com/radxa-zero-3/
- Downloaded the minimal/IOT build
- Flash to SDCARD, use what ever you are comfortable with I used Etcher
On first boot there is a nice little wizard to walk you through changing the root password and creating a user.
- login change root password
- create account
SSH is enabled be default and the user we created after login has access so I will be using SSH, from here on out use witch ever is most convenient for you.
Install KVMD-Armbian
Now we are going to go over to Srepac's GitHub repository and use the install script for kvmd-armbian.
https://github.com/srepac/kvmd-armbian
This will take awhile depending on how fast your SDCARD is.
sudo apt update && sudo apt upgrade -y sudo apt install -y git vim make python3-dev gcc xz-utils wgetcd ~ git clone https://github.com/srepac/kvmd-armbian.gitcd kvmd-armbian sudo bash ./install.sh
Now we need to reboot our device and then rerun the install script.
cd ~/kvmd-armbian
sudo bash ./install.shBefore we login and test our new IPKVM let's change the default password for the user "admin"
sudo kvmd-htpasswd set adminFrom the GitHub there is also some updates we can install.(optional)
cd ~/kvmd-armbiansudo wget --no-check-certificate -O /usr/local/bin/update-rpikvm.sh http://148.135.104.55/RPiKVM/update-rpikvm.sh sudo bash update-rpikvm.sh
Enable Mass Storage
cd ~/kvmd-armbiansudo bash ./create-flash-msd.sh
sudo systemctl daemon-reload
sudo mount /var/lib/kvmd/msdsudo bash ./apply-msd-patch.sh -f
Finally!
So how does it work?
Running a YouTube video on the remote host to generate change. Solid 30hertz, low CPU use and under 200MB of ram in use. Hardware encoding appears to work, this thing doesn't break a sweat.
No comments:
Post a Comment