How can I change the MAC address of ath0?

pluknet pluknet at gmail.com
Wed Apr 1 01:59:16 PDT 2009


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.

-- 
wbr,
pluknet


More information about the freebsd-current mailing list