Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Edit $PORTAL_MESSAGE$ value

    Captive Portal
    2
    4
    2.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kababayan
      last edited by

      where can I edit the  $PORTAL_MESSAGE$ value cos some login error messages are wrong like the picture below.

      Would like to edit it to "Your maximum usage have beend reached" and would like to see other messages also

      1 Reply Last reply Reply Quote 0
      • K
        Kababayan
        last edited by

        using grep I find some location but i dont think its safe to edit since its .so files and .a files in /usr/pbi/freeradius-i386/lib/freeradius-2.2.0. Was hoping those are Constant variables that can be change easily, maybe in our own language perhaps.
        something like this in those files.
        value=%dYour maximum %s usage time has been reached

        1 Reply Last reply Reply Quote 0
        • L
          lsense
          last edited by

          not sure but maybe you can update reply messages with unlang. have a look at this :

          http://freeradius.1045715.n5.nabble.com/RESOLVED-customize-Post-Auth-Type-REJECT-td2779460.html

          1 Reply Last reply Reply Quote 0
          • K
            Kababayan
            last edited by

            thanks for the advice i think its only Max-Forever-Time is the one using "never" for the %s parameter other limit has good reply like Max-Daily-Time is "daily" for the %s counter parameter. Though have not tested bandwidth limit yet. I will test it sometime.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.