1

Lets suppose I have a desktop computer. Is there any way (i.e. a PCI card or some kind of software/hardware) through which I can enable the computer to support serial redirection?

By serial redirection I mean: plug in a serial cable to the desktop computer, so that what is shown on the desktop computer's screen flows through the serial cable to other computer.

//Edit: to explain what I want to achieve a little more:

I'd like to see the boot process / the OS loading procedure by using the serial cable. The scenario is more or less like this: lets suppose I have a desktop computer I'm using as a server. The server is a Windows / Linux machine. Lets also suppose the machine has no monitor attached. And, lets suppose I messed up with iptables / windows firewall rules and I'm not able to connect to the machine 'remotely'. I'd like to use the serial port to log in to the machine and make appropriate changes to the firewall rules. If I could also see the boot process over that cable, (and fix boot process related errors thanks to that) it would be even more awesome.

3
  • The server is a Windows / Linux machine. There may be a big difference. For Linux the console device can be (or has to be?) specified in the kernel command line passed by the bootloader. A serial port is typically specified as the console when there is no display adapter.
    – sawdust
    May 6, 2012 at 23:56
  • Hello, this question is pretty old, but did you solve your problem?
    – Tarator
    Oct 20, 2016 at 4:35
  • @Tarator at that point I've abandoned the issue. But looking back, like sawdust and Bon Gart have written, it looks like it is possible to specify a serial console connection in Windows (i.e. through boot.ini) and in Linux (by using kernel command line parameters), so that one of COM ports of the PC acts as the 'serial console' port. Usually, stuff like Cisco routers / Wifi routers (i.e. ones running OpenWRT) (vs casual PCs) have that serial connection preconfigured on one of the serial ports. More info for Windows: serverfault.com/questions/554298/windows-serial-console .
    – colemik
    Oct 22, 2016 at 17:44

1 Answer 1

-1

You mean something like a db9 serial null modem female/female cable like this

enter image description here

that you connect between the serial ports of two computers so you can transfer files back and forth?

Oh... I realize your computer might not have serial ports... in which case you'd need something like a USB to DB9 serial converter or a PCI Serial Port card

But then, why not just get a USB PC to PC cable or better yet, network the two computers with a crossover ethernet cable or regular ethernet cable and a switch or router.

In fact, there are so many ways to get the computers to talk to each other, that your question requires clarification as to exactly why you want this serial connection, and exactly what you need to do.

EDIT Ok. Now, with the information from YOUR edit... it depends on the server, and the OS, and how it is all configured. For example, from the documents at Oracle, regarding the Sun Blade T6300 server module administration guide...

On your server, the system console comes preconfigured to allow input and output only by means of the ALOM CMT system controller. The ALOM CMT system controller must be accessed either through the serial port or the network management port.

... again, this is ONLY that specific server running that OS.

I'm finding tons of stuff about controlling an RS232 device with a server... not nothing about controlling a server through rs232.

2
  • Thanks for the response. I'd like to see the boot process / the OS loading procedure by using the serial cable and I don't know if this is really possible. The scenario was like this: lets suppose I have a desktop computer I'm using as a server. The server is a Windows / Linux machine. Lets also suppose the machine has no monitor attached. And, lets suppose I messed up with iptables / windows firewall rules and I'm not able to connect to the machine 'remotely'. I'd like to use the serial port for that. If I could also see the boot process over that cable, that would be even more awesome.
    – colemik
    May 6, 2012 at 15:59
  • What you want is not possible without first taking steps to set the target machine up... and even then largely not possible. First, if you have access to plug a serial cable into a machine, you have access to connect a monitor. You are there at the machine. Second, you won't be able to watch the boot process, for anything that allowed youOS was up and running... unless the server OS was running in a VM, and you were watching from software installed on the host.
    – Bon Gart
    May 6, 2012 at 16:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .