I am not sure if this is possible but hear goes anyway>
I have been trying to modify the status.html page. I have pre-paid cap plans and would like to display the user queue info for the user logged in (rx-max-limit). So the user realizes they have been capped.
I do use a Linux radius server, but i don’t know how to to extract the bandwidth to a specific user on a summary page.
for example>
I have replace the rdirect.hlml page with a welcome page with some redirect links to common website. inside this page i have a sub window that link to the status.html page witch displays the user-name & usage statistics,
I would like to display the queue value tunnel size. I know radius tells the router to set the queue to ??? and send a queue value to the radius server. when a user logs directly onto the radius server using the same user-name and password as they logged onto the hotpot with. The page will provide the queue value & associated user information. Can i extract this information form the radius server and place it onto the summary page without authentication directly to the radius server.
radius - show the attribute identified with in text string form (in case RADIUS authentication was used; “” otherwise)
radiusu - show the attribute identified with in unsigned integer form (in case RADIUS authentication was used; “0” otherwise)
radius- - show the attribute identified with and vendor ID in text string form (in case RADIUS authentication was used; “” otherwise)
radius-u - show the attribute identified with and vendor ID in unsigned integer form (in case RADIUS authentication was used; “0” otherwise)
Mikrotik-Rate-Limit - Datarate limitation for clients. Format is: rx-rate[/tx-rate] [rx-burst-rate[/tx-burst-rate] [rx-burst-threshold[/tx-burst-threshold] [rx-burst-time[/tx-burst-time] [priority] [rx-rate-min[/tx-rate-min]]]] from the point of view of the router (so “rx” is client upload, and “tx” is client download). All rates should be numbers with optional ‘k’ (1,000s) or ‘M’ (1,000,000s). If tx-rate is not specified, rx-rate is as tx-rate too. Same goes for tx-burst-rate and tx-burst-threshold and tx-burst-time. If both rx-burst-threshold and tx-burst-threshold are not specified (but burst-rate is specified), rx-rate and tx-rate is used as burst thresholds. If both rx-burst-time and tx-burst-time are not specified, 1s is used as default. Priority takes values 1..8, where 1 implies the highest priority, but 8 - the lowest. If rx-rate-min and tx-rate-min are not specified rx-rate and tx-rate values are used. The rx-rate-min and tx-rate-min values can not exceed rx-rate and tx-rate values.
You want to display the RADIUS variable for vendor 14988, id 8.
Shoot an email to support@mikrotik.com - you won’t get a reply before Monday so that also gives other people time to see this here. I’m out of ideas given that I think what you’re doing is correct.