From chiraag.nataraj at gmail.com Thu Mar 29 00:49:53 2018 From: chiraag.nataraj at gmail.com (Chiraag Nataraj) Date: Wed, 28 Mar 2018 20:49:53 -0400 Subject: [pkg-wpa-devel] Bug#894316: iw dev interface scan ssid returns all SSIDs Message-ID: <152228459377.32628.4840751891202420330.reportbug@chiraag> Package: iw Version: 4.14-0.1 Severity: normal Dear Maintainer, I have started using systemd-networkd/resolved and wpa_supplicant to configure my wireless card automatically, and it works pretty well. However, given that they don't present much of an interactive interface (wpa_cli doesn't really count ;)), I thought I could use iw to figure out the details of a particular SSID (so I would know how to configure it in wpa_supplicant). Assuming I know the SSID, I expected that `iw dev wlp60s0 scan ssid Chiraag-VPN` would result in just the details for Chiraag-VPN. However, it turns out that iw returns the results for _all_ discovered networks, completely ignoring the `ssid` option. This seems to conflict with the behavior documented in `iw dev wlp60s0 scan help` and thus seems to be a bug. It also seems that this has been reported in Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=1300205) with no resolution. I'd be happy to help get to the bottom of this once and for all. With the introduction of systemd-networkd, it seems that systemd-networkd/resolved + wpa_supplicant + iw could make a great lightweight network management solution, and solving this bug could really help make iw actually useful for many of us. Sincerely, Chiraag -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.15.11-chiraag (SMP w/8 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages iw depends on: ii libc6 2.27-2 ii libnl-3-200 3.2.27-2 ii libnl-genl-3-200 3.2.27-2 Versions of packages iw recommends: ii crda 3.18-1 iw suggests no packages. -- no debconf information