What is the proper way to change the MAC address on an ath9k based device?
When I do this:
ip link set dev wlan0 down
ip link set addr "$newmac" dev wlan0
ip link set dev wlan0 up
ifconfig shows the new MAC address, but I stop being able to
authenticate with WEP or WPA2 (via wpa_supplicant). The authentication
fails with:
wlan0: direct probe to AP <AP-MAC> timed out
If I use the default MAC address, the authentication works just fine.
With madwifi I would:
wlanconfig ath0 destroy
ip link set dev wifi0 down
ip link set addr "$newmac" dev wifi0
ip link set dev wifi0 up
wlanconfig ath0 create wlandev wifi0 wlanmode sta
Any ideas?
Clem
_______________________________________________
ath9k-devel mailing list
[email protected]
https://lists.ath9k.org/mailman/listinfo/ath9k-devel