Closed ngoquang2708 closed 8 years ago
It must be "ifconfig" instead of ipconfig. It's for Windows only And that p2p0 device is for USB tethering. Don't you see "Ethernet" there?
Weird is we get "No such device" here
OK, I misspelled it. Did you compare it with wlan0 (when wifi is off)? They are the same!
2016-07-22 18:08 GMT+07:00 Nguyễn Tuấn Quyền notifications@github.com:
It must be "ifconfig" instead of ipconfig. It's for Windows only And that p2p0 device is for USB tethering. Don't you see "Ethernet" there? [image: screenshot_20160722-180741] https://cloud.githubusercontent.com/assets/13411810/17055483/3c6bf336-5037-11e6-895b-137fd614f7ce.png
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ngoquang2708/android_device_samsung_vivalto3gvn/issues/54#issuecomment-234517513, or mute the thread https://github.com/notifications/unsubscribe-auth/AJOl9mckxR8dXI_WXIobKEJApMADFdBmks5qYKSagaJpZM4JR6W5 .
I ran wpa_supplicant -i p2p0 -Dnl80211 -c /data/misc/wifi/p2p_supplicant.conf
to test it. With -i wlan0
, it works, with -i p2p0
, it does not.
OK, my mistake :D
WiFi-Direct is working now. Maybe CM's repo is updated with changes that make it works.
wpa_supplicant
cannot initialize thep2p0
interface. It saysNo such device
whileipconfig -a
ifconfig -a
shows there isp2p0
interface.