<p dir="ltr">No</p>
<p dir="ltr">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.</p>
<p dir="ltr">It's nothing to do with freeradius and everything about how you talk to your nas.</p>
<p dir="ltr">Error-Cause = Missing-Attribute</p>
<p dir="ltr">Says everything in my view.</p>
<div class="gmail_quote">On 23/07/2013 6:21 PM, "Muhammad Nadeem" <<a href="mailto:mnadeem8327@gmail.com">mnadeem8327@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">thanks tiffany<div><br></div><div>I have followed your instruction, but same issue,, here is the log</div><div><br></div><div><div>[root@aaaisb1 terminus]# cat dic.txt | radclient -x <a href="http://2.2.2.2:3799" target="_blank">2.2.2.2:3799</a> disconnect 'huaweiaaa'</div>
<div>Sending Disconnect-Request of id 179 to 2.2.2.2 port 3799</div><div> Acct-Session-Id = "1B1E97C3"</div><div> User-Name = "<a href="mailto:002682615F4E@test_cpe.com" target="_blank">002682615F4E@test_cpe.com</a>"</div>
<div> NAS-IP-Address = 2.2.2.2</div><div>rad_recv: Disconnect-NAK packet from host 2.2.2.2 port 3799, id=179, length=26</div><div> Error-Cause = Missing-Attribute</div></div><div><br></div><div>tell me one thing,,,i need some configuration for enabling COA in freeradius???</div>
<div>thanks</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 23, 2013 at 10:39 AM, Tiffany Pasisir <span dir="ltr"><<a href="mailto:tiffany.pasisir@countrytell.com.au" target="_blank">tiffany.pasisir@countrytell.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-AU" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Muhammad<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Try put in a file<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal">Acct-Session-Id=1B1E97C3<u></u><u></u></p><p class="MsoNormal">
User-Name=<a href="mailto:002682615F4E@test_cpe.com" target="_blank">002682615F4E@test_cpe.com</a><u></u><u></u></p><p class="MsoNormal">NAS-IP-Address=2.2.2.2<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">
cat file | radclient -x <a href="http://2.2.2.2:3799" target="_blank">2.2.2.2:3799</a> disconnect 'huaweiaaa'<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">See how it goes<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Send all the output here so we can help<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Tiffany<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> freeradius-users-bounces+tiffany.pasisir=<a href="mailto:countrytell.com.au@lists.freeradius.org" target="_blank">countrytell.com.au@lists.freeradius.org</a> [mailto:<a href="mailto:freeradius-users-bounces%2Btiffany.pasisir" target="_blank">freeradius-users-bounces+tiffany.pasisir</a>=<a href="mailto:countrytell.com.au@lists.freeradius.org" target="_blank">countrytell.com.au@lists.freeradius.org</a>] <b>On Behalf Of </b>Muhammad Nadeem<br>
<b>Sent:</b> Tuesday, 23 July 2013 2:50 PM<br><b>To:</b> FreeRadius users mailing list<br><b>Subject:</b> coa<u></u><u></u></span></p><div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">
hi everybody,,<u></u><u></u></p><div><p class="MsoNormal">I wanna implement COA (Change Of Authorization) in freeradius. I have a live session of a device, I wanna disconnect this device forcefully.<u></u><u></u></p></div>
<div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I isssued following command <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">echo "Acct-Session-Id=1B1E97C3,User-Name=<a href="mailto:002682615F4E@test_cpe.com" target="_blank">002682615F4E@test_cpe.com</a>,NAS-IP-Address=2.2.2.2" | radclient -x <a href="http://2.2.2.2:3799" target="_blank">2.2.2.2:3799</a> disconnect 'huaweiaaa'<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">but it give the error of "missing attribute".<u></u><u></u></p></div><div><p class="MsoNormal">Can anybody tell me what is the issue. Thanks<br clear="all">
<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <br>Best Regards<br>Muhammad Nadeem<br>Muhammad Ali Jinnah University <u></u><u></u></p></div></div></div></div></div></div><br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best Regards<br>
Muhammad Nadeem<br>Muhammad Ali Jinnah University
</div>
<br>-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br></blockquote></div>