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

Edit $PORTAL_MESSAGE$ value

Scheduled Pinned Locked Moved Captive Portal
4 Posts 2 Posters 2.0k Views
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 Nov 26, 2013, 3:33 AM

    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 Nov 28, 2013, 8:19 AM Nov 28, 2013, 8:15 AM

      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 Nov 28, 2013, 4:01 PM

        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 Dec 3, 2013, 7:59 AM

          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
          1 out of 4
          • First post
            1/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received