LinuxQuestions.org
Review your favorite Linux distribution.
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 02-20-2006, 10:58 AM   #1
tisource
Member
 
Registered: Feb 2002
Posts: 322

Rep: Reputation: 30
Looking for tutorial to help set up QEMU, networking


I'm looking for a QEMU tutorial to help me set up networking with QEMU 0.8. I need access to the local subnet, and I know there is a way to do it with OpenVPN (by creating a tap or tun device).

I have done this:
# openvpn --mktun --dev tap1
# qemu -m 256 -boot c -localtime -net nic,ifname=tap1 -hda winxp.img

And I get no network connectivity.

Any help (or a pointer to a good tutorial) would be highly appreciated, as I have fought this for a few weeks (on and off) now.

Thanks
 
Old 03-03-2006, 07:44 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
Have a look at http://www.h7.dion.ne.jp/~qemu-win/TapWin32-en.html
 
Old 03-03-2006, 10:35 AM   #3
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
I did get my networking to work. I had to add a "modprobe tun" option to get networking to work. This is my qemu command:

qemu -m 386 -boot c -localtime -net nic -net tap,ifname=tap1 -hda winxp.img -cdrom /dev/cdrom
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Qemu networking Again?! depam Linux - Software 6 02-28-2006 09:24 AM
qemu Networking, snapshot, disc swapping depam Linux - Software 0 02-18-2006 04:57 AM
QEMU networking bridge not working tisource Linux - Software 1 02-01-2006 01:29 PM
qemu--getting Samba networking going dgermann Linux - Networking 2 01-08-2006 02:47 PM
Qemu Emulation of Win32/MacOSX Support/Tutorial on Linux initialdrifteg6 Linux - Software 12 02-15-2005 12:32 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration