-
-
Save malle-pietje/c030e9d6ccdc1c3ddfdfc4363ba79489 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> | |
<head> | |
<title><unifi txt="Redirector" /></title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<meta http-equiv="refresh" content="0;url=https://<YOUR CAPTIVE PORTAL URL>/<unifi var="mac" />/<unifi var="ap_mac" />"> | |
</head> | |
<body> | |
</body> | |
</html> |
I've tried to the above mentioned index.html
But this is the result of the redirected link:
/portal/
I cannot get the mac address of the guest/client that connects.This is not the expected result. Did you make sure not to use a Windows editor if your controller is running on Linux? Can you also confirm which guest control settings you changed?
Sorry for responding late. I have settled the problem the had single quotes instead of double quotes.
Thank you for your response to the earlier query.
That does make sense, thanks for the feedback.
Can this code be used if the unifi controller is being hosted online, cloud?
@malle-pietje Thank you so much for your help! <3
@malle-pietje Thank you so much for your help! <3
You’re welcome 👍
FYI legacy hotspot seems to be completely gone from Network 8.0.24, only the Angular seems to be left
Yes, that is correct. Here’s a first post on the Ubiquiti community where this topic is discussed:
https://community.ui.com/questions/Guest-portal-customization-html-css-with-the-new-UI-how-to-enable/81565820-50e2-4e6e-8bc6-b7c16877cb9a#answer/df1c3b80-6edd-4f75-a235-912f78afb994
Hi, Is today any way to implement this on the Angular constructor?
I need to redirect to my Cisco ISE guest portal, and i think this is the only way.
thank you in advnace.
BR.
Hi, Is today any way to implement this on the Angular constructor?
I need to redirect to my Cisco ISE guest portal, and i think this is the only way.
thank you in advnace.
BR.
AFAIK you can no longer modify the raw source-code of the captive portal unless someone else can confirm otherwise.
This is not the expected result. Did you make sure not to use a Windows editor if your controller is running on Linux? Can you also confirm which guest control settings you changed?