From owner-freebsd-stable@freebsd.org Tue Aug 2 05:31:38 2016 Return-Path: Delivered-To: freebsd-stable@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 A944BBAC617 for ; Tue, 2 Aug 2016 05:31:38 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "0x20.net", Issuer "StartCom Class 1 DV Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 64249171E for ; Tue, 2 Aug 2016 05:31:37 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 0CE286E0082; Tue, 2 Aug 2016 07:31:35 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id u725VY1t071133; Tue, 2 Aug 2016 07:31:34 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id u725VYkd070519; Tue, 2 Aug 2016 07:31:34 +0200 (CEST) (envelope-from lars) Date: Tue, 2 Aug 2016 07:31:34 +0200 From: Lars Engels To: Ben Woods Cc: freebsd-stable@freebsd.org Subject: Re: Release notes and handbook changes for identifying wireless adapters Message-ID: <20160802053134.GT148@e-new.0x20.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MOeiELSuYwpLEKvX" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p23 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2016 05:31:38 -0000 --MOeiELSuYwpLEKvX Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 02, 2016 at 07:02:05AM +0800, Ben Woods wrote: > Hi, >=20 > FreeBSD wireless users who are upgrading to FreeBSD 11.0 will likely get a > surprise when they try and identify which wireless adapters are available > in their computer by using ifconfig. Neither the FreeBSD 11 release notes > or the FreeBSD handbook currently explain this change. >=20 > For example, if you have an atheros wireless driver, you would > previously be able to see it using ifconfig, even before configuring the > wlan0 clone device. >=20 > % ifconfig | grep -B3 -i wireless >=20 >=20 > That was changed with commit r287197: > https://svnweb.freebsd.org/base?view=3Drevision&revision=3D287197 >=20 > The new way to show which wireless adapter is available is: > % sysctl net.wlan.devices >=20 > Whilst the configuration in /etc/rc.conf required to activate a wireless > adapter has not changed, people may run into the hurdle of not even findi= ng > which wireless adapter to configure in the first place. This can be seen > here: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203271 >=20 rc.conf behaviour has changed in regard of creating lagg interaces. 10.x needs this (copied from the handbook [1]): ifconfig_bge0=3D"up" ifconfig_iwn0=3D"ether 00:21:70:da:ae:37" wlans_iwn0=3D"wlan0" ifconfig_wlan0=3D"WPA" cloned_interfaces=3D"lagg0" ifconfig_lagg0=3D"laggproto failover laggport bge0 laggport wlan0 DHCP" 11.x needs this: ifconfig_bge0=3D"up" wlans_iwn0=3D"wlan0" create_args_wlan0=3D"ether 00:21:70:da:ae:37" # new ifconfig_wlan0=3D"WPA" cloned_interfaces=3D"lagg0" ifconfig_lagg0=3D"laggproto failover laggport bge0 laggport wlan0 DHCP" [1] https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-aggr= egation.html --MOeiELSuYwpLEKvX Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJXoDA1XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1t52sH/3MqPqBtPEv37la+OEo3Punl zAvMrJH4E3gQC0fnTJf77JsxZLHCOWSedVSwuhkfIcl6EBw28kWlAsD7LtEkS/z1 MsPAAkTzGbdUzMfa4ho+uXsamytoRWI7XChFwWXJS6Lx1UM7P4NRas/6VxrjVoST Fbc6MXPkin+mDo7GHP5HJb44b18fViJEonBOUy0aS0V1S5uM7JSCzBbk6Dy1sL0L JdKioceAYC71+std/KMxDf2ogdiv4uUDioQGZ0LK+Q3c3nha3JWffJ+kkVASEwum bVZp0kRXaFYQWHG7DmnLOJl4+Dfsf9gbqM0UFH4s3igZM29+yZuSifjCn7PHxm8= =UHVH -----END PGP SIGNATURE----- --MOeiELSuYwpLEKvX--