wpa_supplicant is unable to detect disconnection of hotspot. - Raspberry Pi Forums


hello everyone,
in trouble wifi connectivity of rpi windows hotspot.
have bought 2 wifi dongle (tp-link-823wn) , raspberry pi.
have configured raspberry pi connected wifi network having ssid , wpa_supplicant.conf file in /etc/wpa_supplicant/wpa_supplicant.conf below:

code: select all

ctrl_interface=dir=/var/run/wpa_supplicant group=netdev update_config=1  network={         ssid="tp02network"         psk="xxxxxxxx"         proto=rsn         key_mgmt=wpa-psk         pairwise=ccmp         auth_alg=open } 
, /etc/network/interfaces file as:

code: select all

auto lo auto eth0 allow-hotplug eth0 iface lo inet loopback iface eth0 inet dhcp  auto wlan0 allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp 
creating hotspot on windows system using netsh commands
netsh wlan set hostednetwork mode=allow ssid=tp02network key=xxxxxxxx
, starting using :
netsh wlan start hosted network
setting it's ip :
netsh interface ip set address name="my virtual wifi adapter name" source=static addr=192.168.159.1 mask=255.0.0.0
allowing pi connected hotspot i've created on windows.
when see status of wifi using wpa_cli status , shows status completed.

the main problem when disconnect hotspot (on windows) using netsh wlan stop hostednetwork wpa_supplicant on pi unable detect state , showing status completed

it able detect disconnection when remove hotspot dongle windows pc manually.
problem of wpa_supplicant or else, if have views guide me further. don't know wpa_supplicant.



raspberrypi



Comments