Search Linux Wireless

Re: iwlist scanning: how to exclude old scan results from output?

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

 



On Thu, 2020-05-28 at 12:48 -0400, Bruno Dantas wrote:
> > You should use 'iw' instead of 'iwlist', which does have options for
> > flushing the cache.
> 
> Thank you, Johannes.
> 
> I tried  iw  but it has the same issue (the "AndroidAP-bd" SSID is
> non-existent because my phone is physically turned off, 

Well, that _should_ work.

> but it shows up in the output):
> 
> $ sudo iw dev wlan0 scan flush
> ...
> 	TSF: 42037885 usec (0d, 00:00:42)
> 	freq: 2412
> 	beacon interval: 100 TUs
> 	capability: ESS Privacy ShortSlotTime (0x0411)
> 	signal: -31.00 dBm
> 	last seen: 11447 ms ago

Does it go away if you wait long enough for the "last seen" to go above
30 seconds (30000ms)? You should use "iw wlan0 scan dump" (no need for
sudo, and don't scan again) to check.

Because if not, then there's a bug in the references, and the entry is
just being kept alive by ... something. Did you previously connect to
it? Does it also happen if you never connect? Then I guess we'll need to
know what the kernel version is too. :)

johannes




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux