Tplink EAP110 Captive Portal

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Tplink EAP110 Captive Portal

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Tplink EAP110 Captive Portal
Tplink EAP110 Captive Portal
2023-07-12 20:49:50 - last edited 2023-07-14 03:39:38
Model: EAP110 Ā 
Hardware Version:
Firmware Version:

Hi,

 

While enabling the captive portal in TPlink EAP110. TPlink use 200 response code with redirect url in the body when a internet connectivity is checked. Typically http 302 is used to redirect such request with a redirect URL.. Is there any specific reason for using 200 instead of 302?

-Prasanna

Ā  0 Ā  Ā  Ā 
Ā  0 Ā  Ā  Ā 
#1
Options
1 Accepted Solution
Re:Tplink EAP110 Captive Portal-Solution
2023-07-14 03:39:29 - last edited 2023-07-14 03:39:38

Hi @prasannapm 

Thanks for bringing this issue to our attention.

As I have checked, we have a script in HTTP code 200. If you can successfully reach the web page, HTTP code 200 success, then the script will be executed. You will be redirected to the portal page. This output is the same as HTTP code 30x.

There is no difference to the browser or the final result.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update! ā˜›Download Beta Hereā˜š ā˜› ā˜… Configuration Guide ā˜… ā˜š ā˜› ā˜… Knowledge Base ā˜… ā˜š ā˜› ā˜… Troubleshooting ā˜… ā˜š ā— Be kind and nice. ā— Stay on the topic. ā— Post details. ā— Search first. ā— Please don't take it for granted. ā— No email confidentiality should be violated. ā— S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
Ā  1 Ā 
Ā  1 Ā 
#6
Options
5 Reply
Re:Tplink EAP110 Captive Portal
2023-07-13 06:07:26 - last edited 2023-07-13 06:08:09

  @prasannapm 

wdym?

200 response code meaning port = 200?

or you mean RFC? Section 10 of RFC 2616

if you refer this to RFC, then what's wrong? an industrial standard is applied here. then what's wrong? you can refer to the RFC as it clearly defines each code.

ScReW yOu gUyS. I aM GOinG hoMe. ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€” For heaven's sake, can you write and describe your issue based on plain fact, common logic and a methodologic approach? Appreciate it.
Ā  2 Ā 
Ā  2 Ā 
#2
Options
Re:Tplink EAP110 Captive Portal
2023-07-13 06:31:17

  @Tedd404 200 is http response code. Typical captive portal use 30X as http response code with the redirect url. 200 is typical when it sends the response for the request. But in captive portal case wifi router is supposed to redirect the request to Wi-Fi router captive portal landing page. 

Ā  0 Ā 
Ā  0 Ā 
#3
Options
Re:Tplink EAP110 Captive Portal
2023-07-13 06:37:48

  @prasannapm 

wifi router?

if you use the controller, omada portal is based on the omada controller. not on the router. the request is sent to the omada controller. 

what kind of issues do you run into?

ScReW yOu gUyS. I aM GOinG hoMe. ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€”ā€” For heaven's sake, can you write and describe your issue based on plain fact, common logic and a methodologic approach? Appreciate it.
Ā  0 Ā 
Ā  0 Ā 
#4
Options
Re:Tplink EAP110 Captive Portal
2023-07-13 13:56:32 - last edited 2023-07-13 20:09:47

  @Tedd404 I mean the tplink eap110. Setup is simple in my case. Device <->tplink eap110 <->LAN switch. The issue I am facing is, my custom software running in my device detects captive portal enabled or not, based on the http response code(200/204 no captive portal, 30x - captive portal). However if I connect device to another access point which has captive portal they use 30x for redirection and not 200. So far I tried few access points most of them use 30x and not 200

Ā  0 Ā 
Ā  0 Ā 
#5
Options
Re:Tplink EAP110 Captive Portal-Solution
2023-07-14 03:39:29 - last edited 2023-07-14 03:39:38

Hi @prasannapm 

Thanks for bringing this issue to our attention.

As I have checked, we have a script in HTTP code 200. If you can successfully reach the web page, HTTP code 200 success, then the script will be executed. You will be redirected to the portal page. This output is the same as HTTP code 30x.

There is no difference to the browser or the final result.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update! ā˜›Download Beta Hereā˜š ā˜› ā˜… Configuration Guide ā˜… ā˜š ā˜› ā˜… Knowledge Base ā˜… ā˜š ā˜› ā˜… Troubleshooting ā˜… ā˜š ā— Be kind and nice. ā— Stay on the topic. ā— Post details. ā— Search first. ā— Please don't take it for granted. ā— No email confidentiality should be violated. ā— S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
Ā  1 Ā 
Ā  1 Ā 
#6
Options

Information

Helpful: 0

Views: 694

Replies: 5

Related Articles