Date: Fri, 21 Oct 2005 11:29:34 +0200 From: Marcin Jessa <lists@yazzy.org> To: <fooler@skyinet.net> Cc: glebius@FreeBSD.org, current@FreeBSD.org, net@FreeBSD.org Subject: Re: PPPoE and Radius on 6.0RC1 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Oct 2005 09:45:02 +0800 <fooler@skyinet.net> wrote: > ----- Original Message ----- > From: "Marcin Jessa" <lists@yazzy.org> > To: "Marcin Jessa" <lists@yazzy.org> > Cc: <glebius@FreeBSD.org>; <current@FreeBSD.org>; <net@FreeBSD.org> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051021112934.7c857fcc.lists>