How can I change the MAC address of ath0?

XkuIPjIedEYT XkuIPjIedEYT xkuipjiedeyt at gmail.com
Wed Apr 1 01:50:46 PDT 2009


I'm running the FreeBSD 8.0-CURRENT r190504.

# dmesg | grep ^ath0
ath0: <Atheros 5212> mem 0xf4000000-0xf400ffff irq 18 at device 11.0 on pci0
ath0: [ITHREAD]
ath0: AR2413 mac 7.9 RF2413 phy 4.5

changing the MAC address directly on ath0 didn't work:

# ifconfig ath0 link 00:aa:bb:cc:dd:ee
ifconfig: ioctl (SIOCAIFADDR): Operation not supported by device

# ifconfig ath0 ether 00:aa:bb:cc:dd:ee
ifconfig: ioctl (SIOCAIFADDR): Operation not supported by device

it worked when creating wlan0 with the wlanaddr option, but I can't
associate to the AP if I try to change the MAC address of wlan0.

Any help?


More information about the freebsd-current mailing list