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 51: | Line 51: | ||
* get involved in whether we connect to the SSID or not (we should just do auth) | * get involved in whether we connect to the SSID or not (we should just do auth) | ||
- | === Design challenges | + | === 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 59: | ||
'''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''': update python client to use | + | '''Option 4''': update python client to use urllib2 and openssl |
+ | |||
+ | '''Option 5''': find an alternative to python | ||
Line 87: | Line 89: | ||
* Began life as an N900 fork of https://bitbucket.org/tamias/pywispr | * Began life as an N900 fork of https://bitbucket.org/tamias/pywispr | ||
* Run from sh as per http://softwareswirl.blogspot.co.uk/2011/06/starting-python-script-intelligently.html | * Run from sh as per http://softwareswirl.blogspot.co.uk/2011/06/starting-python-script-intelligently.html | ||
- | * Exit automatically on successful login, don't wait for user | + | * Exit automatically on successful login, don't wait for user (exit @ line 266) |
* Replaced the slow online check (a Yahoo web scrape) with Google's generate_204 check | * Replaced the slow online check (a Yahoo web scrape) with Google's generate_204 check | ||
** logic http://www.chromium.org/chromium-os/chromiumos-design-docs/network-portal-detection | ** logic http://www.chromium.org/chromium-os/chromiumos-design-docs/network-portal-detection |
Learn more about Contributing to the wiki.