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 Beta firmware got some NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting Manual ★ ☚ (Disclaimer: Short links are used above solely for guidance to TP-Link subdomains and are safe and tracker-free. Exercise caution with short links from non-official members on forums. We are not liable for external content or damage from non-official members' link use.)
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 Beta firmware got some NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting Manual ★ ☚ (Disclaimer: Short links are used above solely for guidance to TP-Link subdomains and are safe and tracker-free. Exercise caution with short links from non-official members on forums. We are not liable for external content or damage from non-official members' link use.)
Recommended Solution
  1  
  1  
#6
Options

Information

Helpful: 0

Views: 349

Replies: 5

Related Articles