Date: Fri, 8 May 2015 09:15:37 -0500 From: Jason Hellenthal <jhellenthal@dataix.net> To: David Wolfskill <david@catwhisker.org> Cc: rank1seeker@gmail.com, FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: net rc.conf bug? Message-ID: <5EDF6CA9-C44F-442E-8FA6-F76D08EF32C2@dataix.net> In-Reply-To: <20150508140721.GD1158@albert.catwhisker.org> References: <20150319230613.000074b1@gmail.com> <550B4A9D.1080602@freebsd.org> <20150320012041.00006251@gmail.com> <CAOjFWZ43Rm38L9nqpvcDcVhucU6ArsYL4UMFz0qVmy31ed%2B3ng@mail.gmail.com> <20150508154120.0000327e@gmail.com> <20150508140721.GD1158@albert.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Could also do … ifconfig_wlan0_ether=“XX:XX:XX:XX:XX:XX” Just for reference. On May 8, 2015, at 09:07, David Wolfskill <david@catwhisker.org> wrote: 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="up" ifconfig_iwn0="ether 34:e6:d7:3c:4a:93" wlans_iwn0=wlan0 ifconfig_wlan0="WPA" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto failover laggport em0 laggport wlan0 DHCP" g1-254(10.1-S)[8] ifconfig iwn0 iwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290 ether 34:e6:d7:3c:4a:93 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: associated g1-254(10.1-S)[9] Peace, david - -- 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. - -- Jason Hellenthal JJH48-ARIN -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJVTMUJAAoJEDLu+wRc4KcIHgQIAI1zIglOWFspyqYkQWkc0ngm ksDCh/HavvngRbh3PB+otttoCugwsHTr5Oe2nsmiOFyTWMk32hkkZFeMOv7OuIVf 2MV3/r1+aXN82O0QX9tdyPhM3KZBt1I8Hu9Qk/z9x22hFG5IKYDOULvWBhHpZPP3 mNVxdx9n66oI7GC5gz551MfgSpg1ZFDkEQNAp3FiNklFMPgDePfgbp2cdCHUTLKv PmiYXIHVRRi/G42KaiFtx5lkhDvoU77fS+3foLcWop0NbKIHVQUaxLVXqiZPqiZ6 s6gvsO4Vq4tUnWenfJVRoxCpDkiWizP0WE1Y81/v23syHmqt6pbQ7AFz6+XZzsk= =zvrk -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5EDF6CA9-C44F-442E-8FA6-F76D08EF32C2>