This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AP with WiFi-Dongle
#7
(2019-06-19, 09:17 PM)e-sailing Wrote: To debug hostapd you should use following commands and send the output.
Code:
sudo service hostapd stop
hostapd -d /etc/hostapd/hostapd.conf

hostapd -d /etc/hostapd/hostapd.conf
gives this output:

Code:
pi@openplotter:~ $ sudo hostapd -d /etc/hostapd/hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
Could not read interface wlan1 flags: No such device
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan1 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=0 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
Could not read interface wlan1 flags: No such device
nl80211: Set mode ifindex 0 iftype 2 (STATION)
nl80211: Failed to set interface 0 to mode 2: -19 (No such device)
nl80211 driver initialization failed.
hostapd_interface_deinit_free(0x138dcf8)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x138dcf8)
wlan1: interface state UNINITIALIZED->DISABLED
hostapd_bss_deinit: deinit bss wlan1
wlan1: AP-DISABLED
hostapd_cleanup(hapd=0x138ea48 (wlan1))
hostapd_free_hapd_data: Interface wlan1 wasn't started
hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit
hostapd_interface_free(0x138dcf8)
hostapd_interface_free: free hapd 0x138ea48
hostapd_cleanup_iface(0x138dcf8)
hostapd_cleanup_iface_partial(0x138dcf8)
hostapd_cleanup_iface: free iface=0x138dcf8
Reply


Messages In This Thread
AP with WiFi-Dongle - by CVL - 2019-06-18, 03:54 PM
RE: AP with WiFi-Dongle - by e-sailing - 2019-06-18, 07:30 PM
RE: AP with WiFi-Dongle - by CVL - 2019-06-19, 04:02 PM
RE: AP with WiFi-Dongle - by e-sailing - 2019-06-19, 06:45 PM
RE: AP with WiFi-Dongle - by CVL - 2019-06-19, 08:40 PM
RE: AP with WiFi-Dongle - by e-sailing - 2019-06-19, 09:17 PM
RE: AP with WiFi-Dongle - by CVL - 2019-06-20, 10:19 AM
RE: AP with WiFi-Dongle - by e-sailing - 2019-06-20, 08:22 PM
RE: AP with WiFi-Dongle - by CVL - 2019-06-21, 05:54 PM
RE: AP with WiFi-Dongle - by e-sailing - 2019-06-21, 06:33 PM
RE: AP with WiFi-Dongle - by CVL - 2019-06-22, 01:15 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)