From: Clem Taylor Date: Mon, 6 Oct 2008 16:54:56 -0400 Subject: [ath9k-devel] proper method to change the MAC address of an ath9k device? Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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 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