linux-wifi-hotspot icon indicating copy to clipboard operation
linux-wifi-hotspot copied to clipboard

Wifi interface not showing, Failed to run hostapd

Open ardiishere opened this issue 4 years ago • 3 comments
trafficstars

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

ardiishere avatar Jul 17 '21 03:07 ardiishere

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

Are you run GUI like admin?

sudo su
wihotspot

AndreiCherniaev avatar Jul 30 '22 18:07 AndreiCherniaev

same problem (as root)

NightFlexer avatar Dec 29 '23 23:12 NightFlexer