net rc.conf bug?
David Wolfskill
david at catwhisker.org
Fri May 8 14:07:23 UTC 2015
On Fri, May 08, 2015 at 03:41:20PM +0200, rank1seeker at 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 at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20150508/e849a716/attachment.sig>
More information about the freebsd-hackers
mailing list