A Captive Portal is a screen that will be shown initially to anyone who connects to your Wi-Fi Access Point. Before they can begin utilizing the Wifi connection, they will need to complete an action, until then, the captive portal will continually greet them.
You can display whatever you want on the captive portal, so it can be highly useful if you are going to lay out some ground rules to using your Wifi access point before a user gains access to it or whether you will require them to log in before getting access.
Before we proceed with setting up our captive portal.
Update :: Pi-star version 4.1.1 ++ now has WiFi captive portal
https://forum.pistar.uk/viewtopic.php?f=40&t=926
https://forum.pistar.uk/viewtopic.php?t=1212
W1CY
I solved this as follows: Got a travel Router/Access Point. When there is a wired connection (rare these days), I use the device as a router. When only wifi is available, I use the device to connect to the hotel WIFI and create my own WIFI network. From this point on you can use a switch on the physical RJ45 created on the travel device or use your computer to connect to the hotel and then your hotspot connects to your own wifi netork. Another ways to handle this is to install a command base web browser such as LYNX or similar. You add the browser to the pistar SD card and then you SSH to it and use the command line based browser to fill out the hotel captive web page. Another way is to have a spare SD card with regular Raspian, but it, authorize the MAC at the hotel's WIFI using the built in browser, then boot again with the pistar card. All 3 methods work, but the wifi travel router, although dividing the speed by 2 when being used with WIFI, is still the easiest option .
https://forum.pistar.uk/viewtopic.php?t=1212
W1CY
I solved this as follows: Got a travel Router/Access Point. When there is a wired connection (rare these days), I use the device as a router. When only wifi is available, I use the device to connect to the hotel WIFI and create my own WIFI network. From this point on you can use a switch on the physical RJ45 created on the travel device or use your computer to connect to the hotel and then your hotspot connects to your own wifi netork. Another ways to handle this is to install a command base web browser such as LYNX or similar. You add the browser to the pistar SD card and then you SSH to it and use the command line based browser to fill out the hotel captive web page. Another way is to have a spare SD card with regular Raspian, but it, authorize the MAC at the hotel's WIFI using the built in browser, then boot again with the pistar card. All 3 methods work, but the wifi travel router, although dividing the speed by 2 when being used with WIFI, is still the easiest option .
You posted “It is a travel wifi router/repeater. I connected it to my work's guest wifi and it gets through the authorization and anything connected to it was straight to the internet without issue (my phone anyway).”
How exactly are you connecting to your work’s guest wifi without going through the authorization routine?
To be specific, I have been trying to do this very thing with my TP-link TL WR802n mini router to Spectrum Wifi for which I have an internet service home account.
Thanks! Appreciate your postWell the public wifi at my work requires an "authorization" when you first connect. When you connect with your phone and try to go to any web page, you are redirected to an internal page on the public network that lists the rules of usage etc. Once this is accepted, you can then get onto the internet with your device (for whatever period of time until it resets and requires authorization again). So, in this case, I turn on the travel router, which has its own Wifi SSID of "whodat." I connect my phone to "whodat" and navigate to the travel router's internal configuration page. On the router configuration page, I direct it to connect to my "WORK PUBLIC WIFI SSID" and it connects. Then, back to the phone and use a browser to go to any web page. The phone browser gets redirected to the WORK PUBLIC WIFI authorization page. You accept (or enter a given password if required) then you are authorized. After that the WORK PUBLIC WIFI sees all traffic through the travel router the same as if it came from the phone and it passes to the internet. Of course this can be limited by the open ports, but whatever would be allowed to your phone, will now be allowed to anything connected to the travel router.
I hope I explained that well...
Update :: Pi-star version 4.1.1 ++ now has WiFi captive portal
No comments:
Post a Comment
.
PiStar Users Discussion Group
Pi-Star Users Support Group
https://groups.io/g/PiStar
BrandMeister Network Users Discussion Group
https://groups.io/g/BrandMeister
.
Note: only a member of this blog may post a comment.