Lancs Wifi Auth Script
----------------------
This purpose of this script is to auth people on the open wifi network 
automatically.

I'd been meaning to write thie for eons, and t'is finally done, woo, etc.




Installation/Use
----------------
To install, whack the two scripts (lancwifilog[in/out]) into your $PATH
somewhere and put the sample rc file into ~/.lancswifirc .  Fill in the RC file
with your details and then run

./lancswifilogin

to log in.  If you wish to use it as part of an auto-login system like wicd then
you can put the parameter as the interface name, which will override the setting
in the rc file.

./lancswifilogin eth0

Will use eth0 instead of the default.  simples.



Sessions
--------
When you auth on lancaster's wifi, a small code is sent back in the logout
link.  If you click the 'logout' link in the page this code is used to log you
off.

If you specify SIDFILE in the config files (see below) this code is saved to a
file, and running lancswifilogout will be able to use this to log you out.
Generally logging out is not useful, so this is optional.

Logging out is not possible unless you specify a SIDFILE in which to store this
session ID.




Settings
--------
Set these in ~/.lancswifirc.

Your lancaster university login, these are the only compulsory items:
LANCSUSER=
LANCSPASS=

The interface to use by default
IFACE=

The file to store session information
SIDFILE=

These should never need changing, and are simply parameters from the site:
FORM_SUBMIT="1"
WHICH_FORM="reg"
DESTINATION="http://www.google.co.uk"
ERROR=




License
-------
Attribution would be nice, consider it GPL.
