[RP-PPPoE] Question on PPPoE with radius.

Ben Greear greearb at candelatech.com
Wed Jun 15 00:58:02 EDT 2011


On 06/14/2011 07:18 PM, Ben Greear wrote:
> On 06/14/2011 06:34 PM, Insane Laughing Clown wrote:
>> On 06/14/2011 05:16 PM, Ben Greear wrote:
>>> Hello!
>>
>> Hello Ben, thanks again for 8021q!
>
> You're welcome!
>
>>
>>>
>>>
>>> From /var/log/messages on build-32:
>>> Jun 14 17:02:54 build-32 pppoe-server[464]: Session 15 created for
>>> client 00:90:0b:13:ed:ea (10.67.15.15) on br0 using Service-Name ''
>>> Jun 14 17:02:54 build-32 pppd[464]: Plugin radius.so loaded.
>>> Jun 14 17:02:54 build-32 pppd[464]: RADIUS plugin initialized.
>>> Jun 14 17:02:54 build-32 pppd[464]: Plugin radattr.so loaded.
>>> Jun 14 17:02:54 build-32 pppd[464]: RADATTR plugin initialized.
>>> Jun 14 17:02:54 build-32 pppd[464]: pppd 2.4.5 started by root, uid 0
>>> Jun 14 17:02:54 build-32 pppd[464]: Using interface ppp0
>>> Jun 14 17:02:54 build-32 pppd[464]: Connect: ppp0 <--> /dev/pts/0
>>> Jun 14 17:02:55 build-32 pppd[464]: EAP: Identity prompt "Name"
>>> Jun 14 17:02:55 build-32 pppd[464]: EAP: unauthenticated peer name "ben"
>>> Jun 14 17:02:55 build-32 pppd[464]: EAP authentication succeeded
>>> Jun 14 17:02:55 build-32 pppd[464]: local IP address 10.0.0.1
>>> Jun 14 17:02:55 build-32 pppd[464]: remote IP address 10.67.15.15
>>>
>>>
>>> Any idea what I might be doing wrong?
>>>
>>
>> For starters, what's in your /etc/ppp/options file? It looks to me like you are locally authenticating EAP and so it doesn't even get a chance to consult
>> radius, and I think the reason would have to be eap settings in ppp. There are some other issues here if you intend to do more than soley test authentications
>> but lets start with that.
>
> This is server side:
>
> [root at build-32 ~]# more /etc/ppp/options
> lock
> [root at build-32 ~]#
>
>
> And on the pppoe client side:
>
> [root at lec2010-ath9k-1 ~]# more /etc/ppp/options
> lock
> [root at lec2010-ath9k-1 ~]#

I think I'm getting closer, but it seems that the /etc/radiusclient/port-id-map
doesn't exist anywhere on my system.  Any idea what that file should look like
when using freeradius?

Jun 14 21:51:05 build-32 pppoe-server[1859]: Session 23 created for client 00:90:0b:13:ed:ea (10.67.15.23) on br0 using Service-Name ''
Jun 14 21:51:05 build-32 pppd[1859]: Plugin radius.so loaded.
Jun 14 21:51:05 build-32 pppd[1859]: RADIUS plugin initialized.
Jun 14 21:51:05 build-32 pppd[1859]: Plugin radattr.so loaded.
Jun 14 21:51:05 build-32 pppd[1859]: RADATTR plugin initialized.
Jun 14 21:51:05 build-32 pppd[1859]: pppd 2.4.5 started by root, uid 0
Jun 14 21:51:05 build-32 pppd[1859]: Using interface ppp0
Jun 14 21:51:05 build-32 pppd[1859]: Connect: ppp0 <--> /dev/pts/9
Jun 14 21:51:06 build-32 pppd[1859]: EAP: Identity prompt "Name"
Jun 14 21:51:06 build-32 pppd[1859]: /etc/radiusclient/radiusclient.conf: mapfile not specified
Jun 14 21:51:06 build-32 pppd[1859]: RADIUS: Can't read config file /etc/radiusclient/radiusclient.conf
Jun 14 21:51:06 build-32 pppd[1859]: Peer ben failed CHAP authentication
Jun 14 21:51:06 build-32 pppd[1859]: Connection terminated.

Thanks,
Ben

>
> Thanks,
> Ben
>
>>
>> -ILC
>> _______________________________________________
>> RP-PPPoE mailing list
>> RP-PPPoE at lists.roaringpenguin.com
>> http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/rp-pppoe
>
>


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


More information about the RP-PPPoE mailing list