UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to change the MAC address of wlan0 in DORMANT mode?

    Scheduled Pinned Locked Moved Unsolved Support
    1 Posts 1 Posters 248 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • B Offline
        bre34
        last edited by bre34

        I opened a terminal and typed "ip link".

        wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 3000

        It shows "link/ether" and then the permanent MAC address.

        wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group qlen 3000

        It shows "link/ether" and then the MAC address.

        I was experimenting with "macchanger" on my Pixel 3a to change the MAC addresses of the devices and all worked except for "waydroid0" and "wlan0". I brought the network down and tried "sudo ip link set wlan0 mode default". Then I succesfully changed the MAC address for "wlan0". I then brought the network back up, did "ip link", and saw that "wlan0" had the permanent MAC address back and was labeled "DORMANT" again. All other device addresses kept the changed MAC addresses ("waydroid0" did not change).

        Is there a way to change the MAC address of "wlan0"? Is "waydroid0" going to have a permanent by design MAC address?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post