Thank you Arran Cudbard-Bell.-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 chap { reject = 1 }I try search about unlang and write it to accept user even though wrong password and chap reject. i need to set wrong password user to ip group and then redirect them to html explain about the problem. i try this unlang in chap authenticate { # # PAP authentication, when a back-end database listed # in the 'authorize' section supplies a password. The # password can be clear-text, or encrypted. Auth-Type PAP { pap } # # Most people want CHAP authentication # A back-end database listed in the 'authorize' section # MUST supply a CLEAR TEXT password. Encrypted passwords # won't work. Auth-Type CHAP { chap if (reject) { update reply { Framed-IP-Address = "13.0.0.0+" Framed-IP-Netmask = "255.255.255.0" } update control { Auth-Type := "Accept" } } } and it 's not work... Could any one point me how to solve this? Or what i should change on if (reject) { Or What section should it put this unlang. Or give me some unlang scripts. Thank you in advance. -- http://www.EasyHorpak.com - à¹�หลà¹�à¸�à¸�à¹�à¸�หาหà¸à¸�ัà¸�,à¸à¸�ารà¹�ทเมà¸�ทà¹�,à¹�มà¸�à¸�ัà¹�à¸�,à¸�à¸à¸�à¹�ด,à¹�รà¸�à¹�รม http://www.EasyZoneCorp.net - à¸�à¸à¸�à¹�วรà¹�à¸�ัดà¸�าร internet à¸�ุณà¸?าà¸�สูà¸� Hotpsot à¹�ละ PPPoE ,Anti NetCut, Mac spoof http://www.thai-school.net - เวà¹�à¸�à¹�à¸�ตà¹�à¹�รà¸�เรียà¸�,ศิษยà¹�เà¸�à¹�า สำเรà¹�à¸�รูà¸� EasyZone SuperLink <http://www.easyhorpak.com/superlink> - à¹�ลà¸�หมืà¹�à¸�ลิà¹�à¸�à¸�ืà¹�à¸�à¸� ลิà¹�à¸�เดียว - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html- -- Arran Cudbard-Bell <A.Cudbard-Bell@sussex.ac.uk>, Systems Administrator (AAA), Infrastructure Services (IT Services), E1-1-08, Engineering 1, University Of Sussex, Brighton, BN1 9QT DDI+FAX: +44 1273 873900 | INT: 3900 GPG: 86FF A285 1AA1 EE40 D228 7C2E 71A9 25BB 1E68 54A2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkspH74ACgkQcaklux5oVKLE+gCePfzCo4HQSXidGjotxSMS42ic 8IUAmwVLU44TbE/Ezz3FiS84vrarFwEF =acnc -----END PGP SIGNATURE-----