Live data from Hacker News

Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

mtlynch.io

121–130 of 284 posts

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#121
post #98

A major con of the enterprisey ilom systems (such as the idrac) is their atrocious security track record. You are basically giving up your "the network is untrusted, I can survive its compromise" badge if you plug in one of those.

Well those ports should never face the internet anyway. Most servers will have a dedicated (physical) port you use for IPMI or whatever -- vlan that and only allow access from your VPN. If you're extra secure you can full on disable the switchport until you need it.

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#122

Earlier quoted context omitted.

I have an old Belkin USB 2.0 switch from god-knows when that works beautifully. I use it to share a hub with a keyboard and mouse attached. I’ve given up trying to find a 4K60 x2 DisplayPort KVM that doesn’t suck.

I have been using this at 4k60 (but 1 monitor) flawlessly for 8 months. https://www.startech.com/Server-Management/KVM-Switches/2-po...

Seconding a recommendation for Startech's KVMs. They have an excellent USB stack which handles complex USB hierarchies flawlessly -- I've successfully used mine with chained hubs, weird HID devices like Apple keyboards, and non-HID devices like disks, audio interfaces, and even stranger things.

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#123
post #42
post #37

I have given up on KVMs altogether and I am using the following approach now: - Most monitors have multiple digital inputs. Connect each computer to one of them - Use a USB switch keyboard and mouse - Before switching the USB switch, press the "lock screen" key combination and make sure locking the screen drops the video signal - After switching the USB switch, pressing shift should bring up the login dialog and re-a…

I did this for a while, the problem is that there's really no such thing as a high-quality USB switch. They are all garbage and mess with USB devices in some way (at least at the consumer level).

> I did this for a while, the problem is that there's really no such thing as a high-quality USB switch. They are all garbage and mess with USB devices in some way (at least at the consumer level).

A lot of these things seem to "help" by inserting their own USB host device that acts as a proxy for attached USB peripherals. This allows them to do (ostensibly) useful useful things such as intercepting keypresses and responding to them (e.g. by switching to another input).

Don't get one of those, get a physical switch that just connects the leads to the correct port when pressed. I got this USB 2.0 switch (all you need for input devices) for $12 [0]. I'm sure there are others available with more ports, but this is all I needed.

[0] https://www.amazon.com/gp/product/B01HV1N674

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#124
post #42

Earlier quoted context omitted.

I did this for a while, the problem is that there's really no such thing as a high-quality USB switch. They are all garbage and mess with USB devices in some way (at least at the consumer level).

> I did this for a while, the problem is that there's really no such thing as a high-quality USB switch. They are all garbage and mess with USB devices in some way (at least at the consumer level). A lot of these things seem to "help" by inserting their own USB host device that acts as a proxy for attached USB peripherals. This allows them to do (ostensibly) useful useful things such as intercepting keypresses and re…

Yeah I second this. I have a physical usb switch to move keyboard and mouse over. It works flawlessly.

Though, I also use a KVM to switch over the video but it's separate.

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#127
post #119
post #110

Earlier quoted context omitted.

For years and years, many motherboards did have graphics sets integrated in. These days, you'll still see that on a lot of server-class motherboards. e.g. https://www.supermicro.com/en/products/motherboard/M11SDV-4C... -- the line about AST2500 BMC graphics? That runs a VGA port.

I'm guessing the rationale for this is that even if the server's CPU can support onboard graphics, you wouldn't want to change the CPU's load profile just by plugging in a monitor to debug something? Or even to support CPUs that have no onboard graphics support?

Mostly the second -- the high end Intel and AMD CPUs don't have integrated graphics, and nobody wants to spend precious PCIe slots on a graphics card that won't be used except at install time and emergencies... or is more useful as a GPU slot that never produces video output.

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#128
post #98

A major con of the enterprisey ilom systems (such as the idrac) is their atrocious security track record. You are basically giving up your "the network is untrusted, I can survive its compromise" badge if you plug in one of those.

Well those ports should never face the internet anyway. Most servers will have a dedicated (physical) port you use for IPMI or whatever -- vlan that and only allow access from your VPN. If you're extra secure you can full on disable the switchport until you need it.

Make sure in the BIOS to disable fallback to one of the other ethernet ports. Quite a few IPMIs will listen on eth0 if it looses the dedicated IPMI port link by default.

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#129
post #27

Earlier quoted context omitted.

Would a Pi Zero W work for this, or do you need a full-size Pi 4? I would think that with the HDMI dongle doing the hardware MJPEG encoding, a Pi Zero might suffice. It'd be really neat to A) bring the cost down another $30 and B) be able to package everything into a tiny 3D printed case.

Thanks for reading! > Would a Pi Zero W work for this, or do you need a full-size Pi 4? I tested Key Mime Pi (the keyboard-only version) on the Pi Zero W and it worked great. I haven't tested TinyPilot on the Pi Zero W, but I think it will work. The video encoding is happening in the HDMI dongle, so it doesn't hammer resources much. I don't have a USB to microUSB adaptor on hand, but I'll order one now and see if it…

Do you happen to have any idea, whether older RPIs like 1 or 2 could work for this fast enough? Have some of those laying around.

Re: Show HN: TinyPilot – Build a KVM over IP using a Raspberry Pi

#130
post #125

Not tried anything like this before: looking at TinyPilot and Pi-KVM which one should I use? I'm happy doing some soldering. Is there anything that TinyPilot has that Pi-KVM doesn't? Has Pi-KVM added support for the HDMI dongle you used?

Pi-KVM can do all the same, and it also supports IPMI, VNC, and Mass Storage Device emulation. The only difficulty is that for the USB dongle to work, you need to add a couple of options to the config, because it's not yet supported out of the box. Everything else will work on its own.
Post reply on HN