LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   windows pppoe dial up to pppoeserver + freeradius2 on centos5.5 (http://www.linuxquestions.org/questions/linux-newbie-8/windows-pppoe-dial-up-to-pppoeserver-freeradius2-on-centos5-5-a-816274/)

rain.no 06-25-2010 01:27 AM

windows pppoe dial up to pppoeserver + freeradius2 on centos5.5
 
hi guy,
freeradius + mysql works fine,i had used radtest command get passed!
after dialed pppoe connection on xp. see centos5.5 /var/log/message

Jun 25 13:38:57 localhost pppd[4765]: Plugin radius.so loaded.
Jun 25 13:38:57 localhost pppd[4765]: RADIUS plugin initialized.
Jun 25 13:38:57 localhost pppd[4765]: Plugin radattr.so loaded.
Jun 25 13:38:57 localhost pppd[4765]: RADATTR plugin initialized.
Jun 25 13:38:57 localhost pppd[4765]: pppd 2.4.4 started by root, uid 0
Jun 25 13:38:57 localhost pppd[4765]: Using interface ppp0
Jun 25 13:38:57 localhost pppd[4765]: Connect: ppp0 <--> /dev/pts/1
Jun 25 13:38:59 localhost pppd[4765]: rc_avpair_new: unknown attribute 6
Jun 25 13:38:59 localhost pppd[4765]: rc_avpair_new: unknown attribute 7
Jun 25 13:38:59 localhost pppd[4765]: rc_avpair_new: unknown attribute 1
Jun 25 13:38:59 localhost pppd[4765]: rc_avpair_new: unknown attribute 60
Jun 25 13:38:59 localhost pppd[4765]: rc_avpair_new: unknown attribute 3
Jun 25 13:38:59 localhost pppd[4765]: rc_avpair_new: unknown attribute 4
Jun 25 13:38:59 localhost pppd[4765]: Peer radtest failed CHAP authentication

i googled many pages.the problem justs like the feeradius2 dictionary configuration.so help me please..

/etc/ppp/pppoe-server-options

plugin radius.so
plugin radattr.so
radius-config-file /etc/ppp/radiusclient.conf
require-chap
login
auth
lcp-echo-interval 10
lcp-echo-failure 2


/etc/ppp/radiusclient.conf
auth_order radius
login_tries 3
login_timeout 60
nologin /sbin/nologin
#issue /etc/ppp/radius/issue
authserver localhost:1812
acctserver localhost:1813
servers /etc/ppp/servers.conf
dictionary /etc/raddb/dictionary
#login_radius /usr/local/sbin/login.radius
seqfile /var/run/radius.seq
mapfile /etc/ppp/port-id-map
#default_realm
radius_timeout 10
radius_retries 3
login_local /bin/login


/etc/ppp/dictoinary
$INCLUDE /usr/share/freeradius/dictionary.microsoft
$INCLUDE /usr/share/freeradius/dictionary.ascend
$INCLUDE /usr/share/freeradius/dictionary.merit
$INCLUDE /usr/share/freeradius/dictionary.compat


All times are GMT -5. The time now is 07:04 AM.