From owner-freebsd-questions@FreeBSD.ORG Tue May 13 12:15:21 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32D1F37B401 for ; Tue, 13 May 2003 12:15:21 -0700 (PDT) Received: from peedub.jennejohn.org (p213.54.209.93.tisdip.tiscali.de [213.54.209.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7C9143F75 for ; Tue, 13 May 2003 12:15:19 -0700 (PDT) (envelope-from garyj@jennejohn.org) Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.9/8.11.6) with ESMTP id h4DJFAKo011632; Tue, 13 May 2003 21:15:12 +0200 (CEST) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200305131915.h4DJFAKo011632@peedub.jennejohn.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Zhi Hao Simon Lai In-Reply-To: Message from Zhi Hao Simon Lai <17E49628-84D7-11D7-8E77-0050E460B252@bigpond.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 13 May 2003 21:15:10 +0200 From: Gary Jennejohn cc: freebsd-questions@freebsd.org Subject: Re: NETGRAPH SUPPORT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 19:15:21 -0000 Zhi Hao Simon Lai writes: > Hello, > > I'm a newbie to FreeBSD and I'm currently trying to set up a my machine > as a gateway via an ADSL connection and two Realtek 10/100 ethernet > cards. > > I have installed a standard developers distribution of FreeBSD > 5.0-RELEASE. My kernel is a standard one. > > I tried to get my machine connected using ppp. However I get the > following errors: > > rusty# ppp > Working in interactive mode > Using interface: tun0 > ppp ON rusty> dial bigpond > Warning: netgraph: Cannot load module > Warning: ng_ether: Cannot load module > Warning: ng_pppoe: Cannot load module > Warning: ng_socket: Cannot load module > Warning: Cannot create netgraph socket node: Operation not permitted > ppp ON rusty> Warning: netgraph: Cannot load module > Warning: ng_ether: Cannot load module > Warning: ng_pppoe: Cannot load module > Warning: ng_socket: Cannot load module > Warning: Cannot create netgraph socket node: Operation not permitted > Warning: deflink: Device (PPPoE:rl0:bigpond) must begin with a '/', a > '!' or contain at least one ':' > Looks like you need to make a new kernel with these options: options NETGRAPH options NETGRAPH_ETHER options NETGRAPH_PPP options NETGRAPH_PPPOE options NETGRAPH_SOCKET which are what I used when I was still using pppoe. --- Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de