Open rubdos opened 4 years ago
What is the replacement to iwlist
?
From that SE post, it seems like iw
is the replacement:
iwlist is seriously deprecated. Remove it from your system and never use it again. Do the same with iwconfig, iwspy. Those tools are ancient and were designed in an era where 802.11n didn't exist. Kernel developers maintain a ugly compatibility layer to still support wireless-tools, and this compatibility layer often lies.
Now install iw if not already done. The iw command you are looking for is
iw dev wlan0 scan ap-force.
This is a fairly recent addition. Not all drivers support this, but most should do.
I have a Linux system (SailfishOS 3.0, OpenSUSE based) that doesn't ship
iwlist
any more. It would be interesting to get rid ofiwlist
, since I read here and there that it's "seriously deprecated".