LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-13-2006, 12:33 AM   #1
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 638
Blog Entries: 1

Rep: Reputation: 52
Qemu network setup.


I have Fedora Core 4 on my computer and I have it networked with another linux (not FC4) computer. To make it simple, I set the IP address of the FC4 computer to 192.168.1.6 and the IP address of the other computer to 192.168.1.5 and added the necessary lines to /etc/hosts on both computers. The 2 computers communicate just fine with NFS. Now, I want to add a qemu virtual machine to the network. I got qemu to run on the FC4 computer but, to do so, I have to leave out the "-net user" option or qemu quits with "Could not get DNS address." Qemu documentation references "user mode network stack" when it mentions the "-net user" option but doesn't say what to do in regards to the error that I am getting. It looks like something simple. But what?
 
Old 06-15-2006, 02:40 AM   #2
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 638

Original Poster
Blog Entries: 1

Rep: Reputation: 52
Well, it turns out that I don't need to put qemu into the network to have linux get to its image file(s) after all.

Code:
mount -t auto <image file> <mount point> -o loop,offset=XXXXXX
...makes the image file's contents accessible through the linux filesystem, which works just fine for me.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Manual Network Setup Works, /etc/network/interfaces doesn't verdeboy2k Linux - Wireless Networking 0 05-31-2006 06:56 PM
Can't setup network with rtl8150 usb network adapter IvanJ Linux - Networking 1 12-27-2005 12:16 AM
qemu: qemu stopped right after command exec bitpicker Linux - Software 1 03-04-2005 11:25 PM
Home network setup with network firewall/router Gates1026 Linux - Networking 4 01-17-2005 08:26 PM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration