From owner-freebsd-arch@freebsd.org Fri May 25 21:28:47 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 9E98AEF4F72 for ; Fri, 25 May 2018 21:28:47 +0000 (UTC) (envelope-from jhb@freebsd.org) 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 39A8D7571D for ; Fri, 25 May 2018 21:28:47 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EC632EF4F71; Fri, 25 May 2018 21:28:46 +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 DA02AEF4F70 for ; Fri, 25 May 2018 21:28:46 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from smtp.freebsd.org (unknown [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 899A97571C for ; Fri, 25 May 2018 21:28:46 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (ralph.baldwin.cx [66.234.199.215]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 48F031D0E3 for ; Fri, 25 May 2018 21:28:46 +0000 (UTC) (envelope-from jhb@freebsd.org) From: John Baldwin To: arch@freebsd.org Subject: RFC: Create a default wlan for wireless NICs Date: Fri, 25 May 2018 14:28:42 -0700 Message-ID: <6686653.ooTk0CQ0bF@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.1-STABLE; KDE/4.14.30; amd64; ; ) 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: Fri, 25 May 2018 21:28:47 -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. -- John Baldwin