[RP-PPPoE] Question on PPPoE with radius.

Ben Greear greearb at candelatech.com
Tue Jun 14 20:16:32 EDT 2011


Hello!

I'm trying to set up a simple network to learn about
RADIUS.

I'm using Fedora 13 on the pppoe-server side, and I'd like
for it to use a different machine (192.168.100.138) as the
RADIUS server.  .138 will be running freeradius.

But, I never see any RADIUS messages sent towards .138, and yet things
still appear to authenticate (I have some entries in chap-secrets that appear to
be being used).

I'm starting pppoe-server as:

pppoe-server -I br0


[root at build-32 radiusclient]# cat /etc/ppp/pppoe-server-options
# PPP options for the PPPoE server
# LIC: GPL
#require-pap
debug
login
auth
plugin radius.so
plugin radattr.so
lcp-echo-interval 10
lcp-echo-failure 2
radius-config-file /etc/radiusclient/radiusclient.conf


[root at build-32 radiusclient]# cat /etc/radiusclient/radiusclient.conf
auth_order radius
login_tries 4
login_timeout 60
nologin /etc/nologin
issue /etc/radiusclient/issue
authserver 192.168.100.138
acctserver 192.168.100.138
servers /etc/radiusclient/servers
dictionary /usr/share/radiusclient/dictionary
login_radius /usr/sbin/login.radius
seqfile /var/run/radius.seq
mapfile /etc/radiusclient/port-id-map
default_realm
radius_timeout 10
radius_retries 3
#bindaddr *
login_local /bin/login

[root at build-32 radiusclient]# more /etc/radiusclient/servers
#Server Name or Client/Server pair              Key
#----------------                               ---------------
192.168.100.138                                 testing123	


 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?

Thanks,
Ben


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



More information about the RP-PPPoE mailing list