Freeradius with mysql ( Window 7 or xp client could not able to connect. )

28 views
Skip to first unread message

sanjay singh

unread,
Oct 30, 2013, 7:08:09 AM10/30/13
to cg...@googlegroups.com
Hi

I am using centos 5.9  and freeradius-1.1.3-1.6.el5 and mysql-5.0.95-5.el5_9
for radius server with mysql database

It is working fine with radtest but not with adding access point.

radtest sqltest sqltest123 172.16.111.20 1812 testing123
Sending Access-Request of id 87 to 172.16.111.20 port 1812
        User-Name = "sqltest"
        User-Password = "sqltest123"
        NAS-IP-Address = 255.255.255.255
        NAS-Port = 1812
rad_recv: Access-Accept packet from host 172.16.111.20:1812, id=87, length=20


i have configured the wireless access point ie. 172.16.111.55 and clients laptop ip address in the clients.conf


client 172.16.111.55 {
        secret = testing123
        shortname  = twenty
         nastype     = cisco
}
client 172.16.111.45 {
        secret = testing123
        shortname  = five
}


when from the clients side ie on win 7
i used to connect the error shown are 


rad_recv: Access-Request packet from host 172.16.111.55:3072, id=0, length=127
        User-Name = "sqltest"
        NAS-IP-Address = 172.16.111.55
        Called-Station-Id = "0018390ee7e5"
        Calling-Station-Id = "001e654e4fc2"
        NAS-Identifier = "0018390ee7e5"
        NAS-Port = 3
        Framed-MTU = 1400
        NAS-Port-Type = Wireless-802.11
        EAP-Message = 0x0200000c0173716c74657374
        Message-Authenticator = 0x71491c7135d13dfe4b9dffa81ecc1943
rlm_sql (sql): Reserving sql socket id: 3
rlm_sql (sql): Released sql socket id: 3
rlm_eap_md5: Issuing Challenge
Sending Access-Challenge of id 0 to 172.16.111.55 port 3072
        EAP-Message = 0x010100160410403d0f01c702d220d91d12a1ab639c6c
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0x074671864dd457ca6e1f5d0e77205b06
rad_recv: Access-Request packet from host 172.16.111.55:3072, id=0, length=139
        User-Name = "sqltest"
        NAS-IP-Address = 172.16.111.55
        Called-Station-Id = "0018390ee7e5"
        Calling-Station-Id = "001e654e4fc2"
        NAS-Identifier = "0018390ee7e5"
        NAS-Port = 3
        Framed-MTU = 1400
        State = 0x074671864dd457ca6e1f5d0e77205b06
        NAS-Port-Type = Wireless-802.11
        EAP-Message = 0x020100060319
        Message-Authenticator = 0x6103bee5ec490f64e8ee8bd42de675f3
rlm_sql (sql): Reserving sql socket id: 2
rlm_sql (sql): Released sql socket id: 2


rakesh kumar

unread,
Nov 13, 2013, 4:34:17 AM11/13/13
to cglug
hi Sanjay

Please change it 
    NAS-IP-Address = 255.255.255.255
to
NAS-IP-Address = 172.16.111.55




Rakesh Kumar
Technical Consultant
Contact No:- +919560024793
Techgrills Systems Pvt. Ltd.
www.techgrills.com




--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting on to mailing list.
You received this message because you are subscribed to "CGLUG" group.
To post to this group, send email to cg...@googlegroups.com
To unsubscribe from this group, send email to
cglug+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/cglug?hl=en?hl=en
Suggest your friends to join this group who are aspirant to learn more about LINUX.
---
You received this message because you are subscribed to the Google Groups "CGLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cglug+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

sanjay singh

unread,
Nov 13, 2013, 6:07:00 AM11/13/13
to cg...@googlegroups.com
Hi rakesh

Thanks for your reply

I have already defined the NAS-IP-Address = 172.16.111.55



--------------------------------
Reply all
Reply to author
Forward
0 new messages