WiFi not working

Johncy Bennette johncyrr at gmail.com
Sat Apr 2 07:00:46 PDT 2016


Hi,
    I am using wpa_supplicant 2.5_devel version. I am using
dbus+wpa_supplicant to connect to wireless network. I am doing kind of
repeated tests like, disconnect/connect to wifi, power off, scan. At
one point the scan list is empty. The connect to WiFi fails. Until I
reset couldn't recover from that condition. I have captured the
wpa_supplicant logs with -ddd option

Finding the difference between working and non-working logs show the
below lines are not present in the non-working log mainly.

Mar 31 20:18:00 MyDevice daemon.debug wpa_supplicant[646]: wlan0:
Added interface wlan0

Mar 31 20:18:00 MyDevice daemon.debug wpa_supplicant[646]: wlan0:
State: INACTIVE -> DISCONNECTED

Mar 31 20:18:00 MyDevice daemon.debug wpa_supplicant[646]: nl80211:
Set wlan0 operstate 0->0 (DORMANT)

Mar 31 20:18:00 MyDevice daemon.debug wpa_supplicant[646]: netlink:
Operstate: ifindex=6 linkmode=-1 (no change), operstate=5
(IF_OPER_DORMANT)

Mar 31 20:18:00 MyDevice daemon.debug wpa_supplicant[646]: nl80211:
Create interface iftype 10 (P2P_DEVICE)

Mar 31 20:18:00 MyDevice daemon.debug wpa_supplicant[646]: nl80211:
New P2P Device interface p2p-dev-wlan0 (0x2) created

wpa_cli -iwlan0 scan gave OK
wpa_cli -iwlan0 scan_results didnt give any results and showed only
bssid / frequency / signal level / flags / ssid

iw dev wlan0 scan didnt give any results

wpa_cli -iwlan0 status showed,
wpa_state=SCANNING
p2p_device_address=20:c3:8f:8d:7f:12
address=20:c3:8f:8d:7f:11
uuid=4b03ecb5-33d1-5143-81b6-632370f0174b

Attached both working and notworking logs.

Regards,
Johncy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NotWorking.zip
Type: application/zip
Size: 13813 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/hostap/attachments/20160402/dfb804ce/attachment-0002.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Working.zip
Type: application/zip
Size: 13166 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/hostap/attachments/20160402/dfb804ce/attachment-0003.zip>


More information about the Hostap mailing list