Jump to content

Poor-mans-IPMI (IP-KVM) with raspberry pi and serial

I found this thread and I'm wondering if anyone has done it.

https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=119356

 

also, since almost no modern hardware comes with a serial port (at least not home (non server) consumer stuff), will the recommended usb to serial adapter on the host (pc to grab the screen from) be able to display the BIOS/EFI/POST over the usb/serial connection? If so this seems to be an excellent and much cheaper solution than a $300 IP KVM module.

 

or maybe a male to male usb cable can used but using a serial connection protocol/signaling?

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, nullredvector said:

since almost no modern hardware comes with a serial por

almost every motherboard has a header, it just isn't used

 

What are you trying to do? wake on lan and remote desktop will work fine for most uses.

 

Otherwise, how about something like this http://www.ebay.com/itm/AVOCENT-Model-DSR1021-8-PORT-KVM-OVER-IP-SWITCH-520-350-001-/272495889987?hash=item3f72054e43:g:OpAAAOSwnHZYXXx0

Link to comment
Share on other sites

Link to post
Share on other sites

I'm going to try this now (assuming my RPi detects my USB to Serial cable). I might try it with an ODroid U2 though, it's much more reliable than an RPi in my experience and much smaller.

-KuJoe

Link to comment
Share on other sites

Link to post
Share on other sites

Quote

What are you trying to do? wake on lan and remote desktop will work fine for most uses

yeah i was thinking that an unlisted header might be my only chance.

i want to get console redirection of the bios/post. its an asrock z68m itx board that ive repurposed as a pfsense machine, so its headless and id like to keep it that way if it ever needs maintenance.

i found this thread: https://unix.stackexchange.com/questions/249624/create-serial-console-on-plug-in-usb-serial-device
might not be possible unless its the aforementioned serial header exists on this board. any idea how to find it? i guess just search the pcb for a label...

Link to comment
Share on other sites

Link to post
Share on other sites

30 minutes ago, Electronics Wizardy said:

almost every motherboard has a header, it just isn't used

 

maybe this highlighted header is serial? though the header connectors seem to be 10 pin and this is 12pin
header connector: https://www.amazon.com/StarTech-com-Serial-Motherboard-Header-PLATE9M16/dp/B001Y1F0HW

xevtYll.png

 

its also not listed here: (it seems it would a be a 9 pin though like a usb header :/ )
qVDFJNC.png

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, nullredvector said:

maybe this highlighted header is serial?

that looks like a tpm header, but not listed for some reason.

Link to comment
Share on other sites

Link to post
Share on other sites

38 minutes ago, Electronics Wizardy said:

oh wow that thing normally retails for $400. it seems large and inelegant but it would get the job done!

Link to comment
Share on other sites

Link to post
Share on other sites

so are you saying you want to access bios over network?

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, SCHISCHKA said:

so are you saying you want to access bios over network?

yes. i supposed i could have said it that simply :P

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, nullredvector said:

yes. i supposed i could have said it that simply :P

maybe a video capture card could work to get the screen and i have seen articles of people using the pi zero as a usb slave

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, SCHISCHKA said:

maybe a video capture card could work to get the screen and i have seen articles of people using the pi zero as a usb slave

yeah that was another idea floating around. probably have to do that since i dont think ill be able to get serial on this mobo

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, nullredvector said:

yeah that was another idea floating around. probably have to do that since i dont think ill be able to get serial on this mobo

I'm trying to find a description of the pi camera serial interface. it seems to go to waste. if a capture card is expensive get a cheap old < $10 LCD monitor and a web cam haha

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, SCHISCHKA said:

I'm trying to find a description of the pi camera serial interface. it seems to go to waste. if a capture card is expensive get a cheap old < $10 LCD monitor and a web cam haha

lol!!!

Link to comment
Share on other sites

Link to post
Share on other sites

  • 3 years later...

Hardware:

- RasperryPi Zero WH    ~$15,-

- HDMI->CSI Converter ~ $35,-

- 2 optical couplers to connect

  power and reset button on

  housing to RPi GPIOs ~ $ 3,-

---------------------------------------------

                                         ~$53,-

 

1. Connect the GPU output of your workstation to the HDMI->CSI converter

2. Connect the USB-OTG port of the RPi Zero to your workstation

3. Put some node.js webserver on the RPi Zero which streams the h.264 encoded video in a HTML5 web-interface, grabs keyboard and mouse input in the browser window and forwards it to the USB OTG HID device

Link to comment
Share on other sites

Link to post
Share on other sites

6 hours ago, renne said:

Hardware:

- RasperryPi Zero WH    ~$15,-

- HDMI->CSI Converter ~ $35,-

- 2 optical couplers to connect

  power and reset button on

  housing to RPi GPIOs ~ $ 3,-

---------------------------------------------

                                         ~$53,-

 

1. Connect the GPU output of your workstation to the HDMI->CSI converter

2. Connect the USB-OTG port of the RPi Zero to your workstation

3. Put some node.js webserver on the RPi Zero which streams the h.264 encoded video in a HTML5 web-interface, grabs keyboard and mouse input in the browser window and forwards it to the USB OTG HID device

I would have suggested something like this, though I am not sure If the zero has enough power to passthrough a potentional FullHD stream, so a Pi3/Pi4 might be better suited.

 

Alternatively just use the zero for controlling, and there are some HDMI to Ethernet adapters available which could be used to receive the stream (at least in a local network).

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×