Wifi Assistant

Wifi Jail Breakout Assistant This page is being moved here from wifi-assistant.garage.maemo.org today, January 5th 2011 About What? This application aims to help make life easier when connecting your Nokia N900 to wifi networks (WLAN) that requires you to visit a captive portal (login) page before you can access the Internet. Why? I got tired of not being able to connect easily to networks guarded by a login page, so I created this app to scratch that itch. Nokia doesn't supply this feature and when asked for, it's out of scope for the N900. How it works and Screenshots Connected to network When you're connected to a "new" network, you get this popup which asks you if you want to launch a browser. Simply press Yes or No to open a new browser window. The next time you connect to that network, the same action will be take (open or not open a browser window), unless you untick the "Remember this decision" checkbox. (You'd get the same popup each time instead.)  Network Settings If you fire up the configuration/settings GUI (it's called Wifi Assistant and the icon looks like the one at the top this page) you get a list of all the networks we've used and whether to launch a browser or not. You can change the settings by tapping the line you want to change.   Daemon Settings You can turn the daemon off (kind of) so that it won't show popups. It'll still open a new browser window when you connect to networks where you've selected "Yes" previously.  Download and Install Get the debian package file (wifi-assistant_X.X.X_all.deb) from the Maemo.org packages site If you download the file using your browser, the application manager will start and you'll be asked to install the pacakge. Eventually you'll be able to download Wifi Assistant from the Extras repository, provided by Nokia/Maemo. If you want to use the terminal, the commands are (requires root shell (rootsh) and wget):  $ sudo gainroot Alternative You could also get the latest version from this projects' garage (home). This is where I put the packages I test myself. It should not differ at all from the ones built by the Maemo build site.  Roadmap  Daemon that launches browser GUI app where you can change settings Add and remove settings</li> Upload wifi-assistant to Extras, <span class='done'put up a note on maemo.org forum </li> Handles SSID/Network names with spaces in them</li> Ability to specify URL to launch, per SSID/Network name</li> Detect if the net is locked down or not (useful for networks which gives you one day access - you only want the browser launched once per day)</li> Have the network settings sorted alphabetically</li> Daemon work: <ul> Let the GUI app launch daemon if it's not running</li> Change listenting to changes in gconf to using dbus</li> </ul> </li> Implement Ideas (below)</li> </ul> <a name='bugs'></a> Bugs Comes included from the start ... If you've found a bug I'd love to hear about it and have it fixed so the application improves! There are basically three way in which you can contribute: <ul> Send me an email (fredrik&#64;wendt&#46;se)</li> Put up a post about it <a href="http://talk.maemo.org/showpost.php?p=782524">on this thread</a> at talk.maemo.org (a forum)</li> Enter a bug or feature request in the <a href="https://bugs.maemo.org/enter_bug.cgi?product=Wifi%20Assistant">bug tracking system</a></li> </ul> Either way - your contribution is greatly appreciated! The only real "bug" right now is that network names with spaces in them aren't handled properly (they can't be part of a gconf key). <a name='source'></a> Source It's all written in Python and the source is available for download - you can either get it with or <a href="https://garage.maemo.org/plugins/ggit/browse.php/?p=wifi-assistant">browse it online</a>. There's more info at the <a href="https://garage.maemo.org/scm/?group_id=1777">SCM page</a>. Contributions are of course very welcome! <a name='license'></a> License This application is free to use, inspect, adapt and share, licensed under a BSD type license. Thanks To Lisa, Anton and Leia who support me (kind of) while I'm up late etc. A big thanks to Andrew Flegg (Jaffa) - the build files for this application are extremely similar to those used to build the excellent anti "blue man syndrome" application <a href='http://hermes.garage.maemo.org/'>Hermes</a>. Donate <script type="text/javascript"> var flattr_url = 'http://wifi-assistant.garage.maemo.org'; <script src="http://api.flattr.com/button/load.js" type="text/javascript"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="encrypted" value="-BEGIN PKCS7-MIIHTwYJKoZIhvcNAQcEoIIHQDCCBzwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYAecLpyRqOSiQZU0sqn0GBJ3CnQJPh9cqgJKKXM+uTu5DwdNz/14F5EsCQ4s6XzCwl/tqB0H4xFJtveuc4mMz1rNOd3IRQKUu26m8B2P39NE6Q7rM9y2YjlyesuorYCUi/NfrGDGjtVQ3BC+8+dK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" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> You could either simply donate via PayPal, or Flattr this project - either way: thanks for your support! <a name='ideas'></a> Ideas <dl> <dt>Detect login page when connected to new network</dt> <dd>This is fairly easy to do - simply make a HTTP HEAD request for a known static resource on the web. If you get anything but a HTTP 200 in return, that network has a captive portal (or the connection was lost etc).</dd> <dt>Detect URL needed to autologin</dt> <dd>The best idea I have right now is to setup a local proxy. The way to operate this would be to: <ol> "Open browser and record URLs" button clicked</li> a HTTP proxy is setup, the browser is setup to use that proxy</li> browser is launched</li> <li>user logs in at the portal page</li> <li>user switches to Wifi Assistant, clicks "Turn off URL recording"</li> <li>proxy is shut down, browser (system) settings reverted to previous settings</li> <li>user looks at list of recorded URLs</li> <li>user selects URL to use when being connected to this network next time</li> </ol> </dd> </dl> More Screenshots These are not really needed to explain how the program works. <img class='screenshot' src='gfx/screenshot-menu.png' /> <img class='screenshot' src='gfx/screenshot-delete.png' /> <img class='screenshot' src='gfx/screenshot-launch-settings-empty.png' /> <img class='screenshot' src='gfx/screenshot-about.png' />
 * 1) wget https.....
 * 2) dpkg -i wifi-assistant_latest.deb