View Single Post
Old 01-26-2012, 12:17 AM   #57
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 ixtab View Post
Hi,

here's a script that I use for connecting to my WPA-EAP network. (Kindle-Touch 5.0.1)
[/CODE]
Thank you ixtab!

Still no luck, I don't have any pem file (ca.pem)! Where should I get it? from admin of my campus?

So in hope someone will help I explain what I did:
My network is WPA2 Enterprise. I ran the following commands in my KT using ssh... here is output of "wpa_cli get_capability eap":
Selected interface 'wlan0'
MD5 TLS MSCHAPV2 PEAP TTLS GTC OTP WSC

And otput of "wpa_cli get_capability key_mgmt"
Selected interface 'wlan0'
NONE IEEE8021X

Then I put my SSID, username and password. Now, what changes should I make?
set_network $id key_mgmt WPA-EAP
or
set_network $id key_mgmt IEEE8021X

When I run your script this is what I get:
Quote:
Error opening Certificate /mnt/us/ca.pem
6502:error:02001002:system library:fopen:No such file or directory:bss_file.c:356:fopen('/mnt/us/ca.pem','r')
6502:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:358:
unable to load certificate
date: invalid date '-00- '
sh: 1327554884: unknown operand
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 > OK > OK >
Obviously don't have pem file so...
thatworkshop is offline   Reply With Quote