How to: RADIUS & HOTSPOT & COA
RouterOS general discussion

parasit
just joined
Posts: 3
Joined: Tue Aug 28, 2012 12:05 am
Reputation: 0
First RouterOS version: 3.22

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

Who is online

Users browsing this forum: Baidu [Spider], Yahoo [Bot] and 9 guests

It is currently Sat May 30, 2015 5:19 am