No You need to read the manual from your nas / device you are trying to send a coa or disconnect to about what it expects in the message as I said before. It's nothing to do with freeradius and everything about how you talk to your nas. Error-Cause = Missing-Attribute Says everything in my view. On 23/07/2013 6:21 PM, "Muhammad Nadeem" <mnadeem8327@gmail.com> wrote:
thanks tiffany
I have followed your instruction, but same issue,, here is the log
[root@aaaisb1 terminus]# cat dic.txt | radclient -x 2.2.2.2:3799disconnect 'huaweiaaa' Sending Disconnect-Request of id 179 to 2.2.2.2 port 3799 Acct-Session-Id = "1B1E97C3" User-Name = "002682615F4E@test_cpe.com" NAS-IP-Address = 2.2.2.2 rad_recv: Disconnect-NAK packet from host 2.2.2.2 port 3799, id=179, length=26 Error-Cause = Missing-Attribute
tell me one thing,,,i need some configuration for enabling COA in freeradius??? thanks
On Tue, Jul 23, 2013 at 10:39 AM, Tiffany Pasisir < tiffany.pasisir@countrytell.com.au> wrote:
Hi Muhammad****
** **
Try put in a file****
** **
Acct-Session-Id=1B1E97C3****
User-Name=002682615F4E@test_cpe.com****
NAS-IP-Address=2.2.2.2****
** **
cat file | radclient -x 2.2.2.2:3799 disconnect 'huaweiaaa'****
** **
See how it goes****
** **
Send all the output here so we can help****
** **
Tiffany****
** **
*From:* freeradius-users-bounces+tiffany.pasisir= countrytell.com.au@lists.freeradius.org [mailto: freeradius-users-bounces+tiffany.pasisir= countrytell.com.au@lists.freeradius.org] *On Behalf Of *Muhammad Nadeem *Sent:* Tuesday, 23 July 2013 2:50 PM *To:* FreeRadius users mailing list *Subject:* coa****
** **
hi everybody,,****
I wanna implement COA (Change Of Authorization) in freeradius. I have a live session of a device, I wanna disconnect this device forcefully.****
** **
I isssued following command ****
** **
echo "Acct-Session-Id=1B1E97C3,User-Name=002682615F4E@test_cpe.com,NAS-IP-Address=2.2.2.2" | radclient -x 2.2.2.2:3799 disconnect 'huaweiaaa'****
** **
but it give the error of "missing attribute".****
Can anybody tell me what is the issue. Thanks ****
** **
-- Best Regards Muhammad Nadeem Muhammad Ali Jinnah University ****
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Best Regards Muhammad Nadeem Muhammad Ali Jinnah University
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html