hi Alan, I now fixed that dictonary issue. I followed the guide lines from here http://wiki.freeradius.org/PopTop to see if pptp and radius works. I am getting this error : /var/log/message Mar 27 15:11:54 test45 pptpd[2121]: CTRL: Starting call (launching pppd, opening GRE) Mar 27 15:11:54 test45 pppd[2123]: Plugin radius.so loaded. Mar 27 15:11:54 test45 pppd[2123]: RADIUS plugin initialized. Mar 27 15:11:54 test45 pppd[2123]: Plugin radattr.so loaded. Mar 27 15:11:54 test45 pppd[2123]: RADATTR plugin initialized. Mar 27 15:11:54 test45 pppd[2123]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded. Mar 27 15:11:54 test45 pppd[2123]: pppd 2.4.5 started by root, uid 0 Mar 27 15:11:54 test45 pppd[2123]: Using interface ppp0 Mar 27 15:11:54 test45 pppd[2123]: Connect: ppp0 <--> /dev/pts/1 Mar 27 15:11:57 test45 pptpd[2121]: CTRL: Ignored a SET LINK INFO packet with real ACCMs! Mar 27 15:11:58 test45 pppd[2123]: Peer testuser failed CHAP authentication Mar 27 15:11:58 test45 pppd[2123]: Connection terminated. Mar 27 15:11:58 test45 pppd[2123]: Exit. Mar 27 15:11:58 test45 pptpd[2121]: GRE: read(fd=6,buffer=611860,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs Mar 27 15:11:58 test45 pptpd[2121]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7) And in /var/log/radius/radius.log -- i get nothing Tue Mar 27 13:29:13 2012 : Info: Loaded virtual server <default> Tue Mar 27 13:29:13 2012 : Info: Ready to process requests. Tue Mar 27 14:23:53 2012 : Info: Exiting normally. Tue Mar 27 14:23:53 2012 : Info: Loaded virtual server inner-tunnel Tue Mar 27 14:23:53 2012 : Info: Loaded virtual server <default> Tue Mar 27 14:23:53 2012 : Info: Ready to process requests. Tue Mar 27 14:58:03 2012 : Info: Exiting normally. Tue Mar 27 15:03:26 2012 : Info: Loaded virtual server inner-tunnel Tue Mar 27 15:03:26 2012 : Info: Loaded virtual server <default> Tue Mar 27 15:03:26 2012 : Info: Ready to process requests. I must be doing something wrong. On Mon, Mar 26, 2012 at 1:56 PM, Alan DeKok <aland@deployingradius.com>wrote:
Khapare Joshi wrote:
I am now progressing - i think. but got stucked. I enabled the ldap plugin. radiusd -X display all the correct info. but when try to connect vpn from windows client. here is the error i get. Maybe you guys have some tips on it. ... Mar 26 10:58:17 blade201 pppd[21163]: rc_read_dictionary: unknown vendor on line 22 of dictionary /etc/radiusclient-ng/dictionary.microsoft Mar 26 10:58:17 blade201 pppd[21163]: RADIUS: Can't read dictionary file /etc/radiusclient-ng/dictionary
What is unclear about that message?
It looks like you edited the dictionary file, and broke it. Don't do that.
it seems i need some lines in my dictonary.microsoft file for pppd. How do i add this ? all I am trying to do here is pppd to delegate ip pool for client and radius to authentication for user via ldap. where I am missing thing ?
You don't edit the dictionaries. All of the configuration is done in FreeRADIUS.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html