Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2007 11:07:43 +0300
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        "Alain G. Fabry" <alainfabry@belgacom.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 2nd try : tap SIOCIFCREATE failure
Message-ID:  <20071129080743.GA6623@darklight.org.ru>
In-Reply-To: <20071128140034.GA65209@ducati-748.3rdrock.kicks-ass.net>
References:  <20071128140034.GA65209@ducati-748.3rdrock.kicks-ass.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <yuri.pankov@gmail.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071129080743.GA6623>