Date: Thu, 4 Aug 2016 13:44:48 +0800 From: Ben Woods <woodsb02@gmail.com> To: Warren Block <wblock@wonkity.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: <CAOc73CCj7=tpfRrSm8bHFryefd3tCkJ7CtqfzUGNJLvKViSmJQ@mail.gmail.com> In-Reply-To: <alpine.BSF.2.20.1608031740300.15278@wonkity.com> References: <201608022211.u72MBIxR079329@mech-as222.men.bris.ac.uk> <CAOc73CBk4LX42q5xFjaKax_jFsYHbeni%2BA0YaJTB-PBFN12arg@mail.gmail.com> <alpine.BSF.2.20.1608031740300.15278@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4 August 2016 at 07:47, Warren Block <wblock@wonkity.com> wrote: > 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. > TIL - thanks! Is it in the handbook!? :) -- From: Benjamin Woods woodsb02@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOc73CCj7=tpfRrSm8bHFryefd3tCkJ7CtqfzUGNJLvKViSmJQ>