Setting up an Access point as WiFi router/repeater is not a problem.
The problem is the user to login with credentials. I suppose this is done with the internet browser on a login page. You can script this login but there is no standard login procedure. Every site has its own procedure so you have to script every login separately. And it is not a simple ...
Make sure you have the Debian version of wpa_supplicant
installed (specifically, you need the wpa_action script with it's
dependencies which can be found here). If you're using
Raspbian, you have this already. If you're using something like Arch
or Buildroot, you'll need to install those scripts manually.
Set up dnsmasq to run it's DHCP server all the time (...
First we need to change over completely to systemd (which might be the future anyway), as Ingo has explained here:
apt update && apt -y full-upgrade
systemctl mask networking.service dhcpcd.service
sudo mv /etc/network/interfaces /etc/network/interfaces~
sed -i '1i resolvconf=NO' /etc/resolvconf.conf
systemctl enable systemd-networkd.service ...
Captive portals work because devices make a DNS request to specific URLS, depending on which operating system, and they expect a success response. If they get a redirect instead, then they will show that new site as a captive portal.
A list of some of the URL's can be found here: How Automatic Detection of Captive Portal works.
If you followed that ...
Rpi3B+ Stretch9 WiFi Station + AP IOT Hotspot Docker Setting Up Problem
1. WiFi Station + AP IOT Hotspot Based Config API Setup Notes V1.0
Now I am doing the first step of setting up - Installing the docker.
This setup step is summarized in Appendix H below.
Docker Hello World running OK, though I ...
Based on the answer by Ingo, I went and made a script to do this job.
The gist is that there's one script to run that'll setup the Pi for reboot-less AP/STA switching and then there are helper scripts that'll actually do the switching for you.
The pi zero is horribly slow. I am using one as an access point now(without internet) and it can barely run ssh besides it. if you really want to do this use a pi 3. in addition the pi 3 has an ethernet port and some models even have POE with add on and built in wifi. i cant imagine that the speeds will be any better than what you have now though i do not ...