Comments on: How to Make a Captive Portal for your Business with a Raspberry Pi Pico W https://picockpit.com/raspberry-pi/raspberry-pi-pico-w-captive-portal-hotspot-access-point-pop-up/ Fri, 24 Nov 2023 20:13:05 +0000 hourly 1 https://wordpress.org/?v=6.5.2 By: Peter https://picockpit.com/raspberry-pi/raspberry-pi-pico-w-captive-portal-hotspot-access-point-pop-up/#comment-16369 Fri, 24 Nov 2023 20:13:05 +0000 https://picockpit.com/raspberry-pi/?p=3383#comment-16369 Thanks for the good description.

I would like to add a second or even third SSID to the same AP. Is there a way to do that with Phew?

Any thoughts?

]]>
By: Prithwiraj Bose https://picockpit.com/raspberry-pi/raspberry-pi-pico-w-captive-portal-hotspot-access-point-pop-up/#comment-15837 Sun, 05 Nov 2023 15:43:12 +0000 https://picockpit.com/raspberry-pi/?p=3383#comment-15837 Can you please help me understand which line of code enforces/auto-opens the captive portal on client’s browser, after successful connection to the hotspot? It doesn’t seem to auto open anything. I am connecting from my laptop.

]]>
By: NewbiePicoWHacker https://picockpit.com/raspberry-pi/raspberry-pi-pico-w-captive-portal-hotspot-access-point-pop-up/#comment-15247 Sun, 01 Oct 2023 15:36:25 +0000 https://picockpit.com/raspberry-pi/?p=3383#comment-15247 Howdy! I’m trying to run this on a Pico W.. the AP starts up, the DNS starts up, the web server either never starts or take a looooooong time (several minutes) to start up. Do you have any ideas/clues/suggestions as to why? Thanks!

]]>
By: Adam Bobeck https://picockpit.com/raspberry-pi/raspberry-pi-pico-w-captive-portal-hotspot-access-point-pop-up/#comment-13036 Mon, 26 Jun 2023 14:51:05 +0000 https://picockpit.com/raspberry-pi/?p=3383#comment-13036 In reply to Dingleberry.

Hi! I’m happy to help! Could you describe your problem in more detail and tell me which device you’re using for the captive portal?

]]>
By: Dingleberry https://picockpit.com/raspberry-pi/raspberry-pi-pico-w-captive-portal-hotspot-access-point-pop-up/#comment-12873 Wed, 21 Jun 2023 22:57:31 +0000 https://picockpit.com/raspberry-pi/?p=3383#comment-12873 How would one edit that code to include the HTML code inside the program? I had a go and it didn’t work for me.

I find the program flow very confusing.

]]>
By: OkinKun https://picockpit.com/raspberry-pi/raspberry-pi-pico-w-captive-portal-hotspot-access-point-pop-up/#comment-9608 Fri, 31 Mar 2023 17:07:29 +0000 https://picockpit.com/raspberry-pi/?p=3383#comment-9608 This is exactly what I was looking for!
Things mostly work, however the website isn’t popping up on it’s own, and instead I see an error:

2023-03-31 12:02:35 [info / 160kB] > GET /generate_204 (302 Found) [236ms]
Task exception wasn’t retrieved
future: coro=
Traceback (most recent call last):
File “uasyncio/core.py”, line 1, in run_until_complete
File “phew/server.py”, line 242, in _handle_request
File “phew/server.py”, line 161, in _parse_headers
ValueError: need more than 1 values to unpack

Wonder if maybe it has something to do with my old phone still being Android 6..

]]>
By: cinos https://picockpit.com/raspberry-pi/raspberry-pi-pico-w-captive-portal-hotspot-access-point-pop-up/#comment-5431 Sun, 08 Jan 2023 16:11:56 +0000 https://picockpit.com/raspberry-pi/?p=3383#comment-5431 A good replacement for a piratebox (although without chat feature and upload).

]]>