From owner-freebsd-arch@freebsd.org Sun May 27 19:56:04 2018 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A4B2F7E776 for ; Sun, 27 May 2018 19:56:04 +0000 (UTC) (envelope-from joel@vnode.se) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B17AE6B867 for ; Sun, 27 May 2018 19:56:03 +0000 (UTC) (envelope-from joel@vnode.se) Received: by mailman.ysv.freebsd.org (Postfix) id 7517DF7E774; Sun, 27 May 2018 19:56:03 +0000 (UTC) Delivered-To: arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 611D7F7E773 for ; Sun, 27 May 2018 19:56:03 +0000 (UTC) (envelope-from joel@vnode.se) Received: from oden.vnode.se (oden.vnode.se [IPv6:2001:19f0:6c01:6b7:5400:1ff:fe33:16b1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "oden.vnode.se", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F0F0C6B865; Sun, 27 May 2018 19:56:02 +0000 (UTC) (envelope-from joel@vnode.se) Received: from ymer.vnode.se (62-20-154-136-no280.tbcn.telia.com [62.20.154.136]) by oden.vnode.se (Postfix) with ESMTPSA id 2777A1F694; Sun, 27 May 2018 21:55:54 +0200 (CEST) Date: Sun, 27 May 2018 21:55:53 +0200 From: Joel Dahl To: John Baldwin Cc: arch@freebsd.org Subject: Re: RFC: Create a default wlan for wireless NICs Message-ID: <20180527195553.GA48909@ymer.vnode.se> Mail-Followup-To: John Baldwin , arch@freebsd.org References: <6686653.ooTk0CQ0bF@ralph.baldwin.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6686653.ooTk0CQ0bF@ralph.baldwin.cx> User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2018 19:56:04 -0000 On Fri, May 25, 2018 at 02:28:42PM -0700, John Baldwin wrote: > From the bikeshed department.... > > The change at https://reviews.freebsd.org/D15481 would create a default > wlan for wireless NICs by default. The default wlan's ifnet name would > match the name of the adapter (e.g. "iwn0"). Existing configurations > would still be honored and people who need multiple wlan devices can > still do so using existing configuration variables in rc.conf, etc. > > However, the out of the box experience on a new machine would be that > 'ifconfig iwn0' would Just Work(tm) for wireless NICs as it does now for > wired NICs, and you could just use 'ifconfig_iwn0="WPA DHCP"' in rc.conf. > I think this is more consistent with how we present NICs to users in > general. Yes. Do it. :-) -- Joel