HostAP Digest, Vol 80, Issue 28

ed in 92626 ed92626
Sun Dec 20 16:37:05 PST 2009


Is it necessary to use a control interface what is it for?
Wish I could find some good info sources on questions like this.

EC


If you want to use the control interface, you will need to point it to a
directory that is not on a read-only file system.

On Sun, Dec 20, 2009 at 9:00 AM, <hostap-request at lists.shmoo.com> wrote:

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



More information about the Hostap mailing list