PPPoE and Radius on 6.0RC1

Marcin Jessa lists at yazzy.org
Fri Oct 21 02:29:39 PDT 2005


On Fri, 21 Oct 2005 09:45:02 +0800
<fooler at skyinet.net> wrote:

> ----- Original Message ----- 
> From: "Marcin Jessa" <lists at yazzy.org>
> To: "Marcin Jessa" <lists at yazzy.org>
> Cc: <glebius at FreeBSD.org>; <current at FreeBSD.org>; <net at 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


More information about the freebsd-net mailing list