Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2016 08:59:01 -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.1608040848521.46853@wonkity.com>
In-Reply-To: <CAOc73CCj7=tpfRrSm8bHFryefd3tCkJ7CtqfzUGNJLvKViSmJQ@mail.gmail.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> <CAOc73CCj7=tpfRrSm8bHFryefd3tCkJ7CtqfzUGNJLvKViSmJQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Aug 2016, Ben Woods wrote:

> 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!? :)

It's shown in passing in the WEP section:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html#network-wireless-wep

WEP is sadly, still in use in the wild, so we can't repurpose that 
section and stop mentioning it.

The whole wireless section badly needs a rewrite and reorganization.  It 
occurs to me that we need a "WiFi for Travel" section after the quick 
start.  That would have sections on how to deal with identifying which 
obsolete, insecure protocol is being used and configuring the system to 
use it.

I will add that to my ever-growing list of doc things that need to be 
done.
From owner-freebsd-questions@freebsd.org  Thu Aug  4 15:33:55 2016
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B576BAF478
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Thu,  4 Aug 2016 15:33:55 +0000 (UTC)
 (envelope-from mexas@bristol.ac.uk)
Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com
 [IPv6:2a00:1450:400c:c09::234])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 1732A1275
 for <freebsd-questions@freebsd.org>; Thu,  4 Aug 2016 15:33:54 +0000 (UTC)
 (envelope-from mexas@bristol.ac.uk)
Received: by mail-wm0-x234.google.com with SMTP id o80so383290499wme.1
 for <freebsd-questions@freebsd.org>; Thu, 04 Aug 2016 08:33:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=bris-ac-uk.20150623.gappssmtp.com; s=20150623;
 h=date:from:message-id:to:subject:cc:reply-to:in-reply-to;
 bh=4hycqthUBGLpkgcTPky2+9U1NJPd5L1vP2ARZ1MVbOo=;
 b=F24bax7wS1lKOk/DHV2c4SHtgyqqhamBK1q3eovtNav9NWthQwqpN7pcYQnkLhZCNi
 S/wKQXyGjsemKppd62pF5kcr5FA6rNV3lhVryCL/SzOSAKPKJbtXZJvGW9OP6hd7CNhh
 7lmn4R9gci7tA+26BDSASEkKbcs+403ieDgF8JwyHcs2DCobphplF1WgIZ49/lc7hz/z
 rjn66QN6IiQwsVRPT1zC4ZuxZ96a7XI0R4a4/97bAYCJWGtEiVWhLXinvSMHrAU9swE9
 n+GdFaJYpqXM0uDAOFuxXC2rnFu6tQ+wTAdFkfvYnZEZKZWjYaNU9xQwcMnAQgmUBC7/
 UJjQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:date:from:message-id:to:subject:cc:reply-to
 :in-reply-to;
 bh=4hycqthUBGLpkgcTPky2+9U1NJPd5L1vP2ARZ1MVbOo=;
 b=eJ1q8hEdarFLWlk9ENEGtdIjHegg2BktFAbKe+vEx7eWNTaUl0HbZtrF8B3d3FhcKq
 BJrfGZa7Fv8GX+W8+jRHfGF355tL7+h7e1LyupbFZWgZ6Y/3qqY+E9MRGONqdeNVObCT
 JTAPNQwmai2gnmi9LoR0MXZNl6sJ/F8fVlJYsogmxC81eGyXnMxxU8ZkqfvRJBdyTo2u
 TxlJxELx69IzsTv9dkQQoKfXZ/hLpJ1HmOGFnGccQlCrccmWvUBd1hJOCBK4QHfOXPhk
 xQk2IkiBphpRZ+DNm8qfwfgXhRu+oW92IbRfFIEsvYwEgtBAysa0z5fBiP2u49EuktZ4
 FFUQ==
X-Gm-Message-State: AEkooutFLO3xJbXhK5H3RRPlfkHu4MEqCCoBipwb/9yPGJTGcO2roxNQH/T1sq8drUP9T7TM
X-Received: by 10.28.166.1 with SMTP id p1mr54816385wme.85.1470324833088;
 Thu, 04 Aug 2016 08:33:53 -0700 (PDT)
Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk.
 [137.222.170.4])
 by smtp.gmail.com with ESMTPSA id e10sm13388706wjc.21.2016.08.04.08.33.52
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 04 Aug 2016 08:33:52 -0700 (PDT)
Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1])
 by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id u74FXp7P087698;
 Thu, 4 Aug 2016 16:33:51 +0100 (BST)
 (envelope-from mexas@mech-as222.men.bris.ac.uk)
Received: (from mexas@localhost)
 by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id u74FXpDi087697;
 Thu, 4 Aug 2016 16:33:51 +0100 (BST) (envelope-from mexas)
Date: Thu, 4 Aug 2016 16:33:51 +0100 (BST)
From: Anton Shterenlikht <mexas@bris.ac.uk>
Message-Id: <201608041533.u74FXpDi087697@mech-as222.men.bris.ac.uk>
To: wblock@wonkity.com, woodsb02@gmail.com
Subject: Re: wireless hints: AP, username, password - does not work
Cc: freebsd-questions@freebsd.org, mexas@bris.ac.uk
Reply-To: mexas@bris.ac.uk
In-Reply-To: <alpine.BSF.2.20.1608040848521.46853@wonkity.com>
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2016 15:33:55 -0000

>From wblock@wonkity.com Thu Aug  4 16:28:02 2016
>occurs to me that we need a "WiFi for Travel" section after the quick 

I'd appreciate such section very much!

Anton



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1608040848521.46853>