From owner-freebsd-current@FreeBSD.ORG Thu Oct 20 11:15:54 2005 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8F1216A42B; Thu, 20 Oct 2005 11:15:54 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3627543D5A; Thu, 20 Oct 2005 11:15:53 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from 217-13-2-82.dd.nextgentel.com ([217.13.2.82] helo=marcin) by mail.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1ESYOI-0002nL-FU; Thu, 20 Oct 2005 13:15:23 +0200 Date: Thu, 20 Oct 2005 13:15:49 +0200 From: Marcin Jessa To: Gleb Smirnoff Message-Id: <20051020131549.5e432073.lists@yazzy.org> In-Reply-To: <20051020070145.GA59364@cell.sick.ru> References: <20051019235111.2225345e.lists@yazzy.org> <20051020070145.GA59364@cell.sick.ru> Organization: YazzY.org X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.8; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.5 (--) Cc: current@FreeBSD.org, net@FreeBSD.org Subject: Re: PPPoE and Radius on 6.0RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 11:15:55 -0000 On Thu, 20 Oct 2005 11:01:45 +0400 Gleb Smirnoff wrote: > On Wed, Oct 19, 2005 at 11:51:11PM +0200, Marcin Jessa wrote: > M> It seems like PPPoE stoped working with support for radius on 6.0 > M> The log of pppoe and freeradius does not show pppoe attempting to > M> even talk to the radius server. Additionally this message pops up > M> when enabling pppoed: WARNING: attempt to net_add_domain(netgraph) > M> after domainfinalize() My setup worked fine before on FreeBSD 5.x > M> Is that a known issue and is it being worked on? > > Please show your PPPoE server configuration. Do you use pppoed or mpd? I use pppoed. Adding netgraph_load="YES" ng_socket_load="YES" to /boot/loader.conf fixed it on my 6.0RC1 ( thanks Julian Elischer ) Frankly I don't understand why this is needed since pppoed loads those modules when it starts up. This is my ppp.conf, just for the record: default: #set log Chat Command Phase #turn on some logging. See man ppp.conf for info set log Chat Command Phase hdlc lqm ipcp enable mschapv2 mschap chap mppe #turn on chap and pap accounting #enable pap mschapv2 mschap chap mppe #turn on chap and pap accounting #enable pap #turn on chap and pap accounting allow mode direct #turn on ppp bridging enable proxy #turn on ppp proxyarping (redundant of above???) disable ipv6cp #we don't use ipv6, don't want the errors set mru 1472 #set mru below 1500 (PPPoE MTU issue) set mtu 1472 #set mtu below 1500 (PPPoE MTU issue) set timeout 0 #no mins time restriction on users #set timeout never set mppe 128 * set ifaddr 192.168.2.8 192.168.2.100-192.168.1.120 255.255.255.255 set log phase ipcp lcp debug #additional debugging nat enable yes set dns 192.168.2.45 192.168.2.8 #set speed sync set cd 3 # checks for the existence of carrier once per second for 5 seconds #set cd 5! #enable echo enable lqr set reconnect 1 5 # Should the line drop unexpectedly , a connection will be re-established after the given timeout. #Specify my wifi gateway IP as well as DHCP pool range set radius /etc/ppp/radius.conf #turn on radius auth and use this file accept dns #turn on dns cacheing/forwarding #enable pap mschapv2 mschap chap mppe #turn on chap and pap accounting disable pap pred1 deflate #disable pred1 and deflate compression along with pap deny pap pred1 deflate #refuse when ask for it