tag:blogger.com,1999:blog-5264698562910138420.post3974244047501548280..comments2023-10-12T09:00:19.720-07:00Comments on 802.11: Part 1: P2P aka WiFi Direct - Introduction and Configuration of wpa_supplicant in Linux kernel version 3.8.3Ramapriyahttp://www.blogger.com/profile/12824946669411084056noreply@blogger.comBlogger42125tag:blogger.com,1999:blog-5264698562910138420.post-78987140008475823522022-02-20T21:28:58.493-08:002022-02-20T21:28:58.493-08:00Is it possible to run wpa_cli as an applicationIs it possible to run wpa_cli as an applicationrajihttps://www.blogger.com/profile/14666352089094749299noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-39856524872250336622020-12-05T00:11:54.520-08:002020-12-05T00:11:54.520-08:00Share great information about your blog , Blog rea...Share great information about your blog , Blog really helpful for us .<br /><a href="https://www.omsuk.com/" rel="nofollow">Oxford WiFi solutions</a>Terrance knapphttps://www.blogger.com/profile/15768577245809965747noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-44866135210181517292020-09-09T21:51:46.547-07:002020-09-09T21:51:46.547-07:00Hi Ramapriya, I have a small query regarding P2P c...Hi Ramapriya, I have a small query regarding P2P concept. Is it possible to proivde QoS capabilities using wpa_supplicant for different P2P devices?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-23202608056750789482020-09-09T21:49:36.137-07:002020-09-09T21:49:36.137-07:00Hi Ramapriya, I am always finding helpful informat...Hi Ramapriya, I am always finding helpful information in your all blogs and it is always easy to understand from theory to practical. Thanks for sharing.<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-11237425717852270772017-11-04T05:15:10.912-07:002017-11-04T05:15:10.912-07:00Nice information Thanks for sharing....
OTDR
Sp...Nice information Thanks for sharing....<br /> <br /><br /><a href="http://canli.in/otdr/" rel="nofollow">OTDR</a><br /><a href="http://canli.in/" rel="nofollow">Splicing machine</a><br /><a href="http://canli.in/otdr-fiber-tester/" rel="nofollow">OTDR FIBER TESTER</a><br /><a href="http://canli.in/otdr-exfo/" rel="nofollow">OTDR EXFO</a><br /><a href="http://canli.in/fiber-optic-cable/" rel="nofollow">FIBER OPTIC CABLE</a>Anonymoushttps://www.blogger.com/profile/06855832389472219623noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-23005257432537571422017-05-02T08:13:16.498-07:002017-05-02T08:13:16.498-07:00AAAnonymoushttps://www.blogger.com/profile/02239124662552319684noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-55243671621308283542017-03-12T13:48:04.746-07:002017-03-12T13:48:04.746-07:00Thanks for your informative post. I am amazed that...Thanks for your informative post. I am amazed that in four years there has been no advance to make Wifi Direct easier to setup.<br /><br />I am using the ath9k_htc driver, and everything goes well following your instructions, but the very last step.<br /><br />When running P2P_find in wpa_cli I get CONTROL-EVENT-SCAN-STARTED multiple times. <br /><br />I don't have an SSID published either...<br /><br />Are you still available to help on this? Do you know of a newer more effective way of getting Wifi Direct going?<br /><br />All the best,<br /><br />Dave<br /><br />Anonymoushttps://www.blogger.com/profile/16204143584053613616noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-4517875505815284372016-03-29T01:57:23.220-07:002016-03-29T01:57:23.220-07:00Do you mean P2P client or station?Do you mean P2P client or station?Ramapriyahttps://www.blogger.com/profile/12824946669411084056noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-17555777720667687432016-03-29T01:55:51.240-07:002016-03-29T01:55:51.240-07:00Check if any other instance of wpa_supplicant or h...Check if any other instance of wpa_supplicant or hostapd is running. killall wpa_supplicant and killall hostapd before you run wpa_suuplicant. Also run wpa_supplicant with -dddt option to get to know more informationRamapriyahttps://www.blogger.com/profile/12824946669411084056noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-76553119112011228242016-03-24T23:56:30.026-07:002016-03-24T23:56:30.026-07:00Hi,
I have a Netgear wna1100 usb wlan adaptor. I ...Hi,<br /><br />I have a Netgear wna1100 usb wlan adaptor. I have followed above tutorial and installed the drivers for this on ubuntu. I am using ath9k_htc driver version 1.3. <br />With iw list the device shows that it supports AP,P2P modes.<br />But when I am trying to run the following command, <br /><br />./wpa_supplicant -i wlan1 -c /etc/wpa_supplicant/wpa_supplicant.conf -Dnl80211<br /><br />output:<br />Successfully initialized wpa_supplicant<br />nl80211: Could not configure driver mode<br />nl80211: deinit ifname=wlan1 disabled_11b_rates=0<br />wlan1: Failed to initialize driver interface.<br /><br />And after this the led (present on the USB adaptor) which was ON before executing this command will turn OFF.<br /><br />I have to use service hostapd restart to start that LED again(to start wifi dongle).<br /><br />Could you please help me with this?<br /><br />ThanksAnonymoushttps://www.blogger.com/profile/11833531579916755563noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-18499784290739790072016-03-24T23:38:06.056-07:002016-03-24T23:38:06.056-07:00Hi,
I have a Netgear wna1100 usb wlan adaptor....Hi,<br /><br /> I have a Netgear wna1100 usb wlan adaptor. I have followed above tutorial and installed the drivers for this on ubuntu. I am using ath9k_htc driver version 1.3. <br />With iw list the device shows that it supports AP,P2P modes.<br />But when I am trying to run the following command, <br /><br />./wpa_supplicant -i wlan1 -c /etc/wpa_supplicant/wpa_supplicant.conf -Dnl80211<br /><br />output:<br />Successfully initialized wpa_supplicant<br />nl80211: Could not configure driver mode<br />nl80211: deinit ifname=wlan1 disabled_11b_rates=0<br />wlan1: Failed to initialize driver interface.<br /><br />And after this the led (present on the USB adaptor) which was ON before executing this command will turn OFF.<br /><br />I have to use service hostapd restart to start that LED again(to start wifi dongle).<br /><br />Could you please help me with this?<br /><br />ThanksAnonymoushttps://www.blogger.com/profile/11833531579916755563noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-70200028471831099782016-02-08T08:15:17.060-08:002016-02-08T08:15:17.060-08:00Ramapriya it's really worthy information I am ...Ramapriya it's really worthy information I am not getting ssid as direct- after creating in station mode in probe response packet plss explain meAnonymoushttps://www.blogger.com/profile/06727325164042594777noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-54502047831071672802015-09-02T22:44:17.371-07:002015-09-02T22:44:17.371-07:00Hi Guys,
I need your help to resolve "p2p_fin...Hi Guys,<br />I need your help to resolve "p2p_find" FAIL message. Below is the complete description of my setup.<br /><br />I want to establish wi-fi direct connection between two Dell Laptops running on Ubuntu 14.04.3 LTS. Wi-fi chip is Broadcomm BCM4313. p2p_find command fails. This is the code flow: wpa_cli_cmd_p2p_find() -> wpa_cli_cmd() -> wpa_ctrl_command() ->_wpa_ctrl_command() -> recv(). recv() call receives "FAIL" as reply. Running wpa_supplicant and wpa_cli on both laptops,<br /> <br /><br />1. wpa_supplicant-2.4,<br /><br /> <br /><br />a. .config file in wpa_supplicant-2.4 has below configurations,<br /><br />CONFIG_DRIVER_NL80211=y<br /><br /># optional, depending on libnl version you want to use:<br /><br /># CONFIG_LIBNL20=y<br /><br /> <br /><br />CONFIG_CTRL_IFACE=y<br /><br />CONFIG_WPS=y<br /><br />CONFIG_WPS2=y<br /><br />CONFIG_P2P=y<br /><br />CONFIG_AP=y<br /><br /> <br /><br /># and maybe DBus<br /><br /> <br /><br />b. cp wpa_supplicant.conf /etc/wpa_supplicant.conf<br /><br />c. sudo make && sudo make install<br /><br />d. p2p.conf file<br /><br /> <br /><br />ctrl_interface=/var/run/wpa_supplicant<br /><br />ap_scan=1<br /><br /> <br /><br />device_name=my-device-name<br /><br />device_type=1-0050F204-1<br /><br /> <br /><br /># If you need to modify the group owner intent, 0-15, the higher<br /><br /># number indicates preference to become the GO. You can also set<br /><br /># this on p2p_connect commands.<br /><br />#p2p_go_intent=15<br /><br /> <br /><br /># optional, can be useful for monitoring, forces<br /><br /># wpa_supplicant to use only channel 1 rather than<br /><br /># 1, 6 and 11:<br /><br />#p2p_listen_reg_class=81<br /><br />#p2p_listen_channel=1<br /><br />#p2p_oper_reg_class=81<br /><br />#p2p_oper_channel=1<br /><br /> <br /><br />e. Start wpa supplicant,<br /><br />./wpa_supplicant -Dnl80211 -c /path/to/p2p.conf -i wlan0 -dt<br /><br />f. ./wpa_cli<br /><br />>p2p_find<br /><br />FAIL<br /><br /> <br /><br />------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br /><br />lsmod output<br /><br /> <br /><br />bcma 52096 3 b43,brcmsmac<br /><br /><br />cordic 12574 1 brcmsmac<br /><br />brcmutil 15618 1 brcmsmac<br /><br />b43 387371 0<br /><br />mac80211 630728 2 b43,brcmsmac<br /><br />cfg80211 484040 3 b43,brcmsmac,mac80211<br /><br /> <br /><br />------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br /><br /> <br /><br />iw list output<br /><br /> <br /><br />* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0<br /><br />* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0<br /><br />* P2P-client: 0x40 0xd0<br /><br />* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0<br /><br /> <br /><br /> * IBSS<br /><br /> * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0<br /><br /> * IBSS: 0x40 0xb0 0xc0 0xd0<br /><br /> Device supports RSN-IBSS.<br /><br /> Device supports HT-IBSS.<br /><br /> <br /><br />* managed<br /><br /> * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0<br /><br /> * managed: 0x40 0xd0<br /><br /> <br /><br /> * monitor<br /><br /> * monitor<br /><br /> <br /><br />* AP<br /><br /> * AP/VLAN<br /><br /> * AP/VLAN<br /><br /> * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0<br /><br /> * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0<br /><br /> * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0<br /><br /> * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0<br /><br /> <br /><br /> <br /><br />Regards,<br /><br />Gangadhar<br />Anonymoushttps://www.blogger.com/profile/13095098424472016443noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-56601648010444161002015-07-30T01:34:08.740-07:002015-07-30T01:34:08.740-07:00Problem is not with mutella. The problem you menti...Problem is not with mutella. The problem you mention does not occur in Linux platform. Check freescale forums for device specific problemsRamapriyahttps://www.blogger.com/profile/12824946669411084056noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-6382985728459143362015-06-23T23:43:44.917-07:002015-06-23T23:43:44.917-07:00OMG, thanks for ur super fast reply.
I have made w...OMG, thanks for ur super fast reply.<br />I have made wifi up by giving "ifconfig wlan0 up"<br />I could the available AP using "iw wlan0 scan"<br /><br />root@OpenWrt:/# <br />root@OpenWrt:/# wpa_supplicant -i wlan0 -c /etc/p2p.conf -Dnl80211 -ddt<br />1435126267.331293: Successfully initialized wpa_supplicant<br />1435126267.331813: Line 6: unknown global field 'p2p_listen_reg_class=81'.<br />1435126267.331875: Line 6: Invalid configuration line 'p2p_listen_reg_class=81'.<br />1435126267.331919: Line 7: unknown global field 'p2p_listen_channel=1'.<br />1435126267.331951: Line 7: Invalid configuration line 'p2p_listen_channel=1'.<br />1435126267.331991: Line 8: unknown global field 'p2p_oper_reg_class=81'.<br />1435126267.332022: Line 8: Invalid configuration line 'p2p_oper_reg_class=81'.<br />1435126267.332060: Line 9: unknown global field 'p2p_oper_channel=1'.<br />1435126267.332090: Line 9: Invalid configuration line 'p2p_oper_channel=1'.<br />1435126267.332131: Line 10: unknown global field 'p2p_go_intent=1'.<br />1435126267.332162: Line 10: Invalid configuration line 'p2p_go_intent=1'.<br />1435126267.332201: Line 11: unknown global field 'p2p_no_group_iface=1'.<br />1435126267.332231: Line 11: Invalid configuration line 'p2p_no_group_iface=1'.<br />1435126267.332312: Failed to read or parse configuration '/etc/p2p.conf'.<br />root@OpenWrt:/# <br />root@OpenWrt:/# <br /><br /><br />Im still getting the same problem. Is this due to the unavailability of "mutella" or any other reason?Anonymoushttps://www.blogger.com/profile/05364178240157730646noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-65537362276475748322015-06-23T22:59:13.323-07:002015-06-23T22:59:13.323-07:00Can you pls check if wlan0 is up? If it is up, ena...Can you pls check if wlan0 is up? If it is up, enable -ddt option (./wpa_supplicant -i wlan0 -c /etc/p2p.conf -Dnl80211 -ddt) for the debug and you may get additional info.Ramapriyahttps://www.blogger.com/profile/12824946669411084056noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-36736930156029142502015-06-23T22:01:03.844-07:002015-06-23T22:01:03.844-07:00Hi im using OpenWRT for "Freescale i.MX 6&quo...Hi im using OpenWRT for "Freescale i.MX 6" target platform. I have enabled the following using menuconfig <br />'wpa-supplicant'<br />'wpa-cli'<br />'Add rfkill support'<br />'wpa-supplicant-p2p'<br />'wpad'<br />also<br />'kmod-ipt-iface'<br />'iptables-mod-iface'<br />'iptables-mod-ipp2p'<br />'kmod-ipt-ipp2p'<br />'olsrd-mod-p2pd'<br />and some P2P<br />'amule'<br />'opendchub'<br />'peerguardian'<br />'uhub'<br />But I haven't enabled 'mutella' since it was giving some compilation error.<br />Now in my target board im facing an issue on starting the wpa_supplicant. I have created config file in the target as u mentioned and tried to start the wpa_supplicant, im receiving the following error,<br /><br />root@OpenWrt:/# wpa_supplicant -i wlan0 -c /etc/p2p.conf -Dnl80211<br />Successfully initialized wpa_supplicant<br />Line 6: unknown global field 'p2p_listen_reg_class=81'.<br />Line 6: Invalid configuration line 'p2p_listen_reg_class=81'.<br />Line 7: unknown global field 'p2p_listen_channel=1'.<br />Line 7: Invalid configuration line 'p2p_listen_channel=1'.<br />Line 8: unknown global field 'p2p_oper_reg_class=81'.<br />Line 8: Invalid configuration line 'p2p_oper_reg_class=81'.<br />Line 9: unknown global field 'p2p_oper_channel=1'.<br />Line 9: Invalid configuration line 'p2p_oper_channel=1'.<br />Line 10: unknown global field 'p2p_go_intent=1'.<br />Line 10: Invalid configuration line 'p2p_go_intent=1'.<br />Line 11: unknown global field 'p2p_no_group_iface=1'.<br />Line 11: Invalid configuration line 'p2p_no_group_iface=1'.<br />Failed to read or parse configuration '/etc/p2p.conf'.<br /><br />Is this happens due to unavailability of "mutella". Is this required? Or this failure happens due to some other reason?Anonymoushttps://www.blogger.com/profile/05364178240157730646noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-10117996680880915082015-03-12T01:02:08.518-07:002015-03-12T01:02:08.518-07:00very nice blog more information our site
NPO netw...very nice blog more information our site <br /><a href="http://www.softql.com/services/infrastructure-management-services/network-security/" rel="nofollow">NPO network planning and optimization</a><br />Anonymoushttps://www.blogger.com/profile/02316152444264245636noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-44330917159436438252015-02-09T06:17:14.328-08:002015-02-09T06:17:14.328-08:00Thanks you.Thanks you.moon.linuxhttps://www.blogger.com/profile/07997751882193672491noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-83329371812238833642015-02-08T21:10:14.526-08:002015-02-08T21:10:14.526-08:00Yes, you may want to read http://riya80211.blogspo...Yes, you may want to read http://riya80211.blogspot.in/2013/08/part-3-p2p-group-owner-negotiation.html for further details.Ramapriyahttps://www.blogger.com/profile/12824946669411084056noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-26653309076607071852015-02-08T19:21:55.733-08:002015-02-08T19:21:55.733-08:00My guess is that the Group owner is dynamically de...My guess is that the Group owner is dynamically decided between the 2 or more p2p client. Is this correct.moon.linuxhttps://www.blogger.com/profile/07997751882193672491noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-68967264391019230942015-01-20T23:22:23.175-08:002015-01-20T23:22:23.175-08:00Thanks :)Thanks :)Ramapriyahttps://www.blogger.com/profile/12824946669411084056noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-31946650981017823012015-01-20T23:21:46.390-08:002015-01-20T23:21:46.390-08:00Yes, pls run DHCP server in Group ownerYes, pls run DHCP server in Group ownerRamapriyahttps://www.blogger.com/profile/12824946669411084056noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-77945725748229544452015-01-20T03:26:47.572-08:002015-01-20T03:26:47.572-08:00Wow is just the simple word that may explain that ...Wow is just the simple word that may explain that how much I liked it. It was nicely stuffed with the material I was looking for. It’s great to be here though by chance.<br /><a href="http://www.evetech.co.za/" rel="nofollow">Buy Laptops</a>Anonymoushttps://www.blogger.com/profile/17086551720120046510noreply@blogger.comtag:blogger.com,1999:blog-5264698562910138420.post-54591405887790617822015-01-12T04:00:12.169-08:002015-01-12T04:00:12.169-08:00Given 2 or more p2p driver connect with each other...Given 2 or more p2p driver connect with each other. So after connection how will the connected nodes get IP. Do we need DHCP server running in the background.moon.linuxhttps://www.blogger.com/profile/07997751882193672491noreply@blogger.com