Skip to main content
Patrick Papin
Associate II
Nov 26, 2018 10:31 AM UTC
Question

Hi, I use the SPWF04 and i want know: Is it possible to open automatically a web page on a smartphone when it is connected at the Access Point? Best regards Patrick

..

    This topic has been closed for replies.

    6 replies

    Elio Cometti
    Visitor II
    Nov 26, 2018 10:42 AM UTC

    ​Hi Patrick,

    could you detail your use case?

    • Is the SPWF04 configured as MiniAP and you want to open a web page when you associate a smartphone to SPWF04?
    • is the SPWF04 configured as Station and you want it to open a web page on a smartphone when SPWF04 associate to an Access point?
    • what else?

    Thanks,

    Elio

    Patrick Papin
    Associate II
    Nov 26, 2018 11:02 AM UTC

    Hi Elio,

    the SPWF04 is configured as MiniAP and when the smartphone is connected to the mini AP:

    Automatically a web page open on the smartphone

    Best regards

    Elio Cometti
    Visitor II
    Nov 26, 2018 11:31 AM UTC

    ​So, you want to implement something like a captive portal?

    Regards

    Patrick Papin
    Associate II
    Nov 26, 2018 12:34 PM UTC

    Yes exactly,

    How configure the SPWF04 for that?

    Regards,

    Patrick Papin
    Associate II
    Nov 27, 2018 8:14 AM UTC

    Hi Elio,

    I configure the SPWF04 like this:

    -ip_apredirect= stra.html (my Web page)

    but that don't work! (No page found at captive portal)

    What are the parameters to configure the captive portal?

    Best regards

    Elio Cometti
    Visitor II
    Nov 29, 2018 8:42 AM UTC

    ​Hi Patrik,

    it seems not possible to enable this feature because the DNS on SPWF04 only respond to requests for the domain specified in ip_apdomainname.

    The smartphone make several DNS and http requests before opening the popup and all must be served otherwise the popup is not opened.

    ip_apredirect specifies the page that must be sent when the default page (http://<SPWF04's IP>/) is opened.