Is it necessary to use a control interface what is it for?<br>Wish I could find some good info sources on questions like this.<br><br>EC<br>
<br><br>If you want to use the control interface, you will need to point it to a<br>
directory that is not on a read-only file system.<br><br><div class="gmail_quote">On Sun, Dec 20, 2009 at 9:00 AM,  <span dir="ltr">&lt;<a href="mailto:hostap-request@lists.shmoo.com">hostap-request@lists.shmoo.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send HostAP mailing list submissions to<br>
        <a href="mailto:hostap@lists.shmoo.com">hostap@lists.shmoo.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:hostap-request@lists.shmoo.com">hostap-request@lists.shmoo.com</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:hostap-owner@lists.shmoo.com">hostap-owner@lists.shmoo.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of HostAP digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. new to WPA - first try (ed in 92626)<br>
   2. Unexpected terminations via D-Bus (Marcel Holtmann)<br>
   3. Re: new to WPA - first try (Jouni Malinen)<br>
   4. Does anyone have a working 802.11r implementation? (Marcin Marzec)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 19 Dec 2009 17:08:41 -0800<br>
From: ed in 92626 &lt;<a href="mailto:ed92626@gmail.com">ed92626@gmail.com</a>&gt;<br>
Subject: new to WPA - first try<br>
To: <a href="mailto:hostap@lists.shmoo.com">hostap@lists.shmoo.com</a><br>
Message-ID:<br>
        &lt;<a href="mailto:f559730912191708g32a7cb5fp46e5252a24b2c859@mail.gmail.com">f559730912191708g32a7cb5fp46e5252a24b2c859@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hi there, this is my first time trying to use wpa_supplicant. Can anyone see<br>
what&#39;s<br>
wrong. APN and passwords are correct. But in other dumps I&#39;ve seen<br>
wpa_driver_ralink_set_key should return something.<br>
<br>
How do you troubleshoot this piece of software.??<br>
==============================================<br>
Initializing interface &#39;wlan0&#39; conf &#39;/usr/usr/local/etc/wpa.conf&#39; driver<br>
&#39;default&#39; ctrl_interface &#39;N/A&#39; bridge &#39;N/A&#39;<br>
Configuration file &#39;/usr/usr/local/etc/wpa.conf&#39; -&gt;<br>
&#39;/usr/usr/local/etc/wpa.conf&#39;<br>
Reading configuration file &#39;/usr/usr/local/etc/wpa.conf&#39;<br>
ctrl_interface=&#39;/usr/usr/local/etc/wpa_supplicant&#39;<br>
ctrl_interface_group=&#39;0&#39;<br>
ap_scan=1<br>
Line: 11 - start of a new network block<br>
ssid - hexdump_ascii(len=4):<br>
     50 41 52 4b                                       PARK<br>
key_mgmt: 0x2<br>
proto: 0x1<br>
pairwise: 0x8<br>
PSK (ASCII passphrase) - hexdump_ascii(len=11):<br>
     * * * * * * * * * * * *                   JOHNPARK234<br>
PSK (from passphrase) - hexdump(len=32): hidden<br>
Line 25: removed CCMP from group cipher list since it was not allowed for<br>
pairwise cipher<br>
Priority group 0<br>
   id=0 ssid=&#39;PARK&#39;<br>
Initializing interface (2) &#39;wlan0&#39;<br>
wpa_driver_ralink_init<br>
ralink_set_iface_flags<br>
wpa_driver_ralink_flush_pmkid<br>
NDIS: OID_802_11_PMKID (flush) - hexdump(len=8): 08 00 00 00 00 00 00 00<br>
Own MAC address: 00:0e:8e:13:dc:36<br>
<br>
wpa_driver_ralink_get_bssid<br>
wpa_driver_ralink_remove_key<br>
wpa_driver_ralink_set_key<br>
wpa_driver_ralink_get_bssid<br>
wpa_driver_ralink_remove_key<br>
wpa_driver_ralink_set_key<br>
wpa_driver_ralink_get_bssid<br>
wpa_driver_ralink_remove_key<br>
wpa_driver_ralink_set_key<br>
wpa_driver_ralink_get_bssid<br>
wpa_driver_ralink_remove_key<br>
wpa_driver_ralink_set_countermeasures: enabled=0<br>
RSN: flushing PMKID list in the driver<br>
wpa_driver_ralink_flush_pmkid<br>
NDIS: OID_802_11_PMKID (flush) - hexdump(len=8): 08 00 00 00 00 00 00 00<br>
Setting scan request: 0 sec 100000 usec<br>
EAPOL: SUPP_PAE entering state DISCONNECTED<br>
EAPOL: KEY_RX entering state NO_KEY_RECEIVE<br>
EAPOL: SUPP_BE entering state INITIALIZE<br>
EAP: EAP entering state DISABLED<br>
Using existing control interface directory.<br>
ctrl_interface_group=0<br>
chown[ctrl_interface]: Read-only file system<br>
Failed to initialize control interface &#39;/usr/usr/local/etc/wpa_supplicant&#39;.<br>
You may have another wpa_supplicant process already running or the file was<br>
left by an unclean termination of wpa_supplicant in which case you will need<br>
to manually remove this file before starting wpa_supplicant again.<br>
<br>
Failed to add interface wlan0<br>
State: DISCONNECTED -&gt; DISCONNECTED<br>
No keys have been configured - skip key clearing<br>
EAPOL: External notification - portEnabled=0<br>
EAPOL: External notification - portValid=0<br>
wpa_driver_ralink_set_countermeasures: enabled=0<br>
No keys have been configured - skip key clearing<br>
Cancelling scan request<br>
Cancelling authentication timeout<br>
wpa_driver_ralink_deinit<br>
wpa_driver_ralink_flush_pmkid<br>
NDIS: OID_802_11_PMKID (flush) - hexdump(len=8): 08 00 00 00 00 00 00 00<br>
ralink_set_iface_flags<br>
#<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.shmoo.com/pipermail/hostap/attachments/20091219/9d09b4eb/attachment.html" target="_blank">http://lists.shmoo.com/pipermail/hostap/attachments/20091219/9d09b4eb/attachment.html</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sat, 19 Dec 2009 18:44:14 -0800<br>
From: Marcel Holtmann &lt;<a href="mailto:marcel@holtmann.org">marcel@holtmann.org</a>&gt;<br>
Subject: Unexpected terminations via D-Bus<br>
To: <a href="mailto:hostap@lists.shmoo.com">hostap@lists.shmoo.com</a><br>
Message-ID: &lt;1261277054.4041.142.camel@localhost.localdomain&gt;<br>
Content-Type: text/plain; charset=&quot;UTF-8&quot;<br>
<br>
Hi guys,<br>
<br>
so I started playing with the new D-Bus interface and it seems it has<br>
still some issues in handling unexpected usage. So for example by<br>
accident, I triggered a scan with an empty parameter dictionary and this<br>
happens:<br>
<br>
RTM_NEWLINK, IFLA_IFNAME: Interface &#39;wlan0&#39; added<br>
wpas_dbus_handler_scan[dbus]: Scan type not specified<br>
<br>
After that the daemon terminates. This is a pretty bad behavior. Either<br>
we should return a proper error and continue or just fallback to some<br>
default parameters.<br>
<br>
I haven&#39;t checked any other method calls so far, but there might be<br>
others.<br>
<br>
Regards<br>
<br>
Marcel<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sun, 20 Dec 2009 16:12:24 +0200<br>
From: Jouni Malinen &lt;<a href="mailto:j@w1.fi">j@w1.fi</a>&gt;<br>
Subject: Re: new to WPA - first try<br>
To: <a href="mailto:hostap@lists.shmoo.com">hostap@lists.shmoo.com</a><br>
Message-ID: &lt;<a href="mailto:20091220123655.GA8762@jm.kir.nu">20091220123655.GA8762@jm.kir.nu</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
On Sat, Dec 19, 2009 at 05:08:41PM -0800, ed in 92626 wrote:<br>
&gt; Hi there, this is my first time trying to use wpa_supplicant. Can anyone see<br>
&gt; what&#39;s<br>
&gt; wrong. APN and passwords are correct. But in other dumps I&#39;ve seen<br>
&gt; wpa_driver_ralink_set_key should return something.<br>
&gt;<br>
&gt; How do you troubleshoot this piece of software.??<br>
<br>
You could start by actually reading the debug output you posted:<br>
<br>
&gt; Reading configuration file &#39;/usr/usr/local/etc/wpa.conf&#39;<br>
&gt; ctrl_interface=&#39;/usr/usr/local/etc/wpa_supplicant&#39;<br>
<br>
&gt; chown[ctrl_interface]: Read-only file system<br>
&gt; Failed to initialize control interface &#39;/usr/usr/local/etc/wpa_supplicant&#39;.<br>
<br>
If you want to use the control interface, you will need to point it to a<br>
directory that is not on a read-only file system.<br>
<br>
--<br>
Jouni Malinen                                            PGP id EFC895FA<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Sun, 20 Dec 2009 17:34:58 +0100<br>
From: &quot;Marcin Marzec&quot; &lt;<a href="mailto:etagh@wp.pl">etagh@wp.pl</a>&gt;<br>
Subject: Does anyone have a working 802.11r implementation?<br>
To: &lt;<a href="mailto:hostap@lists.shmoo.com">hostap@lists.shmoo.com</a>&gt;<br>
Message-ID: &lt;000f01ca8192$5f045c10$011ea8c0@marcin&gt;<br>
Content-Type: text/plain; format=flowed; charset=&quot;iso-8859-2&quot;;<br>
        reply-type=original<br>
<br>
Hi,<br>
I&#39;m trying to setup working 802.11r implementation, but without success. So<br>
if anyone managed to get 802.11r working could post some config, what<br>
hardware he used, etc.<br>
<br>
Best regards,<br>
Marcin Marzec<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
HostAP mailing list<br>
<a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
<br>
<br>
End of HostAP Digest, Vol 80, Issue 28<br>
**************************************<br>
</blockquote></div><br>