From owner-freebsd-emulation@FreeBSD.ORG Thu Mar 10 03:20:33 2005 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E748F16A4CE for ; Thu, 10 Mar 2005 03:20:33 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D48F843D1F for ; Thu, 10 Mar 2005 03:20:32 +0000 (GMT) (envelope-from freebsd-emulation@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1D9EDV-0001Vf-Bs for freebsd-emulation@freebsd.org; Thu, 10 Mar 2005 04:20:05 +0100 Received: from pcp08490587pcs.levtwn01.pa.comcast.net ([68.83.169.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Mar 2005 04:20:05 +0100 Received: from apeiron+usenet by pcp08490587pcs.levtwn01.pa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Mar 2005 04:20:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-emulation@freebsd.org From: Christopher Nehren Date: Thu, 10 Mar 2005 03:06:55 +0000 (UTC) Organization: /usr/bin/false Lines: 30 Message-ID: References: <422FB236.3000706@verizon.net> X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pcp08490587pcs.levtwn01.pa.comcast.net User-Agent: slrn/0.9.8.1 (FreeBSD) Sender: news X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner-SpamScore: s X-MailScanner-From: freebsd-emulation@m.gmane.org X-MailScanner-To: freebsd-emulation@freebsd.org Subject: Re: QEMU needs /dev/tun0 ? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 03:20:34 -0000 -----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.