from sephail.net

The autoinet script scans for access points and begins connecting to each one found, looking for one with internet access. If the access point has internet access, it stays connected, and you are able to connect through it using NAT. Tested only on the Linksys WRT54G/WRT54GS.

Be watching this for an upcoming i-hacked article!