<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zandi</id>
	<title>WebOS Internals - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zandi"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Zandi"/>
	<updated>2026-04-19T13:50:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Advanced_Wifi&amp;diff=16901</id>
		<title>Advanced Wifi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Advanced_Wifi&amp;diff=16901"/>
		<updated>2011-06-10T18:52:47Z</updated>

		<summary type="html">&lt;p&gt;Zandi: /* Disclaimer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is about advanced Wifi configurations. You should know some Terminal and Linux for this.&lt;br /&gt;
&lt;br /&gt;
= Disclaimer =&lt;br /&gt;
Most of you won't need this guide as the pre connects to the usual Wireless networks. This guide is for those of you who know what you are doing. This guide comes as is, I have no resposibility if anything happens during using this guide including impact of meteorites and the return of the dinosaurs.&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
Our university uses '''eduroam''' for wireless lan access. This is a Enterprise WPA(2) network with TTLS as authentication, featuring an anonymous identity and whatever else.&lt;br /&gt;
As Palm obviously did not think of working on WPA Enterprise authentication, I had to do it myself. BTW, iOS connects flawlessly.&lt;br /&gt;
&lt;br /&gt;
= Connecting =&lt;br /&gt;
== Command line wpa_supplicant ==&lt;br /&gt;
Connection via wpa_supplicant works as follows:&lt;br /&gt;
&lt;br /&gt;
 # # kill the running wpa_supplicant&lt;br /&gt;
 # killall wpa_supplicant&lt;br /&gt;
 # # start a new one&lt;br /&gt;
 # wpa_supplicant -i eth0 -D wext -c /tmp/wpa_supplicant.conf&lt;br /&gt;
 # # obtain IP Adress&lt;br /&gt;
 # dhclient eth0&lt;br /&gt;
 # # Some DNS problems may occur, so for testing add google DNS Servers:&lt;br /&gt;
 # echo nameserver 8.8.8.8 &amp;gt; /etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
This is everything you need to test connection via wpa_supplicant. For an example configuration read the manpage or check the configuration at the end of this article.&lt;br /&gt;
&lt;br /&gt;
== Problem with webOS ==&lt;br /&gt;
Connection via command line works for the system underneath, but you will receive the &amp;quot;No network connection&amp;quot; message when you try to use some webOS internet app without another ( i.e. 3G ) connection.&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
We need to &amp;quot;inject&amp;quot; the wpa_supplicant configuration while webOS connects to the network. This sounds somewhat crazy but it works.&lt;br /&gt;
Create a working configuration and a small script. Also you need some debian packages.&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
Go to http://packages.debian.org and download the wpasupplicant packages. You only need the /sbin/wpa_cli binary from there. Also you need the file libreadline.so.6. Download the ''arm'' binaries, as this is the architecture of the pre.&lt;br /&gt;
&lt;br /&gt;
=== Script ===&lt;br /&gt;
Create a script somewhere with the following contents:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 cp .wpa_supplicant.conf /tmp&lt;br /&gt;
 chmod a-w /tmp/.wpa_supplicant.conf&lt;br /&gt;
 ./wpacli reconfigure&lt;br /&gt;
&lt;br /&gt;
You need to be able to execute it quickly.&lt;br /&gt;
&lt;br /&gt;
=== Testrun ===&lt;br /&gt;
Fire up the Palm Wifi Manager. Click the network you want to connect to. As username/password you need to enter anything, as these won't be used anyway. ''IMMEDIATELY'' switch to a terminal on your pre and execute the above script. You may need some tries to get the timing. Afterwards your pre should connect to the network AND think he's connected. Congratulations.&lt;br /&gt;
&lt;br /&gt;
=== Automatisation ===&lt;br /&gt;
If anybody knows how to run this automatically after wpa_supplicant is started, please write it down here.&lt;br /&gt;
&lt;br /&gt;
== Sample Configuration ==&lt;br /&gt;
&lt;br /&gt;
 network={&lt;br /&gt;
 ssid=&amp;quot;eduroam&amp;quot;&lt;br /&gt;
 mode=0&lt;br /&gt;
 proto=WPA2&lt;br /&gt;
 key_mgmt=WPA-EAP&lt;br /&gt;
 auth_alg=OPEN&lt;br /&gt;
 eap=TTLS&lt;br /&gt;
 identity=&amp;quot;xxxxxxxxxxxxxxx&amp;quot;&lt;br /&gt;
 anonymous_identity=&amp;quot;anonymous@university.xx&amp;quot;&lt;br /&gt;
 password=&amp;quot;xxxxxxxxxxxxxxx&amp;quot;&lt;br /&gt;
 ca_cert=&amp;quot;/home/root/cert.pem&amp;quot;&lt;br /&gt;
 phase2=&amp;quot;auth=PAP&amp;quot;&lt;br /&gt;
 priority=5&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>Zandi</name></author>
	</entry>
</feed>