From owner-freebsd-questions@FreeBSD.ORG Thu Nov 29 08:08:08 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF55716A419 for ; Thu, 29 Nov 2007 08:08:08 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.org.ru (ipv6.darklight.org.ru [IPv6:2001:470:1f07:84::1]) by mx1.freebsd.org (Postfix) with ESMTP id 1967413C44B for ; Thu, 29 Nov 2007 08:08:07 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.org.ru (yuri@darklight.org.ru [IPv6:::1]) by darklight.org.ru (8.14.2/8.14.2) with ESMTP id lAT87isA007147; Thu, 29 Nov 2007 11:07:44 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.2/8.14.2/Submit) id lAT87hOc007146; Thu, 29 Nov 2007 11:07:43 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f Date: Thu, 29 Nov 2007 11:07:43 +0300 From: Yuri Pankov To: "Alain G. Fabry" Message-ID: <20071129080743.GA6623@darklight.org.ru> References: <20071128140034.GA65209@ducati-748.3rdrock.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071128140034.GA65209@ducati-748.3rdrock.kicks-ass.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-questions@freebsd.org Subject: Re: 2nd try : tap SIOCIFCREATE failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2007 08:08:09 -0000 On Wed, Nov 28, 2007 at 03:00:35PM +0100, Alain G. Fabry wrote: > > When creating the tap interface, my system gives the following > > FreeBSD# uname -a > FreeBSD FreeBSD 6.2-RELEASE > FreeBSD# kldstat > Id Refs Address Size Name > 1 11 0xc0400000 6f7554 kernel > 2 1 0xc0af8000 140c0 snd_hda.ko > 3 2 0xc0b0d000 479a8 sound.ko > 4 1 0xc0b55000 1d278 kqemu.ko > 5 1 0xc0b73000 8ea4 aio.ko > 6 1 0xc4f44000 9000 if_bridge.ko > 7 1 0xc5079000 16000 linux.ko > 8 1 0xc60ce000 4000 if_tap.ko > FreeBSD# ifconfig tap0 create > ifconfig: SIOCIFCREATE: Invalid argument > > > Trying to get this running so my qemu clients have network access... > > Thanks in advance, > > Alain Hrm, getting the same on 5.5/6.2, though it works on 7.0/-CURRENT. Try building `device tap' in kernel, and if it fails, I'd ask -net@. HTH, -- Yuri Pankov