linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Niemayer <niemayer@isg.de>
To: linux-wireless@vger.kernel.org
Subject: "ip link set address" fails with ath5k and newer madwifi drivers
Date: Mon, 29 Sep 2008 18:23:10 +0200	[thread overview]
Message-ID: <gbqvde$e4l$1@ger.gmane.org> (raw)

Hi all,

I recently noticed that changing the MAC address of an
atheros WLAN adapter fails with all ath5k and newer
madwifi drivers.

To reproduce, just say something like

  ip link set <yourdevice> address 11:22:33:44:55:66

before attaching to your access point. This worked
fine with old madwifi drivers. (Alas, I cannot narrow
down "old" much finer, must have been ~2 years)

With a current ath5k driver, the attachment to the AP
fails, and if I look into the NIC registers using
athtool, I can see the new MAC address has not consistently
been stored there.

With a current madwifi driver, the attachment to the AP
works, and the NIC registers do contain the newly set
address. But any further communication fails, as packets
sent from the local machine to the AP contain the wrong
(old, original, before "ip link set ...") MAC source
address.

Is this a known problem? Does anybody have a hint on
where to look for a resolution?

Thanks in advance,

Peter Niemayer


                 reply	other threads:[~2008-09-29 16:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='gbqvde$e4l$1@ger.gmane.org' \
    --to=niemayer@isg.de \
    --cc=linux-wireless@vger.kernel.org \
    /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).