Free laptop wifi at Starbucks if you have an iPhone
by mark on Sep.18, 2009, under Hacking, Net Politics, Technology
There are a few posts on the net showing you how to spoof your browser’s user agent to make it look like you’re using an iPhone but it appears that Starbucks has gotten wise. So an alternative is to do the following. (Warning, typical mac users are going to cringe cause this requires *gasp* Terminal usage…)
First off symlink the airport control binary to /usr/sbin/airport with the following command :
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport
Then here is where it gets fun. Go to your iPhone’s general -> network tab and copy down the MAC address for the wifi device.
Once you have that number you’re good to go. Here’s what you do.
1. With your iPhone, associate to the Starbucks wifi network.
2. Use Safari to hit a web page. You will be redirected to the ATTWIFI (sbc) site. Enter your phone number and wait for the SMS
3. Click on the SMS link which will take you to the thank you page.
4. Now, on your laptop (Mac instructions here, if you have Windows you’re on your own, Linux users are smart enough to figure this part out) spoof your wireless device MAC address with the number you got from looking at the iPhone running the following commands
sudo airport -z(the numbers are the HEX numbers you copied from the iPhone.
sudo ifconfig en1 lladdr ##:##:##:##:##:##
You should now be connected.



