From: Maxim Levitsky <maximlevitsky@gmail.com>
To: Bob Copeland <me@bobcopeland.com>
Cc: ath5k-devel@lists.ath5k.org, linux-wireless@vger.kernel.org
Subject: Re: [ath5k-devel] [PATCH] ath5k: set mac address in add_interface
Date: Fri, 21 Nov 2008 22:53:37 +0200 [thread overview]
Message-ID: <49271FD1.101@gmail.com> (raw)
In-Reply-To: <b6c5339f0811211201i384ee31dyb5b3998fe02136af@mail.gmail.com>
Bob Copeland wrote:
> On Fri, Nov 21, 2008 at 2:49 PM, Maxim Levitsky <maximlevitsky@gmail.com> 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.
>
Yep, I intended to use ifconfig.
First change after module reload works, second doesn't.
I double check that I use right kernel (install it again).
Best regards,
Maxim Levitsky
next prev parent reply other threads:[~2008-11-21 20:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-18 4:40 [PATCH] ath5k: set mac address in add_interface Bob Copeland
2008-11-21 19:49 ` Maxim Levitsky
2008-11-21 20:01 ` [ath5k-devel] " Bob Copeland
2008-11-21 20:53 ` Maxim Levitsky [this message]
2008-11-21 21:45 ` Maxim Levitsky
2008-11-21 23:15 ` Bob Copeland
2008-11-22 13:25 ` Maxim Levitsky
2008-12-15 15:47 ` Stefanik Gábor
2008-12-15 16:04 ` Dan Williams
2008-12-15 16:12 ` Stefanik Gábor
2008-12-15 16:22 ` Dan Williams
2008-12-15 17:16 ` [ath5k-devel] " Bob Copeland
2008-12-16 14:58 ` Bob Copeland
2008-12-16 15:01 ` Johannes Berg
2008-12-19 15:15 ` Bob Copeland
2008-12-20 9:46 ` Johannes Berg
2008-12-16 15:42 ` Stefanik Gábor
[not found] ` <20081215161435.M87237@bobcopeland.com>
2008-12-15 16:30 ` Stefanik Gábor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49271FD1.101@gmail.com \
--to=maximlevitsky@gmail.com \
--cc=ath5k-devel@lists.ath5k.org \
--cc=linux-wireless@vger.kernel.org \
--cc=me@bobcopeland.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).