[Linux-disciples] Qemu and wireless

Adam Rosi-Kessel adam at rosi-kessel.org
Sun May 8 13:53:45 EDT 2005


On Sun, May 08, 2005 at 01:45:13PM -0400, Stephen R Laniel wrote:
> The layers of emulation are confusing me. It's emulating a
> RealTek RTL8029 NIC, which seems to be working just fine.
> But it can't seem to contact my DHCP server. My laptop's
> working over wireless, and I can't figure out whether that
> has something to do with it.

The emulated PC can't connect directly to your real DHCP server. It has
to go through a gateway--which is your laptop.  

qemu handles all of this pretty gracefully, but I believe you need
tun/tap support in your kernel, and your qemu process needs permission to
access /dev/net/tun. Typically, qemu will assign your virtual PC an IP
address of 10.0.2.x, the "firewall" will be 10.0.2.2, and your real box
will handle it from there.

Check out sections 3.7 and 3.8 of qemu-doc.html.  If I recall correctly,
it just worked automatically with tun/tap support turned on and the
modules loaded.
-- 
Adam Rosi-Kessel
http://adam.rosi-kessel.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050508/7fb3657f/attachment.pgp


More information about the Linux-disciples mailing list