MarcoPolo is a cool little application for MacOSX that allows you to do automatic location switching. What it does is that it looks at your current connection state and then takes that and saves it into a location. Then it uses profile matching to see if you match up to certain locations based on the connection profiles. If so, then you’re automatically connected to that particular location. Call it educated guessing.