top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Accessing serial port output of guest OS in VirtualBox in Mac

+2 votes
870 views

I am using VirtualBox in Mac OSX. I have a guest OS that writes to serial port. I want to view the output on the serial port. Since I do not have physical COM1, I have enabled host-pipe to write to a local domain socket. What tool can I use to view the serial port output?

posted Jul 28, 2013 by Natarajan Venkatraman

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
Thought to be a MAC issue but looks to be a virtual box stuff following link can help you though it is on Ubuntu not MAC but problem is exactly same. http://askubuntu.com/questions/16586/how-to-access-serial-ubuntu-host-serial-port-on-virtualbox-guest-os

1 Answer

0 votes

Is the device file hard coded? If not, try creating a fifo with mkfifo and then anything can read it like tail or other normal shell utils. The classic tool for linking together arbitrary file descriptors is either perl or socat (stands for socket cat, but the actual tool can do essentially anything on either side of itself, like a Swiss army knife...

answer Jul 30, 2013 by Nora Jones
Similar Questions
+1 vote

I am using VirtualBox with Ubuntu version 14 installed in it. I have created 4 virualbox ports vboxnet0,1,2,3.

I would like to add 2 new ethernet ports in Ubuntu to assign each ethernet port to a vboxnet , I am already having eth0 and eth1, I would like to add 2 more ethernet ports, please help?

+1 vote

I had Ubuntu 12.04 installed in Virtualbox which ran OK, if a bit slow, until recently when I did a bunch of updates. As is usually the case after kernel updates, I had to reinstall the guest additions to get
back full screen and auto-resize. However, what I got instead when I restarted, was the following message:

"The system is running in low graphics mode Your screen, graphics card and input device settings could not be detected correctly. You will need to configure these yourself"

It then drops into a menu with buttons where most of the options don't seem to work and eventually bring me to a command line login. I've tried a complete reinstall followed by an upgrade to 12.10 but
again the installation of guest additions bring me to the same point If the graphics settings can be configured I'll need some advice on how to go about it

I don't think I can provide log output as cutting/pasting between guest and host no longer functions.

This is Virtualbox 4.2.12. The kernel is 3.2.0-43-generic-pae i686

+2 votes

I have just upgraded to 23 from 22 in a virtual machine using dnf as described in the Fedora Wiki, which went rather smoothly for me.

After manually installing the Guest Additions, the features "seemless windows" and "automatic resize of the guest desktop" don't work (the respective options in the views menu are greyed out).

The VBox kernel modules are built ok, but I get a warning saying: "unsupported pre-release version of X.Org server installed. Not
installing the X.Org drivers."

The X log says that there is X.Org X Server 1.17.99.902 installed, which is a pre-release. I guess downgrading might cure the problem, but how?

Any advice?

+7 votes

As I found from documentation and source code, theres no possibility to modify machine settings from guest system.

I want to patch VB to treat certain guestproperties as settings - hence well have ability (using VBoxControl) to change RAM amount for example, from guest system (now instantly of course, but after reboot).

Do I think right way about guestproperties? Maybe there exists some more appropriate way to do it?

+1 vote

I am trying to virtualise a DOS guest on a windows 7 host because the physical box is going to break in short (386, very old). Unfortunately there is a software running using a hardware dongle on parallel port. AFAIK there is no virtual parallel port in vbox, and anyways it probably would not work with a dongle.

So how can I configure vbox to exclusively use the hosts parallel port?

...