How can I change the MAC address of ath0?

Vincent Hoffman vince at unsane.co.uk
Wed Apr 1 05:04:20 PDT 2009


On 1/4/09 09:59, pluknet wrote:
> 2009/4/1 XkuIPjIedEYT XkuIPjIedEYT <xkuipjiedeyt at gmail.com>:
>   
>> 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 looks that something was changed in this area in r190508.
>
>   
I dont have a current system handy so this is conjecture, since the ath
device isnt used directly and instead you use cloned wlan devices, could
you instead change the MAC address assigned to that instead?

Vince


More information about the freebsd-current mailing list