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
#5
(2019-06-19, 06:45 PM)e-sailing Wrote: Wifi stick is working and hostapd not.
To unmask hostapd try:

Code:
sudo systemctl unmask hostapd.service
Then try to enable hostapd again

Code:
sudo systemctl enable hostapd

unmasking hostapd works, 
enabling hostapd works as well, but the asking for the status of hostapd I get:
Code:
pi@openplotter:~ $ sudo systemctl status hostapd.service
● hostapd.service - Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authent
  Loaded: loaded (/lib/systemd/system/hostapd.service; enabled; vendor preset:
  Active: activating (auto-restart) (Result: exit-code) since Wed 2019-06-19 21
 Process: 12278 ExecStart=/usr/sbin/hostapd -P /run/hostapd.pid -B $DAEMON_OPTS

Jun 19 21:21:42 openplotter systemd[1]: Failed to start Advanced IEEE 802.11 AP
Jun 19 21:21:42 openplotter systemd[1]: hostapd.service: Unit entered failed sta
Jun 19 21:21:42 openplotter systemd[1]: hostapd.service: Failed with result 'exi
lines 1-8/8 (END)...skipping...
● hostapd.service - Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
  Loaded: loaded (/lib/systemd/system/hostapd.service; enabled; vendor preset: enabled)
  Active: activating (auto-restart) (Result: exit-code) since Wed 2019-06-19 21:21:42 CEST; 1s ago
 Process: 12278 ExecStart=/usr/sbin/hostapd -P /run/hostapd.pid -B $DAEMON_OPTS ${DAEMON_CONF} (code=exited, status=1/FAILURE)

Jun 19 21:21:42 openplotter systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Jun 19 21:21:42 openplotter systemd[1]: hostapd.service: Unit entered failed state.
Jun 19 21:21:42 openplotter systemd[1]: hostapd.service: Failed with result 'exit-code'.


and no possibility to connect.

Any other ideas?

Christian
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)