Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2014 01:52:38 -0800 (PST)
From:      Nomad Esst <noname.esst@yahoo.com>
To:        "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   ifconfig siocifcreate invalid argument
Message-ID:  <1392630758.77600.YahooMailNeo@web162704.mail.bf1.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi
Recently I've customized my kernel and deleted most of unused devices and options. When I try to create a a gre interface I get this error: 


ifconfig: siocifcreate2: invalid argument

I'm using FreeBSD9.2 AMD 64

What's the problem?
From owner-freebsd-hackers@FreeBSD.ORG  Mon Feb 17 10:15:49 2014
Return-Path: <owner-freebsd-hackers@FreeBSD.ORG>
Delivered-To: freebsd-hackers@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 723BED56
 for <freebsd-hackers@freebsd.org>; Mon, 17 Feb 2014 10:15:49 +0000 (UTC)
Received: from mailhost.netlab.sk (mailhost.netlab.sk [84.245.65.10])
 (using SSLv3 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id E0F191C59
 for <freebsd-hackers@freebsd.org>; Mon, 17 Feb 2014 10:15:48 +0000 (UTC)
Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan)
 by mailhost.netlab.sk with ESMTPA; Mon, 17 Feb 2014 11:10:39 +0100
 id 005080C2.5301E01F.00001B77
Date: Mon, 17 Feb 2014 11:10:35 +0100
From: Milan Obuch <freebsd-hackers@dino.sk>
To: freebsd-hackers@freebsd.org
Subject: Re: ifconfig siocifcreate invalid argument
Message-ID: <20140217111035.328baa3f@zeta.dino.sk>
In-Reply-To: <1392630758.77600.YahooMailNeo@web162704.mail.bf1.yahoo.com>
References: <1392630758.77600.YahooMailNeo@web162704.mail.bf1.yahoo.com>
X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; i386-portbld-freebsd10.0)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: Nomad Esst <noname.esst@yahoo.com>
X-BeenThere: freebsd-hackers@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Technical Discussions relating to FreeBSD
 <freebsd-hackers.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-hackers>, 
 <mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers/>;
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,
 <mailto:freebsd-hackers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Feb 2014 10:15:49 -0000

On Mon, 17 Feb 2014 01:52:38 -0800 (PST)
Nomad Esst <noname.esst@yahoo.com> wrote:

> Hi
> Recently I've customized my kernel and deleted most of unused devices
> and options. When I try to create a a gre interface I get this error: 
> 
> 
> ifconfig: siocifcreate2: invalid argument
> 
> I'm using FreeBSD9.2 AMD 64
> 
> What's the problem?
>

If you do not have 'device gre' in kernel config and module if_gre is
not loaded automatically, you need to do it yourself - just use
'kldload if_gre' before you try to create interface greN.

Regards,
Milan



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