Dear maintainers,
I installed hostapd in order to set up a wireless access point. The .conf file is never created though:
sudo apt install hostapd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
hostapd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/861 kB of archives.
After this operation, 2349 kB of additional disk space will be used.
Selecting previously unselected package hostapd.
(Reading database ... 219274 files and directories currently installed.)
Preparing to unpack .../hostapd_2%3a2.10-9+b2_amd64.deb ...
Unpacking hostapd (2:2.10-9+b2) ...
Setting up hostapd (2:2.10-9+b2) ...
hostapd config /etc/hostapd/hostapd.conf not found, not starting hostapd..
Processing triggers for man-db (2.11.1-1) ...
The /etc/hostapd directory just contains one script:
ls /etc/hostapd
ifupdown.sh
This also prevents the service from being started:
sudo rc-service hostapd start
hostapd config /etc/hostapd/hostapd.conf not found, not starting hostapd..
An example .conf file can be found in the package contents:
apt-file list hostapd | grep conf
hostapd: /usr/share/doc/hostapd/examples/hostapd.conf
Copying this file to /etc/hostapd allows starting the service. Yet starting the service still fails:
sudo rc-service hostapd start
Starting advanced IEEE 802.11 management: hostapd failed!
I'll have to look into that. Please consider adding the missing .conf file in the meantime.
Cheers
werdahias