[pkg-wpa-devel] Bug#854719: hostapd: Failed to set beacon parameters

Vincent Danjean vdanjean at debian.org
Thu Feb 9 20:10:46 UTC 2017


Package: hostapd
Version: 1:2.5-2+v2.4-3+b1
Severity: grave
Justification: renders package unusable

  Hi,

  I just upgraded a machine from jessie to stretch. With the stretch
version of hostapd, the deamon does not start:
# hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Using interface wlan0 with hwaddr f4:ec:38:c5:fd:94 and ssid "dino-wpa1"
Failed to set beacon parameters
Interface initialization failed
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED 
wlan0: Unable to setup interface.
wlan0: interface state DISABLED->DISABLED
wlan0: AP-DISABLED 
hostapd_free_hapd_data: Interface wlan0_2 wasn't started
wlan0: AP-DISABLED 
hostapd_free_hapd_data: Interface wlan0_1 wasn't started
wlan0: AP-DISABLED 
hostapd_free_hapd_data: Interface wlan0 wasn't started
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
#

  If I downgrade the hostapd package to the jessie version
(1:2.3-1+deb8u4), then it works perfectly:
# apt-get install --reinstall hostapd/jessie
[...]
Les paquets suivants seront mis à une VERSION INFÉRIEURE :
  hostapd
0 mis à jour, 0 nouvellement installés, 1 remis à une version inférieure, 0 à enlever et 44 non mis à jour.
[...]
Préparation du dépaquetage de .../hostapd_1%3a2.3-1+deb8u4_amd64.deb ...
Dépaquetage de hostapd (1:2.3-1+deb8u4) sur (1:2.5-2+v2.4-3+b1) ...
Paramétrage de hostapd (1:2.3-1+deb8u4) ...
[...]
#  hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Using interface wlan0 with hwaddr f4:ec:38:c5:fd:94 and ssid "dino-wpa1"
Using interface wlan0_1 with hwaddr f4:ec:38:c5:fd:95 and ssid "dino"
Using interface wlan0_2 with hwaddr f4:ec:38:c5:fd:96 and ssid
"dino-guess"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED 
[.. and then authentifications from client...]

  So, it seems there is a major regression in the hostapd package.
Feel free to ask more information if required.

  Note that the unstable version works. So I will mark this bug as fixed
for the 1:2.6-3 version as soon as I get its number

  Regards
    Vincent

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'stable'), (200, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages hostapd depends on:
ii  libc6              2.24-9
ii  libnl-3-200        3.2.27-1
ii  libnl-genl-3-200   3.2.27-1
ii  libnl-route-3-200  3.2.27-1
ii  libssl1.0.0        1.0.2k-1~bpo8+1
ii  lsb-base           9.20161125

hostapd recommends no packages.

hostapd suggests no packages.

-- no debconf information


More information about the Pkg-wpa-devel mailing list