Active7 years, 5 months ago
I have an application that run's on winNT and requires the APCI-7500 card (a 4-multiport serial card), so I've installed the winNT thru virtualbox, but as i try to configure the serial ports I notice that virtualbox shows only 2 serial ports, only 2 tabs in the ports configuration section.
How can I add the other 2 ports and configure them.
My host is ubuntu 11.04
My guest is winNT
My virtualbox version is 4.0.4_OSEr70112
I'll appreciate any help.
Thanks in advance.
I've followed these threads but still get no light in this issue
How to access serial ubuntu host serial port on VirtualBox guest OS
Can't access host serial port on VirtualBox Winxp
How can I add the other 2 ports and configure them.
My host is ubuntu 11.04
My guest is winNT
My virtualbox version is 4.0.4_OSEr70112
I'll appreciate any help.
Thanks in advance.
I've followed these threads but still get no light in this issue
How to access serial ubuntu host serial port on VirtualBox guest OS
Can't access host serial port on VirtualBox Winxp
VirtualBox and VMware both create virtual machines with the NAT network type by default. If you want to run server software inside a virtual machine, you’ll need to change its network type or forward ports through the virtual NAT.
Community♦
ubuubu
3 Answers
I'm afraid it looks like you are not going to be able to use that application under VirtualBox:
If your app really requires access to the APCI-7500 card it won't work. VB doesn't emulate PCI devices. It does emulate serial ports, but it just connects them to linux ports.
If you just need lots of serial ports, it won't work. VB only supports up to two serial ports per virtual machine.
There are some workarounds, like tweaking the VB source, or emulating the serial ports with (virtual) usb devices that can work or not in your case.
Javier RiveraJavier Rivera30.8k99 gold badges8282 silver badges104104 bronze badges
Not sure about VirtualBox OSE, but if you don't have the serial port options in the settings, then grab the proprietary edition of VirtualBox here.
In the virtual machine settings, you should be able to enable up to two serial ports:
It would help if you would share what application you want to use, and what serial port peripheral it requires. Never having used serial port peripherals in a virtual machine myself (and I don't have the hardware to test it), here's the documentation on using this feature.
titaniumtuxtitaniumtux
Virtualbox Serial Port Tcp
Don't bother with the emulated ports of the host, forward the APCI-7500 PCI device to the guest, then install its drivers inside Windows.
This should work in all current versions of VirtualBox.
Also consider that host and guest might need to be both the same architecture, e.g. 32-bit.
aquaherdaquaherd
Not the answer you're looking for? Browse other questions tagged virtualboxserial-port or ask your own question.
Active30 days ago
I'm having trouble for a few weeks now trying to access the serial port of my computer when working on the guest OS Windows XP Pro via VirtualBox. The host OS is Ubuntu 10.04 LTS and I'm using VirtualBox 5.0.18. In its settings, I've set up the serial port as on this screenshot:
...but then I can't run the virtual machine:
I've already asked the VirtualBox forum but they replied it was more a Ubuntu problem than a VB one, so I'm asking for help here!
The thing I'm trying to do is to back up an old device (from the early 2000s or late 1990s), which back-up software can only be opened on Windows. I've managed to install and open it on my XP guest OS, but it cannot communicate with the peripheral device.
Excuse me if I'm not always intelligible, I'm not used to run Ubuntu and I'm French, so my English may not be perfect!
Thanks in advance though :)
Lucas
kelvinelove1,52111 gold badge1414 silver badges2626 bronze badges
LucasLucas
3 Answers
Your user is not in the group that has access the serial port. You can either run Virtualbox as root (Not recommended ), or add your user to the group.
You might have to logout and login again to make this work.
Cheers
Bram KoertBram Koert
First check the actual permissions on your host system. Something like:
~ ls -l /dev/ttyS0
Mine is:
crw-rw---- 1 root dialout 4, 64 2016-05-24 07:34:52 /dev/ttyS0
This means thay either I need to be root (first 'rw-' from left) or I need to be in the dialout group (second 'rw-' from left).Try from command line a check with command
id
like:~ iduid=1000(enzo) gid=1000(enzo) groups=1000(enzo),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),113(lpadmin),127(sambashare)
In this case I cannot access that serial port. So I can add myself to
dialout
group:~ sudo usermod -a -G dialout enzo
where enzo
is your very userid as shown above by command id
Then you need to logout and log back in in orderto have this change effective.EnzoREnzoR
I use a USB adapter im my Dell Inspiron.
So I changed
Kulfy/dev/ttyS0
to /dev/ttyUSB0
and it works like a charm.8,1401010 gold badges3232 silver badges6060 bronze badges
Joel InacioJoel Inacio