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.19k stars 296 forks source link

Wifi interface not showing, Failed to run hostapd #174

Open ardiishere opened 3 years ago

ardiishere commented 3 years ago

In GUI format, I can't choose wifi interface. Then when I clicked Create hotspot, it showed "Check inputs" Wi Hotspot

I tried using cli, it showed

sudo create_ap wlxd46e0e09ecde enp3s0 MyAccessPoint WARN: Your adapter does not fully support AP virtual interface, enabling --no-virt Config dir: /tmp/create_ap.wlxd46e0e09ecde.conf.1WBWGe3x PID: 12495 Network Manager found, set wlxd46e0e09ecde as unmanaged device... DONE Sharing Internet using method: nat hostapd command-line interface: hostapd_cli -p /tmp/create_ap.wlxd46e0e09ecde.conf.1WBWGe3x/hostapd_ctrl Configuration file: /tmp/create_ap.wlxd46e0e09ecde.conf.1WBWGe3x/hostapd.conf nl80211: Driver does not support authentication/association or connect commands nl80211: deinit ifname=wlxd46e0e09ecde disabled_11b_rates=0 nl80211 driver initialization failed. wlxd46e0e09ecde: interface state UNINITIALIZED->DISABLED wlxd46e0e09ecde: AP-DISABLED wlxd46e0e09ecde: CTRL-EVENT-TERMINATING hostapd_free_hapd_data: Interface wlxd46e0e09ecde wasn't started

Error: Failed to run hostapd, maybe a program is interfering. If an error like 'n80211: Could not configure driver mode' was thrown try running the following before starting create_ap: nmcli r wifi off rfkill unblock wlan

Doing cleanup.. done

Ubuntu 20.04.2 LTS x86_64 Kernel: 5.8.0-59-generic

AndreiCherniaev commented 2 years ago

In GUI format, I can't choose wifi interface.

Are you run GUI like admin?

sudo su
wihotspot
NightFlexer commented 8 months ago

same problem (as root)