Re: PPPoE and Radius on 6.0RC1

From: Marcin Jessa <lists_at_yazzy.org>
Date: Fri, 21 Oct 2005 11:29:34 +0200
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
Received on Fri Oct 21 2005 - 07:29:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:46 UTC