Our trainers experience bad internet connections at some schools. I would like to provide them with a "mobile" (as in take it on the train) version of our platform running on a laptop, which the students can connect to directly via a private WiFi network. "The internet in a suitcase".
Equipment:
- Access Point (https://store.ui.com/collections/unifi-network-wireless/products/unifi-ac-pro)
- Raspberry Pi 4
- Laptop running Ubuntu serving the website
Past Progress:
As a proof of concept, I was able to serve the platform on ubuntu with the wifi set to AP mode - this would not be sufficient in a real-world setting because of the range, and simultaneous connections limitations.
Help:
I am generally looking to be pointed in the right direction with some keywords I might be missing, or told "no, none of this will work" - the crux of it is:
What do I need to do with the Raspberry Pi / Laptop / Access Point to allow users connected to the access point to access the website via their browser i.e type in portable.xyz.com in the address bar of their smartphone, get served a website running on the laptop?
My Guesstimate:
On the Raspberry Pi
- set up a DHCP server because the AP doesn't have one.
- set up a DNS server so that portable.xyz.com would point somewhere.
- set up the controller software for the Access Point.
On the laptop
- Set up the server and make sure it's serving on port:443/80 (there are other services on other ports so set them up too).
- ? I am not sure how the Raspberry Pi knows that there is a server on the laptop.
- Is it the relationship between the DHCP IP address configuration and the laptop's IP address (which I would have to configure as fixed)? The DNS setting for portable.xyz.com would then have A records pointing to the laptop's fixed IP?
Other info:
We expect the typical load to be 15 - 100 simultaneous connections, on a range of hardware (tablets, cellphones, laptops).
The platform is not incredibly data-intensive (mostly text and images), but there is a lot of traffic flying around i.e. collaborative text editors, notifications ...etc
Dismissing the "No internet connection available on this wireless network" notification on smartphones is not a problem.