News for hackers. Stuff that matters.
Re:How does Starbucks knows how to grab my MAC Address? by 0x0 on Sunday December 14, 2014 @06:19PM (#8749950)
The wifi router knows your mac and probably intercepts a HTTP request (like a "captive portal"), which probably redirects you to that URL while including the MAC address
Re:How does Starbucks knows how to grab my MAC Address? by larrywallace on Sunday December 14, 2014 @07:06PM (#8750060)
Yes, I am connected to the store's wifi. Can you point me to some code that actually can grab the mac address? As the title suggests -- I want to know how they do it.
Re:How does Starbucks knows how to grab my MAC Address? by dalke on Sunday December 14, 2014 @07:25PM (#8750109)
http://en.wikipedia.org/wiki/Captive_portal lists three ways to achieve it. The details will depend on how Starbucks decided to do it.

What you're asking is, in essence, "how does ethernet work?" That cannot be explained in a few paragraphs. You can start with Richard Stevens' "TCP/IP Illustrated, Vol. 1", as one of many available descriptions. You can use Wireshark to track all of the details.

At this point you should stop asking questions here. There's likely no simple answer, and this is a great chance to experiment and figure it out for yourself.

(Even if someone knows the exact details of how Starbucks does it, you are unlikely to understand the explanation without understanding some of the fundamentals.)

Re:How does Starbucks knows how to grab my MAC Address? by larrywallace on Monday December 15, 2014 @01:30AM (#8750901)
ok, I think I got it. Fundamentals I know enough to be dangerous, thanks for the pointers to captive portal. I'll be able to run with this now... I upvoted you and 0x0