From owner-freebsd-arch@freebsd.org Sat May 26 00:08:28 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 B595BEF8030 for ; Sat, 26 May 2018 00:08:28 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) 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 51FA97A339 for ; Sat, 26 May 2018 00:08:28 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: by mailman.ysv.freebsd.org (Postfix) id 07957EF802C; Sat, 26 May 2018 00:08:28 +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 EA2B5EF802B for ; Sat, 26 May 2018 00:08:27 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 59C3E7A337; Sat, 26 May 2018 00:08:26 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w4Q08NAb048244; Fri, 25 May 2018 17:08:23 -0700 (PDT) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w4Q08NoU048243; Fri, 25 May 2018 17:08:23 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201805260008.w4Q08NoU048243@pdx.rh.CN85.dnsmgr.net> Subject: Re: RFC: Create a default wlan for wireless NICs In-Reply-To: <6686653.ooTk0CQ0bF@ralph.baldwin.cx> To: John Baldwin Date: Fri, 25 May 2018 17:08:23 -0700 (PDT) CC: arch@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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: Sat, 26 May 2018 00:08:28 -0000 > >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, Blue Please, with a red stripe. :) I asked about documentation in the review, but about all I can find is: /etc/defaults/rc.conf: #wlans_ath0="wlan0" # wlan(4) interfaces for ath0 device There is probably stuff in the wiki that would need updated though. -- Rod Grimes rgrimes@freebsd.org