From owner-freebsd-hackers Sun Oct 20 14:11:47 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E07837B401 for ; Sun, 20 Oct 2002 14:11:46 -0700 (PDT) Received: from cisco.com (sword.cisco.com [161.44.208.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCF5943E97 for ; Sun, 20 Oct 2002 14:11:45 -0700 (PDT) (envelope-from sjt@cisco.com) Received: from sjt-u10.cisco.com (sjt-u10.cisco.com [10.85.30.63]) by cisco.com (8.8.5-Cisco.1/8.8.8) with ESMTP id RAA10220; Sun, 20 Oct 2002 17:11:39 -0400 (EDT) Received: (sjt@localhost) by sjt-u10.cisco.com (8.8.5-Cisco.1/CISCO.WS.1.2) id RAA03434; Sun, 20 Oct 2002 17:11:39 -0400 (EDT) Date: Sun, 20 Oct 2002 17:11:39 -0400 From: Steve Tremblett To: Julian Elischer Cc: freebsd-hackers@freebsd.org Subject: Re: dumb Q: netgraph node init? Message-ID: <20021020171139.B1512@sjt-u10.cisco.com> References: <20021020141042.B20092@sjt-u10.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from julian@elischer.org on Sun, Oct 20, 2002 at 01:43:42PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG +---- Julian Elischer wrote: | > I have NETGRAPH_ETHER and NETGRAPH_PPPOE in my kernel config. I don't | > start pppoe at boot time. Before ppp is up, ngctl shows ng_ether but | > not pppoe. What defines how ng_ether is loaded and hooked at boot time | > as opposed to ng_pppoe loaded and hooked automatically? | | ng_ether nodes are attached automatically to all exisiting ethernet | interfaces. | ng_pppoe nodes are only created when you ask for one. | | do a 'types' commnad in ngctl to see possible types to make. How does invoking pppd result in the PPPoE node being hooked and initialized? It looks like pppd treats a device called "PPPoE:xl0" as a serial device or am I missing something? Please excuse me if these questions are inappropriate for this list. -- Steve Tremblett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message