MAC address on the portal login page



  • Hello,

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

    Mike



  • Not without modifying source code at the moment.



  • @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


Log in to reply