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
In GUI format, I can't choose wifi interface. Then when I clicked Create hotspot, it showed "Check inputs"
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
In GUI format, I can't choose wifi interface. Then when I clicked Create hotspot, it showed "Check inputs"![Wi Hotspot](https://user-images.githubusercontent.com/75511812/126024280-e9c68860-3001-4dc4-b2a1-32269c6bffb6.png)
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