View Single Post
Old 09-29-2010, 09:24 PM   #12
omka88
Junior Member
omka88 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2010
Device: Kindle 3
For my college wifi, I have to use the following script to access the network using a linux machine:

Quote:
network={
ssid="UIC-Wireless"
key_mgmt=IEEE8021X
eap=TTLS
identity="netid-here"
anonymous_identity="anonymous"
password="password-here"
ca_cert="/etc/ssl/certs/Thawte_Premium_Server_CA.pem"
phase2="auth=PAP"
priority=1
}
On the Kindle, would something like this work?

Quote:
#!/bin/sh

id="`wpa_cli add_network | sed -n '2p'`"

exec="`wpa_cli << EOF
set_network $id ssid "UIC-Wireless"
set_network $id key_mgmt IEEE8021X
set_network $id eap TTLS
set_network $id identity "MyLoginID"
set_network $id anonymous_identity "anonymous"
set_network $id password "MyPassword"
ca_cert="/etc/ssl/certs/Thawte_Premium_Server_CA.pem" %Not sure if kindle has this%
set_network $id phase2 "auth=PAP"
enable_network $id
quit
EOF
`"
echo $exec

Last edited by omka88; 09-29-2010 at 09:29 PM.
omka88 is offline   Reply With Quote