dbus + wpa_supplicant 2.5 - p2p interface not working

Dan Williams dcbw at redhat.com
Fri Nov 6 10:07:24 PST 2015


On Fri, 2015-11-06 at 23:06 +0530, Johncy Bennette wrote:
> Hi,
> I am using dbus interface + wpa_supplicant 2.5. My WiFi interface is
> working fine. With p2p interface I am facing problems. I invoke my
> wpa_supplicant as
> wpa_supplicant -iwlan0 -u -B -c/etc/wpa_supplicant.conf
> I send the below command to query the available interfaces
> 
> dbus-send --system --print-reply --dest=fi.w1.wpa_supplicant1
> /fi/w1/wpa_supplicant1 org.freedesktop.DBus.Properties.Get
> string:fi.w1.wpa_supplicant1 string:Interfaces
> 
> But with this my wpa_supplicant gets killed.

This indicates that there is a bug in wpa_supplicant 2.5.  Can you run
the supplicant under 'gdb' and get a backtrace when it dies in gdb?

Dan

> With wpa_supplicant 2.1, I get the dbus-send command successfully return
> 
> dbus-send --system --print-reply --dest=fi.w1.wpa_supplicant1
> /fi/w1/wpa_supplicant1 org.freedesktop.DBus.Properties.Get
> string:fi.w1.wpa_supplicant1 string:Interfaces
> 
> method return sender=:1.5 -> dest=:1.11 reply_serial=2
> 
> variant array [
> 
> object path "/fi/w1/wpa_supplicant1/Interfaces/3"
> 
> object path "/fi/w1/wpa_supplicant1/Interfaces/1"
> 
> ]
> 
> With wpa_supplicant 2.1 the interface for p2p is p2p0. With wpa 2.5,
> the p2p-dev-wlan0 is created internally. But the GetInterface API
> fails when p2p-dev-wlan0 is given as parameter for GetInterface. All
> the p2p_group_add fails either. I am not sure if I am missing any
> configuration?
> 
> Attached my wpa_supplicant debug log.
> 
> Regards,
> 
> Johncy.
> _______________________________________________
> Hostap mailing list
> Hostap at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/hostap





More information about the Hostap mailing list