Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2005 13:22:36 +0000
From:      Marcin Jessa <lists@yazzy.org>
To:        <fooler@skyinet.net>
Cc:        glebius@FreeBSD.org, net@FreeBSD.org
Subject:   Re: PPPoE and Radius on 6.0RC1
Message-ID:  <20051024132236.01e59929.lists@yazzy.org>
In-Reply-To: <016201c5d845$84992820$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> <20051021112934.7c857fcc.lists@yazzy.org> <002801c5d634$fdc66bd0$42764eca@ilo.skyinet.net> <20051021145523.097758f5.lists@yazzy.org> <016201c5d845$84992820$42764eca@ilo.skyinet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 24 Oct 2005 10:49:13 +0800
<fooler@skyinet.net> wrote:

> ----- Original Message ----- 
> From: "Marcin Jessa" <lists@yazzy.org>
> To: <fooler@skyinet.net>
> Cc: <glebius@FreeBSD.org>; <current@FreeBSD.org>; <net@FreeBSD.org>
> Sent: Friday, October 21, 2005 8:55 PM
> Subject: Re: PPPoE and Radius on 6.0RC1
> 
> 
> > Thanks a lot.
> > I recompiled my kernel with the netgraph options and set up the
> > server with your configs. Besides from the fact that I only use my
> > fxp0 in the tests.
> > root      787  0.0  0.1  1256   796  ??  Ss    2:41PM
> > 0:00.02 /usr/libexec/pppoed -l PPPoE -P /var/run/pppoed.pid -p *
> > fxp0
> 
> ok... but i would like to suggest your pppoe clients must be facing
> the ip less interface nic so that clients would not put  static
> configuration on their side to defeat your pppoe configuration :->

Yeah I know. This is just a test setup so it's ok with only one iface. 

> > I disabled radius as well adding username and password by
> > hand.
> 
> without radius does it worked?
> 
> > Although the radius itself works fine when I test it with radtest
> > and user's credits.
> > Just like before, nothing gets loged in ppp.log and the ppp process
> > itself never gets started up by the pppoe daemon.
> 
> does your radius server supports microsoft chap version 2? my config
> given to you only authenticates mschapv2...

It does. Everything is working now. I have recompiled my kernel to
match exactly the one I had with working PPPoE and I am set.
Although I have seen a strange thing. Enabling support for chap, mschap
and mschapv2 does not work at the same time.
A client can connect only with chap when all the others are enabled.
When I enable e.g. mschapv2 only I can login using mschapv2 just fine
then.
Any idea how to make ppp support all the methods at the same time so
the client can chose what to use?
I remember this worked fine before last I tried it on 5.x.


 
> > "on receipt of the SUCCESS indication, pppoed
> > will execute exec /usr/sbin/ppp -direct label"
> > - This part is not taking place....
> 
> actually pppoed did executed ppp.... ppp will exit immediately if it
> sees something wrong with its configuration, authentication and
> others...

It's working now after lots of tweaking with ppp config and kernel
options.
Thanks a lot.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051024132236.01e59929.lists>