How to display radius Reply-Message on the hotspot login pag

I have my hotspot authenticating from radius and I have radius configured so that I can set a per user time limit using a daily usage counter module. That all works fine but when radius hits the time limit it send a Reply-Message attribute with a value of “Your maximum daily usage time has been reached” and I expected to be able to display that in the login.html page using $(radius18) per the documentation. However that does not work. The servlet displays “$(radius18)” literally, no interpretation. What am I missing? The error variable displays “RADIUS server is not responding” which is not quite accurate. It’s actually responding with no you can’t log on and here’s why… anybody else run into this situation?

The “radius server not responding” can be caused by the new radius access-reject delay. Try increasing the timeout to 2 seconds. Then you should get the Reply-Message.

/radius
print detail
set 0 timeout=2s

That did the trick, thanks so much.