Date: Thu, 15 Oct 2020 09:04:29 +0200 From: Michael Gmelin <freebsd@grem.de> To: Matthias Apitz <guru@unixarea.de> Cc: freebsd-net@freebsd.org Subject: Re: How to connect to a Wifi AP w/o much information from its provider Message-ID: <20201015090429.1191304b@bsd64.grem.de> In-Reply-To: <20201015060214.GA6590@r314251-amd64> References: <20201015060214.GA6590@r314251-amd64>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Oct 2020 08:02:14 +0200 Matthias Apitz <guru@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@. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201015090429.1191304b>