lakinduakash / linux-wifi-hotspot

Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10).
BSD 2-Clause "Simplified" License
3.01k stars 278 forks source link

How to remove wifi-p2p device? #394

Open 3togo opened 2 months ago

3togo commented 2 months ago

I cannot delete wifi-p2p device. Any help?

eli@jc-acer:~/gitee/bsi$ sudo nmcli device
DEVICE           TYPE      STATE                   CONNECTION 
lo               loopback  connected (externally)  lo         
p2p-dev-wlp61s0  wifi-p2p  disconnected            --         
enp60s0          ethernet  unavailable             --    

eli@jc-acer:~/gitee/bsi$ sudo nmcli device delete p2p-dev-wlp61s0 
Error: Device 'p2p-dev-wlp61s0' (/org/freedesktop/NetworkManager/Devices/4) deletion failed: This device is not a software device or is not realized
Error: not all devices deleted.
eli@jc-acer:~/gitee/bsi$