Old 11/11/2009, 08:11 AM     Thread Author   #1 (permalink)
Member
 
Join Date: Jan 2005
Posts: 311
Likes: 0
Thanks: 0
Thanked 1 Time in 1 Post

Default Anyway to edit wpa_supplicant.config

When looking at the PRE with wireless enabled it seems to be using wpa_supplicant:

root /usr/sbin/wpa_supplicant -D wext -B -c /tmp/.wpa_supplicant.conf -i eth0

However, by default TTLS/PAP is not supported (used at many universities) so we can not connect to a secure WPA based network.

I tried to add a config stanza to that file but it still did not work. Anyone have any ideas on this?

Thanks.

Walt
wareynolds is offline   Reply With Quote
Old 11/17/2009, 11:04 AM     Thread Author   #2 (permalink)
Member
 
Join Date: Jan 2005
Posts: 311
Likes: 0
Thanks: 0
Thanked 1 Time in 1 Post

Default

Bump..

No ideas at all?
wareynolds is offline   Reply With Quote
Old 01/12/2010, 10:05 AM   #3 (permalink)
Member
 
Join Date: Dec 2009
Location: Germany
Posts: 111
Likes: 0
Thanks: 31
Thanked 13 Times in 8 Posts

Default

I've got the same Problem. Starting the wpa_supplicant manually gives me problems with the certificate.
damnregister is offline   Reply With Quote
Old 01/12/2010, 10:26 AM   #4 (permalink)
Member
 
Join Date: Dec 2009
Location: Germany
Posts: 111
Likes: 0
Thanks: 31
Thanked 13 Times in 8 Posts

Default

Oh thank god, it works.

I'll describe the whole Problem.

At university we use eduroam, which is a WPA Enterprise TTLS/PAP wlan.
The Palm Pre does not support this configuration by default, but digging a bit it's at least possible to connect to such a wlan.

I used a rooted Pre and novaterm.

First, create a wpa_supplicant config file, say /media/internal/wpa.conf with the following content:

[code]ctrl_interface=/var/run/wpa_supplicant
network={
ssid="eduroam"
mode=0
proto=WPA2
key_mgmt=WPA-EAP
auth_alg=OPEN
eap=TTLS
identity="identity@domain"
anonymous_identity="anonymous@domain"
password="YOURPASSWORD"
ca_cert="/media/internal/ca.pem"
phase2="auth=PAP"
priority=5
}
[/code]

Copy your Universitys Root CA to /media/internal/ca.pem or whereever. Our University uses a "Deutsche Telekom Root CA 2" certificate.

Kill the running wpa_supplicant: killall wpa_supplicant.
Start your own in background ( & ) : /usr/sbin/wpa_supplicant -D wext -B -c /media/internal/wpa.conf -i eth0 &
Maybe delete /var/log/wpa_supplicant.log and check this file for errors. Some Errors are no Errors like ioctl[SIOCSIWPMKSA]: Invalid argument.
Try to get a IP with dhclient eth0. I could not figure out how dnsmasq works, so I added my own nameserver to /etc/resolv.conf ( mount / read/write before ), for Test Purposes Googles nameserver are enough: nameserver 8.8.8.8.
Try pinging some doman: ping google.de.

Next step will be adding this configuration to the Pre.

This is no exhaustive Tutorial, nevertheless not supporting this kind of Network is a shame for Palm ( like not supporting ICQ and Jabber ) and I regret buying the Pre although Multitouch and Cards rock.
damnregister is offline   Reply With Quote
Old 01/12/2010, 10:27 AM   #5 (permalink)
Member
 
Join Date: Dec 2009
Location: Germany
Posts: 111
Likes: 0
Thanks: 31
Thanked 13 Times in 8 Posts

Default

Hm, wrote a long Post and waiting for a Moderator...
damnregister is offline   Reply With Quote
Old 01/12/2010, 10:56 AM   #6 (permalink)
Member
 
Join Date: Jun 2009
Posts: 1,038
Likes: 9
Thanks: 26
Thanked 100 Times in 67 Posts

Default

Quote:
Originally Posted by wareynolds View Post
When looking at the PRE with wireless enabled it seems to be using wpa_supplicant:

root /usr/sbin/wpa_supplicant -D wext -B -c /tmp/.wpa_supplicant.conf -i eth0

However, by default TTLS/PAP is not supported (used at many universities) so we can not connect to a secure WPA based network.

I tried to add a config stanza to that file but it still did not work. Anyone have any ideas on this?

Thanks.

Walt
why don't you post the file with your changes and all the places where you've found wpa_supplicant being called?
6tr6tr is offline   Reply With Quote

 

Content Relevant URLs by vBSEO 3.6.0