Date: Wed, 3 Aug 2016 17:47:31 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: Ben Woods <woodsb02@gmail.com> Cc: "mexas@bris.ac.uk" <mexas@bris.ac.uk>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: wireless hints: AP, username, password - does not work Message-ID: <alpine.BSF.2.20.1608031740300.15278@wonkity.com> In-Reply-To: <CAOc73CBk4LX42q5xFjaKax_jFsYHbeni%2BA0YaJTB-PBFN12arg@mail.gmail.com> References: <201608022211.u72MBIxR079329@mech-as222.men.bris.ac.uk> <CAOc73CBk4LX42q5xFjaKax_jFsYHbeni%2BA0YaJTB-PBFN12arg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 3 Aug 2016, Ben Woods wrote: > On FreeBSD, it is as you said. Assuming you have atheros, put the following > in your /etc/rc.conf (replacing your_ssid_here with the wifi SSID): > > wlans_ath0="wlan0" > ifconfig_wlan0="ssid *your_ssid_here* DHCP" > > > Run: > # service netif restart > > Once you are connected and have an IP address, open your browser and > navigate to any webpage which DOESNT USE HTTPS. I commonly use > www.distrowatch.com, but any others you know which don't use https will > work. This is the part that tricks many people, as the captive portal will > redirect all web traffic to the portal until authenticated, but https > traffic will detect the server is not who they are supposed to be and fail. > > Once authenticated, you should get a connection. Note that if can be easier > to connect with a mobile phone to confirm how it should work, and what the > SSID is etc, and then replicate on your FreeBSD laptop. This can be done in /etc/wpa_supplicant.conf with just: network={ ssid="horriblecaptiveportal" key_mgmt="NONE" } Then it is not necessary to change /etc/rc.conf.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1608031740300.15278>