How to connect to a Wifi AP w/o much information from its provider

Michael Gmelin freebsd at grem.de
Thu Oct 15 07:05:18 UTC 2020



On Thu, 15 Oct 2020 08:02:14 +0200
Matthias Apitz <guru at unixarea.de> wrote:

> Hello,
> 
> The school of my son offers Wifi to the pupil. The SSID is "Schueler"
> and each of the kids has a login and password assigned from the
> school. Not more information. An iPhone connects out of the box by
> just asking for the two values (login/password). With our
> wpa_supplicant I couldn't get how to set accepted values.
> 
> I have here what the ifconfig command on my laptops says about the AP
> values:
> 
> 
> # ifconfig -v wlan0 list ap | egrep 'SSID/MESH|Schueler'
> 
> ...
> 
> Has someone an idea how to make a wpa_supplicant.conf entry for this
> SSID?
> 

Hi Matthias,

I'm not subscribed to wireless@, so only posting on net at .

It seems like these networks don't use WPA, so I assume they use a
captive portal[0] instead. iPhone and mac have agents to pick those up
automatically (CaptiveNetworkAgent).

Which would mean, that you would connect without WPA and simply enter a
website like http://neverssl.com into the browser (or a random IP
address like http://10.1.1.1), which should then bring up the captive
webpage, which should allow your son to enter the credentials (pretty
much like you would do on hotel wifi).

Cheers,
Michael

[0]https://en.wikipedia.org/wiki/Captive_portal

-- 
Michael Gmelin


More information about the freebsd-net mailing list