Community discussions

MikroTik App
 
User avatar
xaviernuma
newbie
Topic Author
Posts: 43
Joined: Tue Feb 16, 2016 11:27 am
Location: France

on-login hotspot user profile get login-by

Sat Oct 29, 2022 10:19 pm

Hello,

When a client logs into the hotspot, I want to retrieve their "login-by" (read-only; multiple choice: cookie / http-chap / http-pap / https / mac / mac-cookie / trial) to know how the no one has logged in.

in https://wiki.mikrotik.com/wiki/Manual:I ... er_Profile
List of available variables:

$user
$username (alternative var name for $user)
$address
$"mac-address"
$interface
$cause
Starting with v6.34rc11 some additional variables are available:

$uptime-secs - final session time in seconds
$bytes-in - bytes uploaded
$bytes-out - bytes downloaded
$bytes-total - bytes up + bytes down
$packets-in - packets uploaded
$packets-out - packets downloaded
$packets-total - packets up + packets down
I saw that in version 6.34 new variables were added, are there new ones since? how could I recover the login-by?

Thanks for your help

Who is online

Users browsing this forum: ko00000000001 and 23 guests