From owner-freebsd-questions Fri Aug 30 9:15:50 2002 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 204E637B400 for ; Fri, 30 Aug 2002 09:15:46 -0700 (PDT) Received: from grillolja.cs.umu.se (grillolja.cs.umu.se [130.239.40.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6613B43E3B for ; Fri, 30 Aug 2002 09:15:45 -0700 (PDT) (envelope-from tdv94ped@cs.umu.se) Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id 0D78B9F87; Fri, 30 Aug 2002 18:15:44 +0200 (MEST) Received: from cs.umu.se (h11n1c1o1023.bredband.skanova.com [213.64.164.11]) by grillolja.cs.umu.se (Postfix) with ESMTP id CFB949F86; Fri, 30 Aug 2002 18:15:40 +0200 (MEST) Message-ID: <3D6F9A23.9138D6BC@cs.umu.se> Date: Fri, 30 Aug 2002 18:15:31 +0200 From: Paul Everlund X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: sv,en MIME-Version: 1.0 To: Vasily Cc: freebsd-questions@FreeBSD.ORG Subject: Re: netgraph problem References: <4087581973.20020830184400@arfatur.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new amavisd-new-20020630 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Vasily wrote: > > Hi ALL, > > I've tried to organize connection via ADSL modem using PPPoE (PPP > over Ethernet). According to instructions I included in KERNEL > options NETGRAPH > After compilation I tried > --------------------------------- > #/usr/sbin/ppp > Working in interactive mode > Using interface: tun0 > ppp ON myhost> > --------------------------------- > then > --------------------------------- > ppp ON myhost> dial > module_register: module netgraph already exists! > linker_file_sysinit "netgraph.ko" failed to register! 17 [cut] My first guess would be, that if you run kldstat, you will see that netgraph.ko is present. Also you have it compiled explicitly in the kernel, and therefore they clash. Disable netgraph.ko, loaded as a module at startup. My own kernel config file, network part, looks as this, if it is of any help (you should make changes where appropriate): #------------- #- Networking #------------- options INET #InterNETworking options ICMP_BANDLIM #Rate limit bad replies options IPFIREWALL #Firewall options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=50 options IPDIVERT #Divert sockets #options TCP_DROP_SYNFIN #Disabled if running a web- server. # Enable PPPoE options NETGRAPH options NETGRAPH_ETHER options NETGRAPH_SOCKET options NETGRAPH_PPPOE # ISA Ethernet NICs. # 'device ed' requires 'device miibus' device miibus device ed0 at isa? port 0x300 irq 10 iomem 0xd8000 device ed1 at isa? port 0x320 irq 11 iomem 0xd8000 # Pseudo devices - the number indicates how many units to allocate. pseudo-device loop #Network loopback device pseudo-device ether #Generic Ethernet pseudo-device tun #Tunnel driver (PPPoE) pseudo-device bpf #Berkeley packet filter This works with FreeBSD 4.6-p1, ADSL and a PPPoE modem. Good luck! Best regards, Paul > > -- > Best regards, > > Vasily > admin@arfatur.ru > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message