728
Simple trick (programming.dev)
submitted 10 months ago by likeaduck@programming.dev to c/memes@lemmy.ml
all 33 comments
sorted by: hot top controversial new old
[-] Jamie@jamie.moe 55 points 10 months ago

Last time I went on vacation, the hotel wifi wouldn't let my laptop on for some reason, but my phone was fine. The portal to log in just wouldn't come up on my laptop.

So I took my phone off the wifi and just spoofed my phone's MAC address on the laptop. Did that for the whole week I was there.

[-] c0mbatbag3l@lemmy.world 3 points 10 months ago

I did this once to get on Xbox live cause the Xbox doesn't (or didn't, idk I'm PC now) open the web portal for you to agree to.

So I just changed my hardware address to my laptop's after I went through the portal in a web browser.

No problems. That was the moment I knew I wanted to be a network engineer. The fact that it worked was just so damn cool.

[-] Potatos_are_not_friends@lemmy.world 2 points 10 months ago

I didn't think of that at all! Brilliant!

[-] LufyCZ@lemmy.dbzer0.com 2 points 10 months ago

If you've got a VPN running, it won't work. Turned it off and the prompt came right up

[-] Jamie@jamie.moe 1 points 10 months ago

Nah, I don't typically run a VPN.

[-] tinsuke@lemmy.world 24 points 10 months ago

Alt: it's a simple spell but quite unbreakable.

[-] zeroblood@lemmy.ca 24 points 10 months ago

I'll probably forget to check when I get home. Does anyone know if Android randomizes the MAC address on every disconnect/connect with the random MAC option enabled?

[-] Dirk@lemmy.ml 8 points 10 months ago
[-] grasib@lemmy.world 10 points 10 months ago

Not by default. It remembers the MAC for each specific network. This is because sometimes you want to have specific device on the same IP all the time. The DHCP decides this via the MAC.

If you want it truly randomised every time you need to turn on non persistent MAC randomisation in the developer option.

[-] XEAL@lemm.ee 5 points 10 months ago

I've seen that on LineageOS 18 (based on Android 11)

[-] LunaCtld@lemmy.world 4 points 10 months ago

GrapheneOS does this by default as well.

[-] KpntAutismus@lemmy.world 1 points 10 months ago

my Fairphone 4's android 12 does this too.

[-] notasandwich1948@sh.itjust.works 3 points 10 months ago

it does for me, I'm on project elixir

[-] BigDaddySlim@lemmy.world 23 points 10 months ago

This reminds me of college. Was downloading movie torrents on my laptop while in class, just made it so it wouldn't go to sleep when you closed the lid. So the IT guys kept kicking me off, so I'd change my MAC and keep going. It got to the point where I did that so much that the IT guys were actually going around campus looking for whoever was doing it. Also I changed my MAC so much it fried the wifi card in my laptop to the point it needed replaced lmao. Good times.

[-] BrainIG@lemmy.world 15 points 10 months ago

How it got fried? Was it running hot all the time?

[-] LunaCtld@lemmy.world 28 points 10 months ago

Stupid guess: Maybe the changed mac is written to e.g. an EEPROM and it ran out of write cycles and bugged out then.

[-] MrBakedBeansOnToast@lemmy.world 17 points 10 months ago

Isn’t the MAC address fixed to the hardware? Am I growing old?

[-] MrWafflesNBacon@lemmy.world 19 points 10 months ago

It still is if I'm correct but most operating systems have an option to spoof/randomize your MAC address

[-] scytale@lemm.ee 11 points 10 months ago

It is, but there are ways to spoof it so your device presents a different one when connecting to a network.

[-] wischi@programming.dev 5 points 10 months ago* (last edited 10 months ago)

Not quite. I'm not really sure but I think the original idea actually was a fixed hardware address but I'm not sure if a lot of devices actually ever implemented it that way because it's simpler (and cheaper) to control it in software. In modern (especially mobile) devices it's actually a security requirement because with a fixed MAC address you could be tracked by other wifi devices.

[-] altima_neo@lemmy.zip 3 points 10 months ago

With the right software, you can do anything!

[-] lud@lemm.ee 2 points 10 months ago

As the others said that is normally the case but nowadays most computers and mobiles have an option that randomize the MAC addresses on each connection.

These MAC addresses are known as locally-administered address. They look like this:

x2:xx:xx:xx:xx:xx
x6:xx:xx:xx:xx:xx
xA:xx:xx:xx:xx:xx
xE:xx:xx:xx:xx:xx

And rarely like this:

x3‑xx‑xx‑xx‑xx‑xx
x7‑xx‑xx‑xx‑xx‑xx
xB‑xx‑xx‑xx‑xx‑xx
xF‑xx‑xx‑xx‑xx‑xx
[-] wisefoolkp@sh.itjust.works 14 points 10 months ago

I just spent a whole week trying to prevent mac spoofing on my small wisp network network... Still trying...

[-] original_ish_name@lemm.ee 9 points 10 months ago

You are the worst kind of person

[-] wisefoolkp@sh.itjust.works 7 points 10 months ago

Just trying to live up the villain dream...

[-] elboyoloco@lemmy.world 1 points 10 months ago
[-] exu@feditown.com 2 points 10 months ago

Please don't block Boeing or other funny MAC Adress prefixes. Why wouldn't you believe a 747 was using your network?

this post was submitted on 23 Aug 2023
728 points (97.8% liked)

Memes

44066 readers
2109 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS