Installation error
Posted: Sun May 05, 2019 11:28 am
When using apt-get, I'm constantly getting this error or similar
May 05 11:26:09 NanoPi-M4 systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
May 05 11:26:09 NanoPi-M4 hostapd[2796]: Configuration file: /etc/hostapd/hostapd.conf
May 05 11:26:09 NanoPi-M4 hostapd[2796]: Could not open configuration file '/etc/hostapd/hostapd.conf' for reading.
May 05 11:26:09 NanoPi-M4 hostapd[2796]: Failed to set up interface with /etc/hostapd/hostapd.conf
May 05 11:26:09 NanoPi-M4 hostapd[2796]: Failed to initialize interface
May 05 11:26:09 NanoPi-M4 systemd[1]: hostapd.service: Control process exited, code=exited status=1
May 05 11:26:09 NanoPi-M4 systemd[1]: hostapd.service: Failed with result 'exit-code'.
May 05 11:26:09 NanoPi-M4 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
dpkg: error processing package hostapd (--configure):
installed hostapd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
hostapd
E: Sub-process /usr/bin/dpkg returned an error code (1)
May 05 11:26:09 NanoPi-M4 systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
May 05 11:26:09 NanoPi-M4 hostapd[2796]: Configuration file: /etc/hostapd/hostapd.conf
May 05 11:26:09 NanoPi-M4 hostapd[2796]: Could not open configuration file '/etc/hostapd/hostapd.conf' for reading.
May 05 11:26:09 NanoPi-M4 hostapd[2796]: Failed to set up interface with /etc/hostapd/hostapd.conf
May 05 11:26:09 NanoPi-M4 hostapd[2796]: Failed to initialize interface
May 05 11:26:09 NanoPi-M4 systemd[1]: hostapd.service: Control process exited, code=exited status=1
May 05 11:26:09 NanoPi-M4 systemd[1]: hostapd.service: Failed with result 'exit-code'.
May 05 11:26:09 NanoPi-M4 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
dpkg: error processing package hostapd (--configure):
installed hostapd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
hostapd
E: Sub-process /usr/bin/dpkg returned an error code (1)