Package: hostapd Version: 2:2.10-9+b2 Severity: important X-Debbugs-Cc: matthias.geiger1...@tutanota.de
Hi Maintainers, I installed hostapd to run a wireless access point. The hostapd.conf is missing from the package and not created during install: 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) ... apt-file list hostapd | grep conf hostapd: /usr/share/doc/hostapd/examples/hostapd.conf This subsequently leads to hostapd not starting because of the missing .conf file. Copying the example conf into /etc/hostapd allows starting the service. Yet it fails: sudo rc-service hostapd start Starting advanced IEEE 802.11 management: hostapd failed! Doing a manual start yields some more debug info: /usr/sbin/hostapd -B -P /run/hostapd.pid /etc/hostapd/hostapd.conf Could not read interface wlan0 flags: No such device nl80211: Driver does not support authentication/association or connect commands nl80211: deinit ifname=wlan0 disabled_11b_rates=0 Could not read interface wlan0 flags: No such device nl80211 driver initialization failed. wlan0: interface state UNINITIALIZED->DISABLED wlan0: AP-DISABLED wlan0: CTRL-EVENT-TERMINATING hostapd_free_hapd_data: Interface wlan0 wasn't started This is where my knowledge ends. I'd be happy if someone could point me to what I'm missing. Please include the hostapd.conf file in the package (maybe with a postint file?). 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