This will make you avoid the hassle of web-based authentications for free hotspots and make your connection longer as if you are connecting via a LAN.
Once launched, AutoWifi will take one of these notification icons:
For more information about this application, check this page. To install AutoWifi on Ubuntu 11.10/11.04, run the following commands from the terminal:
sudo apt-get install python-distutils-extra
wget -O autowifi_0.1-public29_all.deb http://goo.gl/GjfXL
sudo dpkg -i autowifi_0.1-public29_all.deb
Use the Unity Dash to start AutoWifi.