Community discussions

MikroTik App
 
Syleri
newbie
Topic Author
Posts: 33
Joined: Mon Feb 02, 2015 11:03 am

Cannot disconnect user

Mon Feb 02, 2015 11:09 am

Hello guys, I am new to using the mikrotiks, I have freeradius and a Mikrotik (Router OS 6.18) rb2011uias-2hnd-in, from the console of my debian use the following command:
 cat packet.txt | radclient -x 192.168.40.103:3799 disconnect 'secret'
And I am getting this:
Sending Disconnect-Request Id 30 from 0.0.0.0:56392 to 192.168.40.103:3799
	Acct-Session-Id = '80b00009'
	User-Name = 'm19'
	NAS-IP-Address = 192.168.40.103
Sending Disconnect-Request Id 30 from 0.0.0.0:56392 to 192.168.40.103:3799
	Acct-Session-Id = '80b00009'
	User-Name = 'm19'
	NAS-IP-Address = 192.168.40.103
Sending Disconnect-Request Id 30 from 0.0.0.0:56392 to 192.168.40.103:3799
	Acct-Session-Id = '80b00009'
	User-Name = 'm19'
	NAS-IP-Address = 192.168.40.103
(0) No reply from server for ID 30 socket 3
I am doing something wrong ??

Thanks for your attention and time
 
agindanoe
just joined
Posts: 2
Joined: Sat Mar 19, 2016 6:22 pm

Re: Cannot disconnect user

Sat Mar 19, 2016 6:51 pm

I got similar problem too with radclient disconnect request

when i run
echo "User-Name=arya,Acct-Session-Id=80600013,NAS-IP-Address=192.168.10.2"|radclient -x 192.168.10.2:3799 disconnect iforgotpassword123 -r 1
get result no response from server
Sending Disconnect-Request of id 216 to 192.168.10.2 port 3799
        User-Name = "arya"
        Acct-Session-Id = "80600013"
        NAS-IP-Address = 192.168.10.2
radclient: no response from server for ID 216 socket 3
and in radius debug log say :
received remote request from 192.168.10.1:60092 with unknown address,dropping
any one can help me whats wrong with this, need some right configuration on mikrotik or on radius?

Who is online

Users browsing this forum: Amazon [Bot] and 30 guests