Off-Topic > Off-Topic - Tiny Core Lounge
iwlist scan shows non-existent hotspot
GNUser:
I found that removing then reloading my wifi interface's kernel module clears the cache:
--- Code: ---$ sudo modprobe -r ath9k
$ sudo modprobe ath9k
$ sudo ifconfig wlan0 up
$ sudo iwlist wlan0 scanning last
wlan0 No scan results # nothing in cache, nice!
$ sudo iwlist wlan0 scanning
-> no cached hotspots in scan result :)
--- End code ---
It works, but it's a kludge. Does the above suggest where the cache might be hiding?
jazzbiker:
Hi, GNUser!
It may be internal kernel buffer (
GNUser:
Thanks, jazzbiker. Seems we're getting warmer.
Hopefully the kernel does not have one giant buffer for everything. There must be a sub-buffer with cached wifi scan results somewhere. I'll try grepping though /proc, but I suspect the buffer is binary and I'll get no hits.
jazzbiker:
Wow, You monster! You want to destroy our beloved TinyCore! Stop immediately!!!
GNUser:
Haha. TCL made me fearless. If the computer blows up in my face, a reboot magically fixes everything ;D
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version