Editing Wifi Assistant

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
[[Image:Wifi-assistant-icon.png]]
+
<h1>Wifi Jail Breakout Assistant</h1>  
-
This page is about the application known as Wifi Assistant.
+
-
  'This page is about the application known as Wifi Assistant.
+
-
This page is about the application known as Wifi Assistant.
+
-
This page is about the application known as Wifi Assistant.
+
-
This page is about the application known as Wifi Assistant.
+
-
This page is about the application known as Wifi Assistant.
+
   
   
-
 
+
'''This page is being moved here from wifi-assistant.garage.maemo.org today, January 5th 2011'''
-
 
+
-
This application aims to help make life easier when connecting your'll
+
-
 
+
-
===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),  
+
 +
<h2>About</h2>
 +
<h3>What?</h3>
 +
<p>
 +
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.
 +
</p>
 +
 +
<h3>Why?</h3>
 +
<p>
 +
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.
 +
</p>
 +
 +
 +
 +
 +
 +
<h2>How it works and Screenshots</h2>
 +
<h3>Connected to network</h3>
 +
<p>
 +
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.)
unless you untick the "Remember this decision" checkbox. (You'd get the same popup each time instead.)
-
 
+
<div><img class='screenshot' src='gfx/screenshot-popup.jpg' /></div>
-
[[Image:wifi-assistant-screenshot-popup.jpg|frame|center|alt=Screenshot of Wifi Assistant popup|Wifi Assistant popup]]
+
</p>
-
 
+
-
===Network Settings=7==
+
   
   
-
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.
+
<h3>Network Settings</h3>
-
 
+
<p>
-
[[Image:wifi-assistant-screenshot-launch-list.png|frame|center|alt=Screenshot of Wifi Assistant launch list|Launch list]]
+
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.
-
[[Image:wifi-assistant-screenshot-launch-settings.png|frame|center|alt=Screenshot of Wifi Assistant launch settings|Launch settings]]
+
You can change the settings by tapping the line you want to change.
-
[http://www.example.com link title]
+
<div><img class='screenshot' src='gfx/screenshot-launch-list.png' /></div>
-
q1
+
<div><img class='screenshot' src='gfx/screenshot-launch-settings.png' /></div>
-
 
+
</p>
-
===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.  
+
<h3>Daemon Settings</h3>
-
 
+
<p>
-
[[Image:wifi-assistant-screenshot-daemon-settings.png|frame|center|alt=Screenshot of Wifi Assistant daemon settings|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==
+
<div><img class='screenshot' src='gfx/screenshot-daemon-settings.png' /></div>
-
 
+
</p>
-
<div style="float:right">
+
-
<imagemap>
+
-
Image:ClickToInstall.png
+
-
desc none
+
-
default [http://maemo.org/downloads/product/raw/Maemo5/wifi-assistant/?get_installfile Install]
+
<h2>Download and Install</h2>  
-
</imagemap>
+
<p>  
-
</div>
+
Get the debian package file (wifi-assistant_X.X.X_all.deb) from
-
 
+
<a href="http://maemo.org/packages/view/wifi-assistant/">the Maemo.org packages site</a>  
-
The package is available in maemo.org [[Extras]]. It can be found under "Networking" in Application Manager, or [http://maemo.org/downloads/product/raw/Maemo5/wifi-assistant/?get_installfile directly installed] from [http://maemo.org/downloads/product/Maemo5/wifi-assistant/ maemo.org Downloads].
+
If you download the file using your browser, the application manager will start and you'll be asked to install the pacakge.
-
 
+
</p>  
-
===Alternative===
+
<p>
-
 
+
Eventually you'll be able to download Wifi Assistant from the Extras repository, provided by Nokia/Maemo.
 +
</p>
 +
<p>
 +
If you want to use the terminal, the commands are (requires root shell (rootsh) and wget):
 +
<pre class='cli'>
 +
$ sudo gainroot
 +
# wget https.....
 +
# dpkg -i wifi-assistant_latest.deb
 +
</pre>
 +
</p>
 +
 +
<h3>Alternative</h3>
 +
<p>
You could also get the latest version from
You could also get the latest version from
-
[https://garage.maemo.org/projects/wifi-assistant 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.
+
<a href="https://garage.maemo.org/projects/wifi-assistant">this projects' garage (home)</a>.
-
 
+
This is where I put the packages I test myself. It should not differ at all from the ones
-
==Roadmap==
+
built by the Maemo build site.
-
 
+
</p>  
-
* <del>Daemon that launches browser</del>
+
-
* <del>GUI app where you can change settings</del>
+
-
* <del>Add and remove settings</del>
+
-
* <del>Upload wifi-assistant to Extras, put up a note on maemo.org forum</del>
+
-
* <del>Handle SSID/Network names with spaces in them</del>
+
-
* Ability to specify URL to launch, per SSID/Network name (<del>add backend support</del>, add GUI for easy configuration)
+
-
* 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) 
+
-
* <del>Have the network settings sorted alphabetically</del>
+
-
* Daemon work:
+
-
** Let the GUI app launch daemon if it's not running 
+
-
** Change listenting to changes in gconf to using dbus (only if this consumes less power)
+
-
* Implement Ideas (below)
+
-
 
+
-
==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:
 
   
   
-
* Send me an email (fredrik&#64;wendt&#46;se)
 
-
* Put up a post about it [http://talk.maemo.org/showpost.php?p=782524 on this thread] at talk.maemo.org (a forum)
 
-
* Enter a bug or feature request in the [https://bugs.maemo.org/enter_bug.cgi?product=Wifi%20Assistant bug tracking system]
 
   
   
 +
<a name='roadmap'><!-- #roadmap --></a>
 +
<h2>Roadmap</h2>
 +
<ul id='roadmap'>
 +
<li class='done'>Daemon that launches browser</li>
 +
<li class='done'>GUI app where you can change settings</li>
 +
<li class='done'>Add and remove settings</li>
 +
<li>Upload wifi-assistant to Extras, <span class='done'put up a note on maemo.org forum</span></li>
 +
<li>Handles SSID/Network names with spaces in them</li>
 +
<li>Ability to specify URL to launch, per SSID/Network name</li>
 +
<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>
 +
<li>Have the network settings sorted alphabetically</li>
 +
<li>Daemon work:
 +
<ul>
 +
<li>Let the GUI app launch daemon if it's not running</li>
 +
<li>Change listenting to changes in gconf to using dbus</li>
 +
</ul>
 +
</li>
 +
<li>Implement Ideas (below)</li>
 +
</ul>
 +
 +
 +
 +
 +
<a name='bugs'><!-- #bugs --></a>
 +
<h2>Bugs</h2>
 +
<p>
 +
Comes included from the start ...
 +
</p>
 +
<p>
 +
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:
 +
</p>
 +
<ul>
 +
<li>Send me an email (fredrik&#64;wendt&#46;se)</li>
 +
<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>
 +
<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>
 +
<p>
Either way - your contribution is greatly appreciated!
Either way - your contribution is greatly appreciated!
-
 
+
</p>
-
==Source==
+
<p>
-
 
+
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).
 +
</p>
 +
 +
 +
 +
 +
<a name='source'><!-- #source --></a>
 +
<h2>Source</h2>
 +
<p>
It's all written in Python and the source is available for download - you can either get it with  
It's all written in Python and the source is available for download - you can either get it with  
-
<pre>git clone https://vcs.maemo.org/git/wifi-assistant</pre> or  
+
<code>git clone https://vcs.maemo.org/git/wifi-assistant</code> or  
-
[https://garage.maemo.org/plugins/ggit/browse.php/?p=wifi-assistant browse it online].
+
<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>.
 +
</p>
 +
<p>
Contributions are of course very welcome!
Contributions are of course very welcome!
-
 
+
</p>
-
==License==
+
-
 
+
 +
 +
 +
<a name='license'><!-- #license --></a>
 +
<h2>License</h2>
 +
<p>
This application is free to use, inspect, adapt and share, licensed under a BSD type license.
This application is free to use, inspect, adapt and share, licensed under a BSD type license.
-
 
+
</p>
-
==Thanks==
+
   
   
 +
 +
 +
 +
<h2>Thanks</h2>
 +
<p>
To Lisa, Anton and Leia who support me (kind of) while I'm up late etc.   
To Lisa, Anton and Leia who support me (kind of) while I'm up late etc.   
-
 
+
</p>
-
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 [http://hermes.garage.maemo.org/ Hermes].
+
<p>
-
 
+
A big thanks to Andrew Flegg (Jaffa) - the build files for this application are extremely similar  
-
==Donate==
+
to those used to build the excellent anti "blue man syndrome" application  
-
 
+
<a href='http://hermes.garage.maemo.org/'>Hermes</a>.
 +
</p>
 +
 +
 +
 +
 +
<h2>Donate</h2>
 +
<div style='margin-right: 1em; float: left'>
 +
<script type="text/javascript">
 +
var flattr_url = 'http://wifi-assistant.garage.maemo.org';
 +
</script>
 +
<script src="http://api.flattr.com/button/load.js" type="text/javascript"></script>
 +
</div>
 +
<div style='margin-right: 1em; float: left'>
 +
<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-----MIIHTwYJKoZIhvcNAQcEoIIHQDCCBzwCAQExggEwMIIBLAIBADCBlDC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0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMDA3MjgyMjU4NDlaMCMGCSqGSIb3DQEJBDEWBBQmttbZ4YJ0YIZ8ncTjD7ikKaAHkDANBgkqhkiG9w0BAQEFAASBgJKyukAmnWEaCFp9fQspvYBAW0xND52d/DaEJwuo8Yhbg4r03O8F0wk+Q7gn8zdcmQu77hcIe/Xf7vJtHPEdJfuivWfpWufuxX2nvlk/42QVqdsmvp0qDWUI/H23+uIqL3QcJrLmPqkc0jZKtCyI8uNl+uAfOzBAn3DvnHz/b7Qn-----END PKCS7-----
 +
">
 +
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" 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">
 +
</form>
 +
</div>
 +
 +
<p>
You could either simply donate via PayPal, or Flattr this project - either way: thanks for your support!
You could either simply donate via PayPal, or Flattr this project - either way: thanks for your support!
-
 
+
</p>
-
[[Image:Flattr-badge-large.png|link=http://flattr.com/thing/41709/Wifi-Jail-Breakout-Assistant]] (if the link doesn't work, please use http://flattr.com/thing/41709/Wifi-Jail-Breakout-Assistant - MediaWiki awkwardness)
+
-
 
+
-
If you want me to directly implement a feature you can't live without - contact me and we'll see if I can find the time.
+
-
 
+
-
==Ideas==
+
<a name='ideas'><!-- #ideas --></a>
-
 
+
<h2>Ideas</h2>
-
===Detect login page when connected to new network===
+
<dl>
-
 
+
<dt>Detect login page when connected to new network</dt>
-
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), or maybe the server is down  (if it fails could try another one first, trying to avoid one in the same country/network route; or try )
+
<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>
-
===Detect URL needed to autologin===
+
-
 
+
<dt>Detect URL needed to autologin</dt>
-
The best idea I have right now is to setup a local proxy. The way to operate this would be to:
+
<dd>The best idea I have right now is to setup a local proxy. The way to operate this would be to:
-
* "Open browser and record URLs" button clicked
+
<ol>
-
* a HTTP proxy is setup, the browser is setup to use that proxy
+
<li>"Open browser and record URLs" button clicked</li>
-
* browser is launched
+
<li>a HTTP proxy is setup, the browser is setup to use that proxy</li>
-
* user logs in at the portal page
+
<li>browser is launched</li>
-
* user switches to Wifi Assistant, clicks "Turn off URL recording"
+
<li>user logs in at the portal page</li>
-
* proxy is shut down, browser (system) settings reverted to previous settings
+
<li>user switches to Wifi Assistant, clicks "Turn off URL recording"</li>
-
* user looks at list of recorded URLs
+
<li>proxy is shut down, browser (system) settings reverted to previous settings</li>
-
* user selects URL to use when being connected to this network next time
+
<li>user looks at list of recorded URLs</li>
-
 
+
<li>user selects URL to use when being connected to this network next time</li>
-
===Support WISPr for automated login===
+
</ol>
-
 
+
</dd>
-
Builds on "detect login page"; on connection to a WISPr-enabled SSID, make a GET request, follow the redirect, retrieve a login URL for the portal, submit login credentials.
+
</dl>
-
 
+
-
Probably use existing python WISPr client, https://code.google.com/p/wisprclient/source/browse/wisprclient.py, this depends on python-beautifulsoup.
+
-
 
+
-
==More Screenshots==
+
 +
<h2>More Screenshots</h2>
 +
 +
<p>These are not really needed to explain how the program works.</p>
   
   
-
These are not really needed to explain how the program works.
+
<div><img class='screenshot' src='gfx/screenshot-menu.png' /></div>
-
 
+
<div><img class='screenshot' src='gfx/screenshot-delete.png' /></div>
-
<gallery>
+
<div><img class='screenshot' src='gfx/screenshot-launch-settings-empty.png' /></div>
-
Image:wifi-assistant-screenshot-menu.png|Menu
+
<div><img class='screenshot' src='gfx/screenshot-about.png' /></div>
-
Image:wifi-assistant-screenshot-delete.png|Delete
+
-
Image:wifi-assistant-screenshot-launch-settings-empty.png|Launch settings
+
-
Image:wifi-assistant-screenshot-about.png|About
+
-
</gallery>
+
-
 
+
-
[[Category:Software]]
+

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)