1

I am using OpenSUSE 13.2 with kernel 3.16.7-21-desktop x86_64.

I am trying to change the MAC address of my system by using the following commands:

ifconfig | grep HWaddr
ifconfig wlp2s0 down
macchanger -r wlp2s0
ifconfig wlp2s0 up

This is changing the MAC address but as soon as the MAC address is changed, it disconnects from my Wireless network. When it connects back to the network, the MAC address reverts back to the original address.

Any ideas how I can prevent this from happening?

6
  • What Linux distribution and version? Is Network Manager active?
    – Larssend
    Jul 26, 2015 at 4:55
  • I am using OpenSUSE 13.2. Yes the Network Manager is active.
    – Arun
    Jul 26, 2015 at 4:59
  • Either change the Mac Address using Network Manager's GUI, or disable it and use command-line tools. You can't have both.
    – Larssend
    Jul 26, 2015 at 5:02
  • I tried changing it using the "Network Manager" in the "Cloned Address" field. But when I use "ifconfig" command to check the network address, it remains unchanged.
    – Arun
    Jul 26, 2015 at 6:21
  • This question might seem disparaging, but have you tried disconnecting and reconnecting the connection after filling in the Cloned Address field?
    – Larssend
    Jul 26, 2015 at 11:47

1 Answer 1

0

It seems to me that you have MAC address filtering set up on your access point/wireless router. Try to turn it off or register the spoofed MAC address on the access point/router.

1
  • I don't think that MAC address filtering option is turned on because a number of devices have connected to the network successfully (after giving the password/network key).
    – Arun
    Jul 27, 2015 at 12:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .