Skip to content

An app to make Google Glass connect to a WPA Enterprise network.

Notifications You must be signed in to change notification settings

mmoghimi/GlassWifiConnect

 
 

Repository files navigation

GlassWifiConnect

An app to make Google Glass connect to a WPA Enterprise network.

WARNING: This method of connecting to an enterprise network does not require a valid certificate while connecting and may make your username and password vulnerable to interception

##The short version

  1. Install GlassWifiConnect.apk (available here) onto Glass
  2. Generate a QR code using the following string, substituting the correct info for your WiFi network:
    • WIFI:S:ssid;U:username;P:password;E:PEAP;PH:MS-CHAPv2;;
  3. Scan the QR code with the app. Glass should connect in a few seconds and you're done!

##The long version This app is based off of the ZBar example app for QR code reading and this StackOverflow response for connecting to the WiFi network.

To use this app, you can either build from source using Android Developer Tools or just use the precompiled APK in the bin folder. You can load it onto your Glass in ADT or using the ADB tool. You need to have one of these in order to get the app onto Glass currently.

If you have Launchy (I recommend it) you can run the app from there. If not, you'll need to trigger the app to run by reloading the APK onto the device.

Then, make your QR code format string. The details on this can be found in QRformat.txt, but it should look like this:

  • WIFI:S:ssid;U:username;P:password;E:PEAP;PH:MS-CHAPv2;;

In addition to the obvious fields, E is for the EAP method and PH is for phase 2 authentication method. If your network doesn't require one or multiple fields, you should simply leave them out of the string. For example, without phase 2 auth:

  • WIFI:S:ssid;U:username;P:password;E:PEAP;;

NOTE: Be aware that online QR code generators may or may not send the text (containing your password) in the clear to their servers.

Now run the app on Glass and scan the generated QR code. You should see a "Connecting to..." message, followed shortly by a "Connected!" message if everything worked properly.

About

An app to make Google Glass connect to a WPA Enterprise network.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%