Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-29-2009, 02:03 AM
|
#1
|
Member
Registered: Jul 2009
Posts: 31
Rep:
|
How to configure the serial port of my virtual machine with host machine.
Dear Friends,
I successfully installed the virtual box on my fedora 8 system, and also created a virtual machine with windows xp OS, it works nicely, I try to configure the serial port of my virtual machine and try to configure the path for the port "screen shot are attached" it gives me the error message also the "screen shot are attached" for your review.
Is kind of mistake is going on during the path setting, and how to set the path for configuring the serial port of my virtual machine so that I can use the hyper terminal tool of windows.
Thanks in advanced.
Regards,
Akram.
|
|
|
07-29-2009, 07:09 PM
|
#2
|
Member
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611
|
In the port/file path in your VB settings, you have "COM1/dev/ttyS0"
It should probably just be "/dev/ttyS0"
You may need to check "Create Pipe," but probably not.
|
|
|
07-30-2009, 12:21 AM
|
#3
|
Member
Registered: Jul 2009
Posts: 31
Original Poster
Rep:
|
Dear foodown
My VM settings according to your guidelines are
I am selecting
1- the Port Number to dropdown menu to"COM1"
2- with Port Mode dropdown menu to "Hostpipe"
3- checked and then unchecked the "create pipe" option (in both case the error message is same, shown below),
4- Port/File Path "/dev/ttyS0", as you saying.
when I start the Virtual machine, ti shows error message as shown below,
"Failed to start the virtual machine
namedPipe#0 failed to connect to local socket /dev/ttyS0
(VERR_ACCESS_DENIED).
Unknown error creating VM (VERR_ACCESS_DENIED)."
One thing I want to ask you, that When I was created the VM, the I add also the serial port with its default Port mode dropdown menu settings which is "Disconnected", On the creation time, My thought that I will configure it latter,
Is we can add and configure other components for Vmachine, after installation or NOT.
Regards,
Akram
|
|
|
07-30-2009, 09:02 PM
|
#4
|
Member
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611
|
Hmmm . . .
In the drop down, instead of "Host Pipe" select "Host Device"
Before you start VB again, as root do this:
Code:
chmod 666 /dev/ttyS0
That seems to work for me.
|
|
|
07-31-2009, 10:39 PM
|
#5
|
Member
Registered: Jul 2009
Posts: 31
Original Poster
Rep:
|
Dear foodown,
Thanks, for helping me serial port of my VM is working nicely.
thanks again my friend for help.
Regards,
Akram
|
|
|
All times are GMT -5. The time now is 09:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|