wifi-control-node
wifi-control-node copied to clipboard
Not Working (windows 8.1 / Raspbian)
WiFiControl.init({
debug: true
});
WiFiControl.scanForWiFi( function(err, response) {
if (err) res.send(err);
console.log(response);
});
always return 0 network found
iwlist is not supported. https://www.npmjs.com/package/iwlist does
oh wait, just fixed it minutes ago:
apt-get install network-manager
set managed=true in /etc/NetworkManager/NetworkManager.conf
/etc/init.d/network-manager restart
to verify use:
nmcli dev
if wlan0 says something else than unmanaged, it's fixed
Would it be possible that the network-manager, with the appropriate config, might fix the permissions issue in #23 ?