Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am running VirtualBox under linux. Gues OS is Windows XP.

I have an IR transmitter connected to serial port, (yes the old kind DE-9), on my box and added the following in VirtualBox "Serial Ports":

[v] Enable Serial Port
Port Number: COM1 IRQ: 4 I/O Port: 0x3F8
Port Mode: Host Device
Port/File_PAth: /dev/ttyS0

Added user to group for serial.

Now: I am using sniffer on host; ie jpnevulator

jpnevulator --ascii --timing-print --tty /dev/ttyS0 --read

Run Guest OS and start IR software and write data by IR (In guest OS/WinXP). The data is written, but nothing comes up in jpnevulator.

What am I missing here?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

OK. After a lot of testing in a field I am a pure novice I found the following way to monitor traffic:

In VirtualBox "Serial Ports":

[v] Enable Serial Port
Port Number: COM1 IRQ: 4 I/O Port: 0x3F8
Port Mode: Host Pipe
Port/File_PAth: /tmp/vbwincom1

And then use

socat /tmp/vbwincom1 -

Data written to pipe is written to terminal in host linux.

This is by monitoring socket instead of serial.

If anyone have a solution for monitoring /dev/ttyS0 instead of an overlayer by socket I'll accept that as an answer - but for now this does it. Hopefully it might help someone else.

socat

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.