How to: RADIUS & HOTSPOT & COA
RouterOS general discussion

1 post   •   Page 1 of 1
parasit
just joined
 
Posts: 3
Joined: Tue Aug 28, 2012 12:05 am

How to: RADIUS & HOTSPOT & COA

by parasit » Wed Aug 14, 2013 4:18 pm

Hi. I have a such algoritm:
1. When user connet to hotspot radius send parameter Mikrotik-Advertise-URL=....
2. After some time I want UNSET sended parameters in COA radius request but how?

I do it by bash sample script: (but how set Mikrotik-Advertise-URL=(empty) )
#!/bin/sh
cat << EOF | /usr/bin/radclient -q -r1 -t1 -c1 IP:1700 coa password
User-Name=$2
Framed-IP-Address=$3
Session-Timeout=$4
Mikrotik-Rate-Limit=20480000
Mikrotik-Advertise-Interval=186400
EOF

1 post   •   Page 1 of 1

Who is online

Users browsing this forum: chepoek, Google Feedfetcher, gotsprings, guoshuzhang and 33 guests

It is currently Fri Dec 19, 2014 6:55 am