Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Systems without iwlist #36

Open
rubdos opened this issue Sep 14, 2019 · 2 comments
Open

Systems without iwlist #36

rubdos opened this issue Sep 14, 2019 · 2 comments

Comments

@rubdos
Copy link

rubdos commented Sep 14, 2019

I have a Linux system (SailfishOS 3.0, OpenSUSE based) that doesn't ship iwlist any more. It would be interesting to get rid of iwlist, since I read here and there that it's "seriously deprecated".

@schollz
Copy link
Owner

schollz commented Jan 21, 2020

What is the replacement to iwlist?

@rubdos
Copy link
Author

rubdos commented Jan 22, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants