On 1/30/11 2:46 PM, Samuel Ortiz wrote:
> On Sun, Jan 30, 2011 at 01:37:30PM -0800, Grant Erickson wrote:
>> The requested log output is as follows. It would seem that the wifi.so
>> plug-in and the wpa_supplicant are not even communicating:
>
> Correct.
>  
>> # /sbin/wpa_supplicant -ddd -t -u &
>> 1296422968.146540: Providing DBus service 'fi.epitest.hostap.WPASupplicant'.
>
> Your wpa_supplicant is built to only provide the legacy D-Bus interface, which
> is why the wifi.so plugin doesn't talk to it.
>
> I don't know if you build your wpa_supplicant yourself, but you can build it
> so that it supports both interfaces. (which is why I was asking for your
> wpa_supplicant .config file, i.e. the build config file wpa_supplicant uses).

Thanks for the clarification on which '.config' file was intended. I do
build wpa_supplicant from source, the .config for which is:

    DBUS_INCLUDE := $(DBUSCFLAGS)
    DBUS_LIBS := $(DBUSLDFLAGS)
    DBUS_VERSION := $(DBUSVERSION)
    CFLAGS += $(OPENSSLCFLAGS) $(NETLINKCFLAGS) $(LINUXCFLAGS)
    wpa_supplicant: LIBS += $(DBUSLDFLAGS) $(OPENSSLLDFLAGS)
$(NETLINKLDFLAGS)
    wpa_passphrase: LDFLAGS += $(OPENSSLLDFLAGS)
    CONFIG_DRIVER_WEXT=y
    CONFIG_DRIVER_NL80211=y
    CONFIG_DRIVER_WIRED=y
    CONFIG_LIBNL20=y
    CONFIG_IEEE8021X_EAPOL=y
    CONFIG_EAP_MD5=y
    CONFIG_EAP_MSCHAPV2=y
    CONFIG_EAP_TLS=y
    CONFIG_EAP_PEAP=y
    CONFIG_EAP_TTLS=y
    CONFIG_EAP_GTC=y
    CONFIG_EAP_OTP=y
    CONFIG_EAP_LEAP=y
    CONFIG_PKCS12=y
    CONFIG_CTRL_IFACE=y
    CONFIG_DEBUG_SYSLOG=y
    CONFIG_BACKEND=file
    CONFIG_PEERKEY=y
    CONFIG_CTRL_IFACE_DBUS=y
    CONFIG_DEBUG_FILE=y

When last I'd tried setting CONFIG_CTRL_IFACE_DBUS_NEW=y around the
connman-0.63 time frame, it caused wpa_supplicant to segment fault so I
turned it off as it didn't seem necessary.

I'll give it another go with connman-0.68 and the non-legacy wifi.so and see
what happens.

Thanks for the tip. Would it make sense, from a debugging perspective, to
have the Wi-Fi plug-in emit some log message if it cannot find the new D-Bus
interface?

Best,

Grant


_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to