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

    Hostname on the login page

    Scheduled Pinned Locked Moved webGUI
    9 Posts 5 Posters 4.2k 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.
    • Y Offline
      ymolinet
      last edited by

      Hi all,

      Is it possible to display the hostname on the login page on pfsense 2.3 ?

      Thanks,
      Regards
      Yannick

      1 Reply Last reply Reply Quote 0
      • S Offline
        Steve_B Netgate
        last edited by

        System->General setup->Hostname in menu

        Als ik kan

        1 Reply Last reply Reply Quote 0
        • Y Offline
          ymolinet
          last edited by

          Thanks for you answer but this option replace the help menu by the hostname but don't add the hostname on the login page.

          if the hostname is firewall01, I'm need to see (for example) "Login to firewall01" instead of 'Login to pfSense" (or on other place).

          Thanks,
          Regards,
          Yannick

          1 Reply Last reply Reply Quote 0
          • S Offline
            Steve_B Netgate
            last edited by

            This is expected to be in the next snapshot. System->General->Show hostname at login

            Als ik kan

            1 Reply Last reply Reply Quote 0
            • M Offline
              mrjohnbravo
              last edited by

              is it accurate the "Login to pfsense" string itself is located in the gettext pfsense.po file. It looks like from the code that it's inserted from a gettext($Login) . If not can you please point me in the correct location to manually edit that "Login To pfsense" string. Thanks in advance.

              Mr Johnathan Bravo

              1 Reply Last reply Reply Quote 0
              • GertjanG Offline
                Gertjan
                last edited by

                /etc/inc/authgui.inc
                Change line (+/- line 283):

                for (example):

                
                ## 						' at '.
                						htmlspecialchars(isset($config['system']['hostname']) ? $config['system']['hostname'] : '[No hostname is set]').
                						'.'.
                						htmlspecialchars(isset($config['system']['domain']) ? $config['system']['domain'] : '[No domaine is set]')
                						)?>
                
                

                Works for me ™

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Steve_B Netgate
                  last edited by

                  This has already been implemented. There is a control in the GUI settings that allows you to enable or disable the feature.

                  Als ik kan

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    AWeidner
                    last edited by

                    @Steve_B:

                    This has already been implemented. There is a control in the GUI settings that allows you to enable or disable the feature.

                    Where is it? I'm looking but i can't see it …    ???

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      Steve_B Netgate
                      last edited by

                      System -> General setup

                      lihn.jpg
                      lihn.jpg_thumb

                      Als ik kan

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