View Single Post
Posts: 53 | Thanked: 20 times | Joined on Jan 2010
#1
I'd like to be able to have a script run automatically when I connect to a wifi network.

It's the main university one and it's one of those which wants me to give my username and password in a web page before I'm allowed proper access to the internet.

The script would be easy -- it'd check which wifi network we just connected to (by SSID, for instance) and then if it matched the uni network it'd just be a simple curl job to send my username and password.

(Come to think of it I haven't even checked if curl's available -- I can work around that if not.)

Does something like this exist? I'm not new to Linux, I'm happy editing system configs and scripts etc.

This is on my new N900.