From owner-freebsd-hackers@FreeBSD.ORG Fri May 8 14:07:23 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5B6A6A64 for ; Fri, 8 May 2015 14:07:23 +0000 (UTC) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 199451D93 for ; Fri, 8 May 2015 14:07:22 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.9/8.14.9) with ESMTP id t48E7L7d039220; Fri, 8 May 2015 07:07:21 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.9/8.14.9/Submit) id t48E7LwK039219; Fri, 8 May 2015 07:07:21 -0700 (PDT) (envelope-from david) Date: Fri, 8 May 2015 07:07:21 -0700 From: David Wolfskill To: rank1seeker@gmail.com Cc: FreeBSD Hackers Subject: Re: net rc.conf bug? Message-ID: <20150508140721.GD1158@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , rank1seeker@gmail.com, FreeBSD Hackers References: <20150319230613.000074b1@gmail.com> <550B4A9D.1080602@freebsd.org> <20150320012041.00006251@gmail.com> <20150508154120.0000327e@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TydEFKrGQa51aSOi" Content-Disposition: inline In-Reply-To: <20150508154120.0000327e@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2015 14:07:23 -0000 --TydEFKrGQa51aSOi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 08, 2015 at 03:41:20PM +0200, rank1seeker@gmail.com wrote: > And now watch this when it comes down to WiFi NICs! > If during cloning of device, you set non-default ether (MAC) adress, > i.e; > ---- > ifconfig wlan0 create wlandev ath0 ether $ether_here > ---- > BOOM! You'we just rendered WiFi NIC unusable, that is, it will never be > able to associate. Tried station and AP modes, with urtw and ath > drivers. Why would you try to set the MAC address of a cloned interface, rather than that of the real interface (before cloning)? > I believe it affects ALL WiFi NICs. Ref.: g1-254(10.1-S)[7] egrep 'ifconfig|wlan|lagg' /etc/rc.conf | grep -v '^#' ifconfig_em0=3D"up" ifconfig_iwn0=3D"ether 34:e6:d7:3c:4a:93" wlans_iwn0=3Dwlan0 ifconfig_wlan0=3D"WPA" cloned_interfaces=3D"lagg0" ifconfig_lagg0=3D"laggproto failover laggport em0 laggport wlan0 DHCP" g1-254(10.1-S)[8] ifconfig iwn0 iwn0: flags=3D8843 metric 0 mtu 2290 ether 34:e6:d7:3c:4a:93 nd6 options=3D21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: associated g1-254(10.1-S)[9]=20 Peace, david --=20 David H. Wolfskill david@catwhisker.org Those who murder in the name of God or prophet are blasphemous cowards. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --TydEFKrGQa51aSOi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJVTMMZXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk79SUQAIJePJPbE8c0fQsJ32KHm/8u 90cTCuCWXAyYAIbPOLrYqZDToJGQp35If5/z6nw4OIamKmbDkQXQSHxe5MawpL59 AfAC9gBzLBmEA2p4HePfh7487BRpkxfl3ZwLByxICQNo1nY17uIhs0xx4fdYYEpn U7gRIV2Hf0jrQtw+LbLubxo+LD/4MkjQaXF9ZX/1YwAjzHMs+DUYqz4kGAsIjKA6 JwLTo88GNnE6vQLh37LXYY+eIxS4B3DXU4OiaPALK4XHtOUB6wXCAZRLp8a1/1w8 TQ8xTReg0K2nuOPwMe0SF48H7XEAg32kydxkqUwMXW+UB4t4gWYw2YZk9wLCcXRq 7L8c//OF5hlPNFU/l/2NR9QhAk6C0WvnCGcwJ+d3zCHxh8CzoAC19agChiBIM727 pZu/uMrSOkgpNREbW7emSWkBjG2kX2tr/dY6qm+SM2j6gjv/tE8sJwNm3wcbD13x 6dCl+A67wXptfXDnjYJcGYmCjJhh3vusOMKsUihKPq2bW1AnjxLkcu3nrbsCUgwX hLTO/p2Xw5mJbFMVc2xFXvgxzjbIqMGtu6QVoaz7t+PDXruHwPQg8CqLll1c6CAV 3uJyzk5WAwz5dFNQM35kx/1znEWi3/ij6xA+SzM1KK0xUMG3N3uv6xyDFVsGTYlg 0pDzEL/VIiRxuvlYzzDu =2spO -----END PGP SIGNATURE----- --TydEFKrGQa51aSOi--