mauricesvay / node-wifiscanner

Scan surrounding WiFi access points with NodeJS
59 stars 80 forks source link

iwlist only shows complete results when run as root #2

Closed xkxx closed 11 years ago

xkxx commented 11 years ago

In Ubuntu 12.10, node scanner.js only lists the currently active wifi hotspot, while sudo node scanner.js gives a complete list. Under fedora 18 evoking iwlist only gives you permission denied.

We should add a note on Readme.md about this.

mauricesvay commented 11 years ago

iwlist output also highly depends on the wifi card driver.

Le 20 mars 2013 à 07:20, xkxx notifications@github.com a écrit :

In Ubuntu 12.10, node scanner.js only lists the currently active wifi hotspot, while sudo node scanner.js gives a complete list. Under fedora 18 evoking iwlist only gives you permission denied.

We should add a note on Readme.md about this.

— Reply to this email directly or view it on GitHub.

xkxx commented 11 years ago

Yes, that is true, but iwlist scan requiring root is almost universal on linux distros (I think?) which is the reason node-wireless too requires it. Better to keep this issue documented I guess.

mauricesvay commented 11 years ago

The README file has been updated.