QEMU needs /dev/tun0 ?

Christopher Nehren apeiron+usenet at coitusmentis.info
Wed Mar 9 19:20:34 PST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2005-03-10, bsdzz scribbled these
curious markings:
> I tried using the "-user-mode" networking, and it worked - I can ping 
> 10.0.2.2, but I cannot talk to any computer except my FreeBSD host.  So 
> I think I need to figure out "tun".

You won't be able to ping any systems other than the FreeBSD host
because of the way ping works. ping requires superuser access because of
what it does with the socket() that it uses. This is why it's suid to
root on your system. For the most part, I've found user-mode networking
to be sufficient for use with QEMU.

Best Regards,
Christopher Nehren
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFCL7pxk/lo7zvzJioRAlNvAJ93YtyVyJRrcOzbYdxgHCracjLnvACggTVY
dX0fM06Bq9sD4MaqEcbVRxU=
=Mv+2
-----END PGP SIGNATURE-----

-- 
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated". -- Ken Thompson
If you ask the wrong questions, you get answers like "42" and "God".
Unix is user friendly. However, it isn't idiot friendly.



More information about the freebsd-emulation mailing list