Issue 589 in zxing: configure 802.1X by QR code?

897 views
Skip to first unread message

zx...@googlecode.com

unread,
Oct 20, 2010, 10:44:48 AM10/20/10
to zx...@googlegroups.com
Status: New
Owner: ----

New issue 589 by agallo: configure 802.1X by QR code?
http://code.google.com/p/zxing/issues/detail?id=589

This might be a feature request and/or it might be completely dependent on
what Android supports, but I'm wondering if the ability to configure WiFi
by QR code (as detailed in "WiFi Network Config(Android)"
http://code.google.com/p/zxing/wiki/BarcodeContents) can be extended to
support 8021.X networks.

For example, rather than explain to someone what the settings are for
EAP-TTLS/MSCHAPv2, this could be encoded in a QR code.

I apologize if this is outside the scope of this board, but the above
referenced link lead me here to search for this function.

Thank you

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


zx...@googlecode.com

unread,
Oct 20, 2010, 10:48:49 AM10/20/10
to zx...@googlegroups.com

Comment #1 on issue 589 by agallo: configure 802.1X by QR code?
http://code.google.com/p/zxing/issues/detail?id=589

Device: Verizon/Motorola Droid, 202

zx...@googlecode.com

unread,
Oct 20, 2010, 12:25:05 PM10/20/10
to zx...@googlegroups.com
Updates:
Labels: Type-Enhancement Priority-Low

Comment #2 on issue 589 by sro...@gmail.com: configure 802.1X by QR code?
http://code.google.com/p/zxing/issues/detail?id=589

It seems like a reasonable feature to add, but can you explain more? 802.11
is a network technology, not authentication per se. What are you looking to
add that isn't WPA? and can it be configured programatically in an Android
device? if so it can be done.

zx...@googlecode.com

unread,
Oct 20, 2010, 2:31:11 PM10/20/10
to zx...@googlegroups.com

Comment #3 on issue 589 by agallo: configure 802.1X by QR code?
http://code.google.com/p/zxing/issues/detail?id=589

In the example in the link above, the following string (when encoded in a
bar code and scanned) will cause android to configure a WiFi SSID with the
appropriate encryption and username/password.

Example: WIFI:T:WPA;S:mynetwork;P:mypass;;

Will create an SSID of name 'mynetwork' of encryption type WPA and a
password of 'mypass'


What I would like to see is the ability to configure an SSID that is
protected with 802.1X (which is noted in the Android WiFi screen as"secured
with 802.1X EAP")

What I would like is a string that might look something like:
WIFI:T:802.1X;EAP:TTLS:phase2:MSCHAPv2;CA:some_cert_auth;USERcert:some_usercert;

This would configured an 802.1X network, leaving only the username and
password for the user to fill in. Without this, I need to give users the
following instructions:

1. select SSID 'someSSID' Secured with 802.1x EAP
2. You will then be presented with a menu 'Connect to someSSID'
Use these settings:
* EAP Method: TTLS
* Phase 2 authentication: PAP
* CA Certificate: (leave as N/A)
* Client Certificate: (leave as N/A)
* Identity: <yourusername>
* Anonymous identity: (leave blank)
* Wireless password: <yourpassword>


So, I guess my question is, does this method of configuring WiFi networks
for Android support more than just WEP/WPA-preshared key? If so, what is
the format?

I suppose once we figure that out, the barecode part would be straight
forward.

Thank you.

zx...@googlecode.com

unread,
Oct 20, 2010, 4:04:58 PM10/20/10
to zx...@googlegroups.com

Comment #4 on issue 589 by sro...@gmail.com: configure 802.1X by QR code?
http://code.google.com/p/zxing/issues/detail?id=589

Yes, the question is, what is the programmatic version of this? I don't
know anything about this bit myself, maybe someone else can chime in. Or,
please feel free to come up with a patch. Yes, inventing any reasonable
syntax seems fine.

zx...@googlecode.com

unread,
Oct 21, 2010, 4:55:28 AM10/21/10
to zx...@googlegroups.com

Comment #5 on issue 589 by paul.tremberth: configure 802.1X by QR code?
http://code.google.com/p/zxing/issues/detail?id=589

You could perhaps look at extending WPS
(http://en.wikipedia.org/wiki/Wi-Fi_Protected_Setup) with a barcode method,
1D or 2D. This would be similar to the PIN method but wouldnt require the
user typing anything.

zx...@googlecode.com

unread,
Oct 28, 2010, 4:46:21 PM10/28/10
to zx...@googlegroups.com

Comment #6 on issue 589 by agallo: configure 802.1X by QR code?
http://code.google.com/p/zxing/issues/detail?id=589

Thanks for the comments. I did some digging around and, as best I can
tell, it looks like it might be possible that 802.1X can be configured on
Android automatically. Take a look at this two references:
http://www.androidjavadoc.com/0.9_beta/android/net/wifi/WifiConfiguration.KeyMgmt.html

http://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt.html#WPA_EAP

Keep in mind that I am not a programmer or developer, just a poor network
guy :)

I might be misinterpreting what I'm seeing, but it looks like you can
configure EAP types.

Is there someone out there who understands what the above links are saying
and can make a definitive determination on if this is possible?

Thanks.

zx...@googlecode.com

unread,
Dec 9, 2010, 6:29:49 AM12/9/10
to zx...@googlegroups.com

zx...@googlecode.com

unread,
Apr 28, 2011, 1:18:37 PM4/28/11
to zx...@googlegroups.com
Updates:
Cc: vikr...@gmail.com

Comment #8 on issue 589 by dswit...@google.com: configure 802.1X by QR code?
http://code.google.com/p/zxing/issues/detail?id=589

Cc'ing Vikram for comment.

Reply all
Reply to author
Forward
0 new messages