Detect internet connection?

Tell us a bit more - when you plug in or start your laptop in a WiFi zone, what do you do? Are you simply assigned an IP address and then presented with a login page? If so, all you need to know is the IP address of the connection.

set myIPA to IPv4 address of (system info)

and then detect which set it belongs to.

Oh, sure thing.

Basically, I’m trying the

curl -d "user=username&password=mypassword" www.hotmail.com/login.cgi

thing. So, bascially, it’ll be an if statement… If IP starts with 209, login at this url, if it starts with 10, login at that url.

The next step is integrating an appletalk switcher, and a redirect detecter. Like, my homepage is digg.com, and if i get automatically redirected, do the thing. That’ll be a safari script, I guess.

Thanks for the help, though. I’ll check it out! :slight_smile: