Search Linux Wireless

Re: [ath5k-devel] [PATCH] ath5k: set mac address in add_interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 21, 2008 at 2:49 PM, Maxim Levitsky <maximlevitsky@xxxxxxxxx> wrote:
> Bob Copeland wrote:
>> Hi Maxim,
>>
>> Please try this patch.  I didn't have a problem changing the mac address
>> after it was set to something else.  I did kick it to re-associate with
>> the AP, though.
>>
>
> Tested it, this still doesn't work:
>
> iwconfig wlan0 down
> macchanger wlan0
> iwconfig wlan0 up

Wait, don't you want to do ifconfig here?  Or was that just a typo?

I did exactly that (ifconfig down/macchanger/ifconfig up) and it
worked here.  In particular if you have mac80211 debugging on it should
show the mac address changing.  In my case, it didn't matter whether
I'd previously associated or not.  I did have to tell NetworkManager
to re-associate though.

-- 
Bob Copeland %% www.bobcopeland.com
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux