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

MAC address on the portal login page

Scheduled Pinned Locked Moved Captive Portal
3 Posts 3 Posters 3.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.
  • M
    m1s1u
    last edited by Dec 20, 2005, 11:25 PM

    Hello,

    Is it possible to display MAC address of the client machine on the portal login page? If so how to achieve this?

    Mike

    1 Reply Last reply Reply Quote 0
    • S
      sullrich
      last edited by Dec 21, 2005, 12:34 AM

      Not without modifying source code at the moment.

      1 Reply Last reply Reply Quote 0
      • G
        Gertjan
        last edited by Apr 29, 2006, 3:16 PM Apr 28, 2006, 12:40 PM

        @m1s1u:

        Is it possible to display MAC address of the client machine on the portal login page? If so how to achieve this?

        Actually, its possible - to have it on the 'Logout' box….
        Add this:

         LogoutWin.document.write('**Client MAC : {$clientmac}** ');
        

        To the file /usr/local/captiveportal/index.php
        on line 316 (search for the other LogoutWin.document.write…. code).
        Edit - save - Done

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