Posts

Showing posts from February, 2021

P2P in Linux

Hi Guys , Most of the guys may be searching for p2p information for Linux like how to create p2p_connection using config_files . As I came through different blogs and websites . No blog or website give complete information. Most of the blogs specify so many details for config_files which make difficult to understand simple . Here I explain in a simply way . 1. For initiating the p2p_connection . First of all we need to enable the wpa_supplicant using any wifi config file , even default one (/etc/wpa_supplicant.conf) is also fine . Example : on Device 1 wpa_supplicant -B -i (wifi interface name ) -c /etc/wpa_supplicant.conf Now open wpa_cli -i wifi interface name   > stat    # this is for checking connection details , if we see connected to any AP , then disconnect  > disconnect  # this is for disconnection , if we get connection to supplicant lose , please retry the same steps again > p2p_group_add    # this is for creating the group  ...