Editing User:Magick777/WISPr WiFi Autologin
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 5: | Line 5: | ||
* Auto-login at free, local FON/BTWiFi or similar hotspots | * Auto-login at free, local FON/BTWiFi or similar hotspots | ||
- | |||
* Multi-network, multi-credential auto-login with multiple WISPr networks | * Multi-network, multi-credential auto-login with multiple WISPr networks | ||
+ | * True 'wireless ISP roaming' i.e. auto-login via FON/IPASS/WeRoam partner networks | ||
In other words, the same WiFi login functionality as the [https://play.google.com/store/apps/details?id=com.bt.mnie.wispr&hl=en BT WiFi app], the [https://play.google.com/store/apps/details?id=com.oakley.fon&hl=en FON app], and perhaps the [http://www.thecloud.net/free-wifi/get-the-app/ Cloud app], but without having to run an app, and most certainly without running multiple apps to accomplish the same thing. | In other words, the same WiFi login functionality as the [https://play.google.com/store/apps/details?id=com.bt.mnie.wispr&hl=en BT WiFi app], the [https://play.google.com/store/apps/details?id=com.oakley.fon&hl=en FON app], and perhaps the [http://www.thecloud.net/free-wifi/get-the-app/ Cloud app], but without having to run an app, and most certainly without running multiple apps to accomplish the same thing. | ||
Line 12: | Line 12: | ||
== Existing WISPr clients == | == Existing WISPr clients == | ||
- | WISPr clients seem to be very few and far between; it's used in network-specific clients such as the BT app, and there are generic clients for Android and iOS, but it hasn't taken off in a big way | + | WISPr clients seem to be very few and far between; it's used in network-specific clients such as the BT app, and there are generic clients for Android and iOS, but it hasn't taken off in a big way. |
- | + | The most functional open source WISPr client that I can find, as of July 2013, is https://bitbucket.org/tamias/pywispr, which supports HTTPS (with the relevant SSL module), and supports multiple sets of credentials for multiple hotspot networks. | |
== Design goals == | == Design goals == | ||
- | My preference is for an event-driven, script-based autologin; whilst turning it into an app might | + | My preference is for an event-driven, script-based autologin; whilst turning it into an app might take it to the masses, we then have needless complications of putting a GUI on it, running a daemon to take care of listening for new connections, etc. So, my aim is for a command line client that can be launched from dbus-scripts (or otherwise) on connection to a wireless network. |
This client '''should''' | This client '''should''' | ||
Line 34: | Line 34: | ||
* generate logs of its activity | * generate logs of its activity | ||
* provide a way to try more than one set of credentials for a single portal? | * provide a way to try more than one set of credentials for a single portal? | ||
- | + | * provide a way to use fallback credentials for a previously unknown portal? | |
- | + | ||
- | + | ||
- | * provide a way to | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
but '''should not''' | but '''should not''' | ||
* interfere with connections to private or non-WISPr WiFi networks | * interfere with connections to private or non-WISPr WiFi networks | ||
- | * open any popups or applications that require user interaction | + | * open any popups or applications that require user interaction |
* be too difficult to install, configure, or understand | * be too difficult to install, configure, or understand | ||
* involve any large or complex dependencies | * involve any large or complex dependencies | ||
- | |||
- | + | == Design challenges == | |
'''* Our WISPr client needs to speak XML, HTTP and HTTPS from CLI | '''* Our WISPr client needs to speak XML, HTTP and HTTPS from CLI | ||
Line 59: | Line 51: | ||
'''Option 1''': keep python client as it is, using httplib + ssl. Users will just have to install ssl. | '''Option 1''': keep python client as it is, using httplib + ssl. Users will just have to install ssl. | ||
- | '''Option 2''': update python client to use | + | '''Option 2''': update python client to use [https://pypi.python.org/pypi/ndg-httpsclient ndg-httpsclient] if it works under python 2.5 |
- | '''Option 3''': update python client to use [https://pypi.python.org/pypi/ | + | '''Option 3''': update python client to use [https://pypi.python.org/pypi/pycurl pycurl], let libcurl do the fetching & carrying |
- | '''Option 4''': | + | '''Option 4''': find an alternative to python |
Line 70: | Line 62: | ||
'''Option 1''': don't bother, the portal takes care of lost connections anyway. | '''Option 1''': don't bother, the portal takes care of lost connections anyway. | ||
- | '''Option 2''': provide manual logoff by saving the | + | '''Option 2''': provide manual logoff by saving the logoff URL, only works if we still have a connection |
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
See also http://talk.maemo.org/showthread.php?t=90777 | See also http://talk.maemo.org/showthread.php?t=90777 | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
== WISPr Networks == | == WISPr Networks == | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
=== Europe === | === Europe === | ||
- | The author approaches from a UK/European perspective, where the overwhelming majority of hotspots (almost 12 million) are provided by the residential customers of the major telcos | + | The author approaches the subject from a UK/European perspective, where the overwhelming majority of hotspots (almost 12 million) are provided by the residential customers of the major telcos in partnership with FON. Five million of these are in Britain and this is my primary use case for supporting WISPr. |
* United Kingdom | * United Kingdom | ||
** WISPr hotspot networks | ** WISPr hotspot networks | ||
- | *** BTWiFi | + | *** BTWiFi + FON |
- | + | *** BTOpenzone | |
- | + | ||
- | *** BTOpenzone | + | |
- | + | ||
- | + | ||
*** The Cloud | *** The Cloud | ||
- | |||
- | |||
- | |||
- | |||
** Non-WISPr hotspot networks | ** Non-WISPr hotspot networks | ||
*** O2 WiFi | *** O2 WiFi | ||
*** Virgin Media WiFi | *** Virgin Media WiFi | ||
+ | |||
* Belgium | * Belgium | ||
- | ** Belgacom | + | ** Belgacom / FON |
* Brazil | * Brazil | ||
- | ** Oi | + | ** Oi / FON |
* Croatia | * Croatia | ||
- | ** HT | + | ** HT / FON |
* France | * France | ||
- | ** SFR | + | ** SFR / FON |
* Germany | * Germany | ||
- | ** DT | + | ** DT / FON |
- | * | + | * Japan |
- | ** | + | ** SoftBank / FON |
* Poland | * Poland | ||
- | ** Netia | + | ** Netia / FON |
* Portugal | * Portugal | ||
- | ** Zon | + | ** Zon / FON |
+ | * Russia | ||
+ | ** MTC / FON |
Learn more about Contributing to the wiki.