Package: hostapd
Version: 2:2.10-9+b2
Severity: important
X-Debbugs-Cc: [email protected]
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
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.0.0-5-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: OpenRC (via /run/openrc), PID 1: init
LSM: AppArmor: enabled
Versions of packages hostapd depends on:
ii init-system-helpers 1.65.2
ii libc6 2.36-6
ii libnl-3-200 3.7.0-0.2+b1
ii libnl-genl-3-200 3.7.0-0.2+b1
ii libnl-route-3-200 3.7.0-0.2+b1
ii libssl3 3.0.7-1
ii lsb-base 11.5
ii sysvinit-utils [lsb-base] 3.05-7
hostapd recommends no packages.
hostapd suggests no packages.
-- no debconf information