Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-28-2012, 07:07 PM   #16
wuschel83
Member
wuschel83 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
Quote:
Originally Posted by ixtab View Post
The parameters look correct as far as I can tell (comparing with http://fss.plone.uni-giessen.de/fss/...upplicant.conf).

One line looks suspicious though: anonymous_identity="anonymous@uni-giessen.de"

I'm not sure if it should contain the "=" sign. Try running the script from the command line (see my second or third post) and check the output, and possibly remove the = and check again.

Good luck
I have delete the "=". And my output is:

[root@kindle root]# sh /mnt/us/extensions/wpa_eap/wpa_eap.sh /mnt/us/extensions/
wpa_eap/networks/eduroam.cfg
set_network 1 ssid eduroam
set_network 1 scan_ssid 1
set_network 1 key_mgmt WPA-EAP
set_network 1 eap TTLS
set_network 1 identity "XXXXX@uni-giessen.de"
set_network 1 anonymous_identity "anonymous@uni-giessen.de"
set_network 1 password "XXXX"
set_network 1 phase2 "auth=PAP"
set_network 1 ca_cert "/mnt/us/extensions/wpa_eap/networks/eduroam.pem"
enable_network 1
quit
wpa_cli v0.6.10
Copyright (c) 2004-2009, Jouni Malinen <j@w1.fi> and contributors

This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.

Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.


Selected interface 'wlan0'

Interactive mode

> OK
> OK
> OK
> OK
> OK
> OK
> OK
> OK
> OK
> OK
>
wuschel83 is offline   Reply With Quote
Old 02-28-2012, 07:21 PM   #17
wuschel83
Member
wuschel83 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
i have resolve the problem and it works fine for me:

eduroam.cfg:
ssid eduroam
scan_ssid 1
key_mgmt WPA-EAP
pairwise TKIP
group TKIP
eap PEAP
identity "XXXX@uni-giessen.de"
anonymous_identity="anonymous@uni-giessen.de"
password "XX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FZMQSyzhfzLMdiNlXiItiJVbSYSK pk+tYcNthEeFpa
IzpXl/V6ME+un2pMSyuOoAPjPuCp1NJ70rOo4nI8rZ7/gFnkm0W09juwzTkZmDLl
6iFhkOQxIY40sfcvNUqFENrnijchvllj4PKFiDFT1FQUhXB59C 4Gdyd1Lx+4ivn+
xbrYNuSD7Odlt79jWvNGr4GUN9RBjNYj1h7P9WgbRGOiWrqnNV mh5XAFmw4jV5mU
Cm26OWMohpLzGITY+9HPBVZkVw==
-----END CERTIFICATE-----
wuschel83 is offline   Reply With Quote
Old 02-29-2012, 02:56 AM   #18
wuschel83
Member
wuschel83 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
Anf if you want to switch into the launcher to your home wpa2 network, you have to put this into the network folder:
HOMEnetworkname.pem
an empty pem

HOMEnetworkname.cfg:
ssid HOMEnetworkname
scan_ssid 8
key_mgmt WPA-PSK
pairwise CCMP (sometimes TKIP, try it)
group CCMP (sometimes TKIP, try it)
proto RSN
psk "YOURPASSWORD"
priority 5
wuschel83 is offline   Reply With Quote
Old 02-29-2012, 08:53 AM   #19
matejs
Member
matejs plays well with othersmatejs plays well with othersmatejs plays well with othersmatejs plays well with othersmatejs plays well with othersmatejs plays well with othersmatejs plays well with othersmatejs plays well with othersmatejs plays well with othersmatejs plays well with othersmatejs plays well with others
 
Posts: 10
Karma: 2602
Join Date: Jan 2012
Device: Kindle Touch
Quote:
Originally Posted by ixtab View Post
One line looks suspicious though: anonymous_identity="anonymous@uni-giessen.de"
You are right, your config files use spaces (while wpa_supplicant uses =).
So there should be no = sign between anonymous_identity and "@..."

Anyway, my eduroam (in CZ) worked even without it.

Running 'iwlist scan' from your Kindle (or nearby Linux computer with WiFi) should give you the values for encryption ciphers, ie:

Code:
pairwise CCMP
group TKIP
Also (assuming you created eduroam.pem on Windows), check that your certificate file doesn't containt windows line endings CR LF but only Linux LF. Notepad++ can show / change them. (Edit -- > EOL conversion)
matejs is offline   Reply With Quote
Old 02-29-2012, 03:12 PM   #20
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
PROXY

Is it possible to set up proxy server and its port?
Thank you in advance.
mergen3107 is offline   Reply With Quote
Old 02-29-2012, 03:42 PM   #21
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
@mergen3107: No.

You obviously didn't even understand the topic of this thread, so please stop asking.
ixtab is offline   Reply With Quote
Old 03-01-2012, 10:05 AM   #22
Mehdi
Junior Member
Mehdi began at the beginning.
 
Posts: 7
Karma: 36
Join Date: Jan 2012
Device: Kindle Touch
Quote:
Originally Posted by ixtab View Post
@mergen3107: No.

You obviously didn't even understand the topic of this thread, so please stop asking.
do you know what might be needed to get this to auto-connect, or where I should even start to look to hack at?
Mehdi is offline   Reply With Quote
Old 03-04-2012, 10:58 AM   #23
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
I repeat: proxy settings have absolutely nothing to do with this thread.

This thread is about establishing a network connection, which concerns OSI Layers 1 and 2 (at most, 3). Proxy settings are OSI layer 7, which is WAY out of scope for this thread.

To paraphrase:
We're talking about connecting an oven to the electricity grid. You're asking about a Pizza recipe.

Please, stop asking these questions here. They are totally off-topic. If you're seriously interested in this, open a new thread concerning proxies.

Last edited by ixtab; 03-04-2012 at 01:07 PM.
ixtab is offline   Reply With Quote
Old 03-04-2012, 01:00 PM   #24
Mehdi
Junior Member
Mehdi began at the beginning.
 
Posts: 7
Karma: 36
Join Date: Jan 2012
Device: Kindle Touch
Quote:
Originally Posted by ixtab View Post
I repeat: proxy settings have absolutely nothing to do with this thread.

This thread is about establishing a network connection, which concerns OSI Layers 1 and 2 (at most, 3). Proxy settings are OSI layer 7, which is WAY out of scope for this thread.

Please, stop asking these questions here. They are totally off-topic. If you're seriously interested in this, open a new thread concerning proxies.

w/e guess I'll hack on my own..
Mehdi is offline   Reply With Quote
Old 03-07-2012, 03:01 PM   #25
thatworkshop
hub
thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.thatworkshop ought to be getting tired of karma fortunes by now.
 
thatworkshop's Avatar
 
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
Quote:
Originally Posted by Mehdi View Post
do you know what might be needed to get this to auto-connect, or where I should even start to look to hack at?
I second this idea too.

And by the way, here's how I managed to connect to a WEP home network using this extension.

HomeNetwork.cfg
Code:
ssid MYSSID
scan_ssid 8
key_mgmt NONE
wep_key0 MYKEY
group WEP104
priority 5
HomeNetwork.pem
empty file
thatworkshop is offline   Reply With Quote
Old 03-07-2012, 04:52 PM   #26
Kozzi
Enthusiast
Kozzi began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Sep 2011
Device: Kindle 3, Kobo Aura H2O
Will this work with Kindle 3 ?
Kozzi is offline   Reply With Quote
Old 03-11-2012, 02:05 PM   #27
aleq
Enthusiast
aleq began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Mar 2012
Location: CZ, EU
Device: K4NT (4.0.1), KT (5.3.7.3), KPW1 (sold), KPW2
and Kindle 4, the "non-touch"?

Thanks
aleq is offline   Reply With Quote
Old 03-11-2012, 02:12 PM   #28
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
The contained shell script might work on other Kindles (no guarantees!), but AFAIK there is no launcher extension, so the script alone would be of limited use. I cannot develop for devices I don't have

Well anyway, I'm attaching the script, so you can see if you can get anything useful from it. Use as described in my second(?) post.
Attached Files
File Type: zip wpa_eap-scriptonly.zip (2.2 KB, 301 views)

Last edited by ixtab; 03-11-2012 at 02:16 PM.
ixtab is offline   Reply With Quote
Old 03-12-2012, 08:03 AM   #29
aleq
Enthusiast
aleq began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Mar 2012
Location: CZ, EU
Device: K4NT (4.0.1), KT (5.3.7.3), KPW1 (sold), KPW2
Thank you, ixtab.

I'll look around and study available resources beforehand. When I get confident or suicidal enough, I'll start playing with my device I'll let you know the results
aleq is offline   Reply With Quote
Old 04-12-2012, 04:50 PM   #30
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Firmware 5.1.0

Just a note: this extension is probably obsolete with the newest firmware (at least for me, WPA-EAP now works out of the box).

The suggested way is to update and try the built-in method. If it works, just uninstall the extension and remove the remains in the extensions/wpa_eap folder.

In case you have trouble with the built-in method with firmware 5.1.0, post here and we'll see if it makes sense to keep maintaining this hack.
ixtab is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle 3 WPA Supplicant omka88 Kindle Developer's Corner 72 02-01-2013 07:44 AM
Kindle Touch PDF support tomsem Amazon Kindle 7 12-07-2011 11:56 AM
WPA 2 Enterprise support? Deonna_White enTourage Archive 6 04-14-2010 05:58 PM
iLiad Undocumented WPA support with iLiad 2.9 firmware - how to enable it Alexander Turcic iRex Developer's Corner 7 03-08-2007 07:02 PM


All times are GMT -4. The time now is 02:40 PM.


MobileRead.com is a privately owned, operated and funded community.