From owner-freebsd-net@FreeBSD.ORG Fri Sep 8 07:26:44 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0544416A4DA for ; Fri, 8 Sep 2006 07:26:44 +0000 (UTC) (envelope-from den@FreeBSD.org) Received: from volginfo.ru (ns.volginfo.ru [217.23.84.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 805BE43D46 for ; Fri, 8 Sep 2006 07:26:43 +0000 (GMT) (envelope-from den@FreeBSD.org) Received: from volginfo.ru (localhost.volginfo.ru [127.0.0.1]) by volginfo.ru (Postfix) with ESMTP id 181131F15 for ; Fri, 8 Sep 2006 11:26:44 +0400 (MSD) Received: from [192.168.1.32] (llp-13.vistcom.ru [217.23.84.68]) by volginfo.ru (Postfix) with ESMTP id C39D51F14 for ; Fri, 8 Sep 2006 11:26:43 +0400 (MSD) Message-ID: <45011B31.1080103@FreeBSD.org> Date: Fri, 08 Sep 2006 11:26:41 +0400 From: Denis Peplin User-Agent: Thunderbird 1.5.0.5 (X11/20060802) MIME-Version: 1.0 To: freebsd-net@FreeBSD.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: Subject: ng_ether and interface naming (bug or feature?) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 07:26:44 -0000 Hello! I have found, that changing interface names from rc.conf can break ng_ether when it loaded from loader.conf or compiled into kernel. For example, when mpd is used as PPPoE server, rc.conf contain ifconfig_fxp0_name="net1" and /boot/loader.conf contain ng_ether_load="YES", the mpd logs: exec: /sbin/ifconfig net1 up Cannot send a netgraph message: net1::No such file or directory Error in creation ng_pppoe node on net1: There only two workarounds: avoid using interface naming, or loading ng_ether after renaming interfaces. Is this a bug or a feature, that just wait somebody to document it?