Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 2015 07:07:21 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        rank1seeker@gmail.com
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: net rc.conf bug?
Message-ID:  <20150508140721.GD1158@albert.catwhisker.org>
In-Reply-To: <20150508154120.0000327e@gmail.com>
References:  <20150319230613.000074b1@gmail.com> <550B4A9D.1080602@freebsd.org> <20150320012041.00006251@gmail.com> <CAOjFWZ43Rm38L9nqpvcDcVhucU6ArsYL4UMFz0qVmy31ed%2B3ng@mail.gmail.com> <20150508154120.0000327e@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
        ether 34:e6:d7:3c:4a:93
        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
        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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150508140721.GD1158>