Fwd: Provide better diagnostics for disabled WEP support in hostapd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Please see the improvement proposal I received in a bug report.

-- 
Cheers,
  Andrej

----- Original message -----
From: Vincent Danjean <vdanjean@xxxxxxxxxx>
To: Debian Bug Tracking System <submit@xxxxxxxxxxxxxxx>
Subject: Bug#1006366: hostapd: No WEP support by default anymore should be documented
Date: Thursday, 24 February 2022 11:52

Package: hostapd
Version: 2:2.10-2
Severity: normal

Hi,

Since 2.10, upstream does not enable CONFIG_WEP for default build
and Debian build does not change that.

This modification should be at least documented (in README.Debian
for example) or CONFIG_WEP should be re-enabled for Debian packages.

I had to dig into the source in order to understand why I got this
error messages:
# hostapd /etc/hostapd/hostapd.conf
Line 162: unknown configuration item 'wep_default_key'
Line 163: unknown configuration item 'wep_key0'
2 errors found in configuration file '/etc/hostapd/hostapd.conf'
Failed to set up interface with /etc/hostapd/hostapd.conf
Failed to initialize interface

wep_default_key and wep_key0 are still in the documentation.

A better fix (for upstream) would be to check again for
these configuration item at the end of the long test
for each conf item, and add a specific message such as
"hostapd not configurated with WEP support, configuration item 'wep_default_key' unavailable"

  Regards,
    Vincent

-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'oldstable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel, mipsel

Kernel: Linux 5.16.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages hostapd depends on:
ii  init-system-helpers  1.61
ii  libc6                2.33-5
ii  libnl-3-200          3.5.0-0.1
ii  libnl-genl-3-200     3.5.0-0.1
ii  libnl-route-3-200    3.5.0-0.1
ii  libssl1.1            1.1.1m-1
ii  lsb-base             11.1.0

hostapd recommends no packages.

hostapd suggests no packages.


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux