From owner-freebsd-net@FreeBSD.ORG Fri Oct 21 09:29:39 2005 Return-Path: X-Original-To: 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 91A1416A41F; Fri, 21 Oct 2005 09:29:39 +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 E341D43D45; Fri, 21 Oct 2005 09:29:38 +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 1EStD0-0002Gp-11; Fri, 21 Oct 2005 11:29:07 +0200 Date: Fri, 21 Oct 2005 11:29:34 +0200 From: Marcin Jessa To: Message-Id: <20051021112934.7c857fcc.lists@yazzy.org> In-Reply-To: <07c501c5d5e1$0ddf67f0$42764eca@ilo.skyinet.net> References: <20051019235111.2225345e.lists@yazzy.org> <20051020070145.GA59364@cell.sick.ru> <20051020131549.5e432073.lists@yazzy.org> <20051020123159.33f6fa33.lists@yazzy.org> <07c501c5d5e1$0ddf67f0$42764eca@ilo.skyinet.net> 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: glebius@FreeBSD.org, current@FreeBSD.org, net@FreeBSD.org Subject: Re: PPPoE and Radius on 6.0RC1 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, 21 Oct 2005 09:29:39 -0000 On Fri, 21 Oct 2005 09:45:02 +0800 wrote: > ----- Original Message ----- > From: "Marcin Jessa" > To: "Marcin Jessa" > Cc: ; ; > Sent: Thursday, October 20, 2005 8:31 PM > Subject: Re: PPPoE and Radius on 6.0RC1 > > > > Just tested the same setup on 7.0 built tonight and it did not work. > > The pppoed daemon never sends any requests to freeradius... > > take note that pppoed is the one processing pppoe frames while user > ppp is the one communicating with your radius server.... > > >> set radius /etc/ppp/radius.conf #turn on radius auth and > >> use > > what does your radius.conf says? auth 127.0.0.1:1812 secret_pass 3 3 acct 127.0.0.1:1813 secret_pass 3 3 I also tried with the IP of my wired nic auth 192.168.2.8:1812 witelcom123 3 3 acct 192.168.2.8:1813 witelcom123 3 3 Both hosts are enabled as radius clients in freeradius's config file. The problem seems to be ppp is never started by pppoe. and nothing shows in the ppp.log even with full debugging switched on. Running ppp manually and loading the default profile. # ppp Working in interactive mode Using interface: tun0 Warning: tun0: AIFADDR 192.168.2.8 -> 192.168.2.202 returns 0 ppp ON freakbs> load default Warning: tun0: DIFADDR 192.168.2.8 -> 192.168.2.202 returns 0 Warning: tun0: AIFADDR 192.168.2.8 -> 192.168.2.201 returns 0 ppp ON freakbs> show log Log: CCP Chat Command Connect Debug Filter IPCP IPV6CP LCP LQM Phase Radius TCP/IP Tun Warning Error Alert Local: Warning Error Alert Gives me (had to put it on the web, it would be unreadable here): http://www.yazzy.org/debug/ppp1.log Trying to auth user and running ppp in command line: ppp -direct default Gives http://www.yazzy.org/debug/ppp.log Marcin