csanyi...@gmail.com wrote:
> Bob Proulx writes:
> > Michael Biebl wrote:
> >> Any idea why it changes the MAC?
> >
> > Hmm...  Is 'macchanger' involved in this in any way?
>
> I just installed macchanger and run:

Wait!  That was NOT a request to install macchanger.  The question was
why is your ethernet address changing?  I asked if perhaps you had
already installed macchanger to intentionally change it.  If so then
that would explain why your mac address was changing.  Now that you
have definitely installed it it is possible that you now have *two*
things changing your ethernet address.  As they say, "Now you have two
problems."

This reminds me of: 
http://en.wikipedia.org/w/index.php?title=World%27s_funniest_joke&oldid=633478023

> macchanger -s wlan0
> Permanent MAC: 00:e0:4c:81:92:dc (Realtek Semiconductor Corp.)
> Current   MAC: 00:e0:4c:81:92:dc (Realtek Semiconductor Corp.)

Shows the mac address using the -s option.  Okay.  No changes made.
This is trivially the same as:

  ip addr show wlan0 | grep link

> # macchanger -m 00:e0:4c:81:92:dc wlan0
> Permanent MAC: 00:e0:4c:81:92:dc (Realtek Semiconductor Corp.)
> Current   MAC: 00:e0:4c:81:92:dc (Realtek Semiconductor Corp.)
> It's the same MAC!!

This sets the mac address to the value specified using the -m option.
Therefore of course it is the same mac.  You have explicitly set the
mac to the same one as before.  Did you expect something different?
What?

> So after this what should I do with udev rules in
> 70-persistent-net.rules ?

First you should purge macchanger from your system.

  # apt-get purge macchanger

Then get back to your original problem.  (Squirrel!)  Stay on target.

> Now the line is:
> # USB device 0x:0x (rtl8192cu)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", \
> ATTR{address}=="00:e0:4c:81:92:*", ATTR{dev_id}=="0x0", \
>  ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

Other people have been answering this part of your question.

Bob

Attachment: signature.asc
Description: Digital signature

Reply via email to