Monday, March 1, 2010

Use Serial Port from VirtualBox Linux Guest

From time to tome, I need to connect to a serial console of another computer. My laptop runs Windows XP. Unfortunately, the hyperterminal program is not installed. So I have to look for an alternative. I'm reading the blog entry (How To Use Host Serial Port From Guest In VirtualBox) and it's worth a try.

First I verified the serial port configuration in the host OS.

Then I configured the serial port setting for the Linux guest.
Once I log into the Linux guest OS, I can use the minicom or cutecom software. Here's the minicom configuration example and save it as the default value.
$ sudo minicom -s





Then I can easily connect to the serial console of a remote computer.

$ sudo minicom

Welcome to minicom 2.3

OPTIONS: I18n
Compiled on Sep 25 2009, 23:40:20.
Port /dev/ttyS0

SUNSP00144FD11817 login: root
Password:
Waiting for daemons to initialize...

Daemons ready

Sun(TM) Integrated Lights Out Manager

Version 2.0.4.0

Copyright 2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.

->

No comments:

Post a Comment