I have an HP Pavilion dv7 laptop (configuration below). I have been trying to change my mac address, but without success -- I can change the mac address either using macchanger or ifconfig, but once I do, I can't attach to any wireless network (though the available networks are detected).

I've searched the web a bit, and have tried stopping the devices with airmon-ng, and I've tried removing and adding wlan0, wmaster0, mon0, and mon1 as well. All to no avail.

In reading, I've seen a number of folk with this problem with the atheros wireless chips, particularly those using the ath9k driver, which is what I have. I saw one note in a forum somewhere that indicated this was a bug in the driver, but now I can't find it.

Has anybody with the configuration below (or similar) with the ath9k driver been successful?

Thanks!

billo

Conifig:
HP Pavilion dv7 laptop
OS: Mandriva Linux 2009.1
Wireless: AR928X Wireless Network Adapter (PCI-Express)

% lsmod | grep ath:
ath9k 273904 0
mac80211 161412 1 ath9k
rfkill 10448 2 ath9k
led_class 3872 3 ath9k,sdhci,hp_accel

% uname -a:
Linux localhost 2.6.29.6-desktop-1mnb #1 SMP Sun Jul 5 19:57:54 EDT 2009 i686 AMD Turion(tm) X2 Dual-Core Mobile RM-74 GNU/Linux



% ifconfig (with working original mac address):

eth0 Link encap:Ethernet HWaddr 00:23:5A:30:23:BE
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:29 Base address:0xa000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0

inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10070 errors:0 dropped:0 overruns:0 frame:0
TX packets:10070 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:579237 (565.6 KiB) TX bytes:579237 (565.6 KiB)

wlan0 Link encap:Ethernet HWaddr 00:23:4E:4A:0C:99
inet addr:192.168.0.100 Bcast:192.168.0.255
Mask:255.255.255.0
inet6 addr: fe80::223:4eff:fe4a:c99/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:55771 errors:0 dropped:0 overruns:0 frame:0
TX packets:44510 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:55447320 (52.8 MiB) TX bytes:5946264 (5.6 MiB)

wmaster0 Link encap:UNSPEC HWaddr
00-23-4E-4A-0C-99-20-1D-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


% iw --debug dev wlan0 info:

-- Debug: Received Message: -------------------------- BEGIN NETLINK MESSAGE
---------------------------
[HEADER] 16 octets
.nlmsg_len = 48
.nlmsg_type = 23 <0x17>
.nlmsg_flags = 0 <>
.nlmsg_seq = 1249856042
.nlmsg_pid = 25827
[PAYLOAD] 32 octets
07 01 00 00 08 00 03 00 04 00 00 00 0a 00 04 00 77 6c
................wl
61 6e 30 00 00 00 08 00 05 00 02 00 00 00 an0...........
--------------------------- END NETLINK MESSAGE
---------------------------
Interface wlan0
ifindex 4
type Station
-- Debug: Received Message:
-------------------------- BEGIN NETLINK MESSAGE
---------------------------
[HEADER] 16 octets
.nlmsg_len = 36
.nlmsg_type = 2 <ERROR>
.nlmsg_flags = 0 <>
.nlmsg_seq = 1249856042
.nlmsg_pid = 25827