Captive portal working on Mobile Devices, but not on Laptops/Desktops
-
Hello,
I am running version 2.2.2 and all works fine when i use a mobile device, i get redirected to the portal page and i get internet access after i authenticate. However, when i try doing the same on a desktop or laptop, i get no redirect and even if i access the page manually and authenticate, i do not have internet access.Did anyone else run into this problem? Can anyone tell me what is wrong ?
-
Are you sure is not a setting in computer browser that prevent redirection ?
Try to clear browser cache also.Check Status Captive portal after login to see if client is authenticated in portal.
( until you did not block the MAC of computers in portal or you have some rule in firewall that block the traffic. )
-
Another check : did you 'PC' get an IP from pfSense (using its client-DHCP) ?
-
@n3by i am sure there is no such thing because it's a brand new installed laptop.
As i said, i can access the captive portal page manually, but once i get connected to the pfsense wifi and DHCP gives me an ip address i do not get internet access until i access the portal page and authenticate.
However, the redirection doesn't work, when i open a browser and it goes to google.com it should redirect me to the portal page, but it keeps trying to access that page until it gets timed out.@Gertjan, yes, it does get IP from pfsense. What do you mean by client-DHCP?
-
Do you actually have working DNS on your machines?
-
pfSense doesn't care if the device is a laptop, desktop, tablet, or phone. Check the devices that aren't working for the proper settings.
Note that it is up to the client device to run some form of test to try to determine there's a portal and to open some kind of web browser and try a site and display the portal page. Nothing is "pushed" from the portal. It all has to be requested by the client and they all do it differently, if at all. Sometimes the user has to open a browser himself.
When you navigate the portal page and still don't get internet access, is there a proper entry with the correct IP and MAC address in Status > Captive Portal?
-
NickM,
On your laptop, when you manually go to the captive portal page and authenticate. Can you access Internet after authenticated? Just to confirm as your first and second post seem to contradict on whether you can access Internet after authenticated.
If you can access Internet after authenticated. Likely DHCP and DNS are working, just issue with redirecting to captive portal.
On your captive portal configuration, do you enable HTTPS login? If no, the captive portal will NOT redirect https connection to the portal login page. Try non-https site like www.cnn.com.
Your browser might access www.google.com using https due to previous visit history. Try http site to be sure.
-
Check your DNS and default gateway on your laptop.
-
-
Two thoughts ... is it possible your windows/mac have statically defined DNS servers that aren't resolvable in the pre-logon role? Or, the DNS servers that they are using, does the ClearPass FQDN resolve correctly?
I seldom see static DNS entries on mobile devices, but it is much more common on laptops. Start there to ensure that name resolution is working and web requests are being generated, and then go up to the user-role on the controller to verify that it's being destination natted to the captive portal page.
-
Well, I am rather sure, after about 8 years he did found a solution...
Regards