• WarmSoda@lemm.ee
    ·
    10 months ago

    Let's pretend someone didn't know how to do that on an android. How would you explain it to them?

    • /home/pineapplelover@lemm.ee
      ·
      10 months ago

      On android when you go to the wifi settings you're currently connected to there should be a setting for randomizing mac address per connection or per network. If you change it to per connection, once you disconnect and reconnect your mac address should change. On per network, it will randomly generate the mac address for the first connection and keep that address for that wifi forever.

        • /home/pineapplelover@lemm.ee
          ·
          10 months ago

          Yeah, recently I was on school wifi and it kept bothering me to log in and figured I needed to switch to per network or it would bother me everytime to sign into the captive portal.

    • notthebees@reddthat.com
      ·
      10 months ago

      There was a way to do it on older Android phones with a specific Mac address changer but it broke after android 6 got released.

  • jetsetdorito@lemm.ee
    ·
    10 months ago

    fun fact, an early iPhone jailbreak would always change the phones wifi mac to the same address, so there was a meme for a while that if you had a jailbroken iPhone you couldn't use airport wifi

  • Kool_Newt@lemm.ee
    ·
    edit-2
    10 months ago

    I use this to make MACs for my VMs and virtual NICs. The 00:16:3E prefix means it's Xen virtualization, so change this part as needed.

    #!/usr/bin/python
    
    # macgen.py script to generate a MAC address for guests on Xen
    
    import random
    
    def randomMAC():
    	mac = [ 0x00, 0x16, 0x3e,
    		random.randint(0x00, 0x7f),
    		random.randint(0x00, 0xff),
    		random.randint(0x00, 0xff) ]
    	return ':'.join(map(lambda x: "%02x" % x, mac))
    
    print (randomMAC())
    

    Use

    $ macgen.py 
    00:16:3e:17:ed:b1
    
  • fidodo@lemm.ee
    ·
    10 months ago

    Are there airports that still do this? Every airport I've been to in the last decade has had free Wi-Fi.

  • radix@lemm.ee
    ·
    10 months ago

    In general, I thought IP addresses are mutable while MACs stay the same, and I thought that's why the outside world uses IPs to identify networks while routers inside a network use MACs to identify specific devices. If you can change your MAC arbitrarily, doesn't that risk making the router's job more difficult? Why not just assign yourself a different internal IP?

    • fneu@discuss.tchncs.de
      ·
      10 months ago

      The router recognizes a device based on its MAC and assigns an IP address. Traditionally, the MAC stays the same, so you’re right. In this case, OP doesn’t want to be recognized by the (airport) router. There is software for spoofing the MAC address for most platforms. Changing the MAC address has recently become more popular due to privacy concerns and on some operating systems it’s supported out of the box.